Apache2 can't start

Discussion in 'General' started by PetrCZE, Jul 16, 2020.

  1. PetrCZE

    PetrCZE New Member

    Hello,
    my Apache2 can't start, I didn't made any changes before Apache starts bugging.

    Jul 16 12:41:04 apachectl[38643]: Wrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter cannot be accessed: (2)No such file or directory

    How can I restore these php starters?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Delete the vhost symlink of that site in the apache sites-enabled directory, restart apache, log in to ispconfig, edit the settings of that website, change a value, should not matter which one, e.g. enable ssi or cgi or increase quota value and press save button.
     
  3. PetrCZE

    PetrCZE New Member

    Ok, so I deleted everything exclude 000-apps, default, ispconfig configs, and now ISPConfig admin gets me error 500.

    If I ran /usr/local/ispconfig/server/server.sh terminal wrotes me "finished."

    How do I fix that?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look in the global apache error.log to find out why.
     
  5. PetrCZE

    PetrCZE New Member

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look at the apache suexec.log file.

    What did happen or what did you do before these issues started? Did you maybe run a chown or chmod recursively on the whole /var/www directory tree?
     
  7. PetrCZE

    PetrCZE New Member

    I only tryed reboot server and checked apache configs.

    I installed ISPConfig on this server one month ago and one month i didn't nothing.

    Suexec here https://hastebin.com/uhejaqidoc.md
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Try this:

    chown -R ispconfig:ispconfig /var/www/php-fcgi-scripts/ispconfig

    Then restart apache and check if you can access ISPConfig now.
     
  9. PetrCZE

    PetrCZE New Member

    Still getting error 500. :(
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

  11. PetrCZE

    PetrCZE New Member

    Amazing Till! Thanks! Have a great great day!
     

Share This Page