SOAP Error: Internal Server Error

Discussion in 'ISPConfig 3 Priority Support' started by francoisPE, Dec 13, 2021.

  1. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Hello,
    trying to run a script that was working previously, I have that issue : SOAP Error: Internal Server Error
    I have ispc3.2.7p1 on all my servers
    I crosscheck my password

    where can I find log regarding SOAP access ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not an issue with SOAP access, internal server error means that there is an issue with your script or your PHP installation (like a missing PHP module) Check the error.log of your web server and the error.log of the website that you ran that script in to find out why it fails now.
     
  3. francoisPE

    francoisPE Active Member HowtoForge Supporter

    That is a php script I run as root attached to no website.
    I ensure to have php-cli writting error.log It does : php -r "error_log('This is an error test that we hope works.');" is written in my error.log file
    In /var/log/apache2, I found nothing related to a 500 error...
    Finally, I find a error on my ispc web server :
    [Tue Dec 14 19:57:45.408291 2021] [fcgid:warn] [pid 180299:tid 140414015203072] [client x.x.x.x:47858] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare remoting_dns::dns_ds_get() in /usr/local/ispconfig/interface/lib/classes/remote.d/dns.inc.php on line 877

    On this server I have a concern with my LE cert I am discussing in that forum :
    https://www.howtoforge.com/communit...nection-to-port-25-failure.88065/#post-430023
    it is still unsolved !
     
    Last edited: Dec 14, 2021
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the result of:

    ls -la /usr/local/ispconfig/interface/lib/classes/remote.d/
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I just had a quick look at the ISPConfig code, the file that ships with ISPConfig has 851 lines, you have a PHP error in line 877, so you must have altered the ISPconfig code on your server and the code you added contains an error, the function dns_ds_get() exists twice in your code.
     
  6. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Ok
    You validate my PR ...
    I copy back dns.inc.php_bak
    Thanks a lot for your help :)
     

Share This Page