Apache2 does not start

Support Wissensdatenbank

Du bist hier:

Initial situation

The following error message appears in the syslog:

May 23 19:58:27 hostname systemd[1]: apache2.service: cgroup is empty We found out that some configurations have not been deleted by Plesk generating the issue described.

 

The following error message appears during the Apache2 configuration test:

AH00112: Warning: DocumentRoot [/var/www/vhosts/web127.sr45.firestorm.ch/httpdocs/test] does not exist
AH00543: apache2: bad user name web127
Action 'configtest' failed.

 

Solution:

  1. Make a server backup including all configuration files
  2. cd /etc/apache2/plesk.conf.d
  3. apache2ctl configtest
  4. Notice the user which is displayed in the error message: “apache2: bad user name web127“.
  5. grep web127 -R
  6. Delete all files output by the ‘grep’ command.
  7. You can now rebuild all configuration files during the night as follows:
    # plesk repair web
War dieser Artikel hilfreich?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Brauchst du Hilfe?
Related Post