(Solved) ERROR 500 - Internal Server Error!

Discussion in 'ISPConfig 3 Priority Support' started by ganewbie, May 26, 2015.

  1. ganewbie

    ganewbie Member HowtoForge Supporter

    Hello,
    I can open the GUI for ISPConfig3 no problem but after installing WHMCS cannot open the admin page and I am getting the below errors.
    /var/log/apache2
    var/log/suexec.log
    One thing I have done that is I have changed the server name after finishing off the setup of ISPconfig3, that may have caused this problem. Could not run the setup of ISPConfig3 again to make the RSA match the server name but never reach the step where I can recreate the SSL.
    Help please.
    Thanks,
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Have you checked apache2ctl -S if the vhost for ispconfig is still intact and not overridden?
     
  3. ganewbie

    ganewbie Member HowtoForge Supporter

    The output of apache2ctl -S shows the latest server name correctly but I see the following and I am not sure if it is an error or it is normal.
    One of my problems now is the ssl for ISPConfig3, how do I reconfigure it like what you do during setup? I tried update and new install but the script refuses to run since I have the latest version.
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The NameVirtualHost message is not a problem, it's normal :)
    To run the update again, you have to download the tar.gz package from http://www.ispconfig.org/files/file/2-ispconfig/
    Extract the package, go to install/ inside the extracted directory, then run php -q update.php
     
  5. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks for the quick response,
    But the update script never runs not sure why?
    Thanks,
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    which php
     
  7. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks again,
    I think I messed up something since
    And the browser shows php info as
    "PHP Version 5.5.9-1ubuntu4.9"
    Thanks,
     
    Last edited: May 27, 2015
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You have a locally compiled php that lacks mysql support. Run:

    mv /usr/local/bin/php /usr/local/bin/php_bak

    and try to update again.
     
  9. ganewbie

    ganewbie Member HowtoForge Supporter

     
  10. ganewbie

    ganewbie Member HowtoForge Supporter

    I am going through my notes and I think i was trying to install two versions of php and it did not work.
    Is there a way I can remove / uninstall all PHP and then start fresh install to the latest and that is it.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    I agree, the issue is most likely related to a failed php compile. Which Linux distribution do you use and what is the output of:

    which php

    now.
     
  12. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks again,
    which php
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats ok, so please try to use:

    /usr/bin/php update.php

    instead of

    php /usr/bin/php
     
  14. ganewbie

    ganewbie Member HowtoForge Supporter

    there is no php under /usr/bin
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to enter the install folder first before you run this command.
     
  16. ganewbie

    ganewbie Member HowtoForge Supporter

    My problem is I can cd to /usr/bin but cannot get to php although I see the folder.
     
  17. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    What till said is you have to go to the folder where you extracted ISPConfig. Let's say it is in /tmp/ispconfig3/
    Just go there
    Code:
    cd /tmp/ispconfig3/install/
    /usr/bin/php -q update.php
     
  18. ganewbie

    ganewbie Member HowtoForge Supporter

    Wow the two of you are amazing.
    Thanks a million.
     

Share This Page