LINUX.ORG.RU

Apache2, ubuntu 16.04

 ,


0

1

Здравствуйте! Если я поменяю любые настройки виртуального хоста (DocumentRoot например) то при перезапуску апача выдает ошибку. Как исправить ?

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
root@vpsyyoAk:/home/www/project/test# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Thu 2018-05-24 02:52:56 EDT; 8min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1940 ExecStop=/etc/init.d/apache2 stop (code=exited, status=219/CGROUP)
  Process: 1941 ExecStart=/etc/init.d/apache2 start (code=exited, status=219/CGROUP)

May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Control process exited, code=exited status=219
May 24 02:52:56 vpsyyoAk systemd[1]: Stopped LSB: Apache2 web server.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Unit entered failed state.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Failed with result 'exit-code'.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Failed to create cgroup /system.slice/apache2.service: No such file or directory
May 24 02:52:56 vpsyyoAk systemd[1]: Starting LSB: Apache2 web server...
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Control process exited, code=exited status=219
May 24 02:52:56 vpsyyoAk systemd[1]: Failed to start LSB: Apache2 web server.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Unit entered failed state.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Failed with result 'exit-code'.
root@vpsyyoAk:/home/www/project/test# journalctl -xe
-- Subject: Process /etc/init.d/apache2 could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /etc/init.d/apache2 could not be executed and failed.
-- 
-- The error number returned by this process is 2.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Control process exited, code=exited status=219
May 24 02:52:56 vpsyyoAk systemd[1]: Stopped LSB: Apache2 web server.
-- Subject: Unit apache2.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has finished shutting down.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Unit entered failed state.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Failed with result 'exit-code'.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Failed to create cgroup /system.slice/apache2.service: No such file or directory
May 24 02:52:56 vpsyyoAk systemd[1]: Starting LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has begun starting up.
May 24 02:52:56 vpsyyoAk systemd[1941]: apache2.service: Failed at step CGROUP spawning /etc/init.d/apache2: No such file or directory
-- Subject: Process /etc/init.d/apache2 could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /etc/init.d/apache2 could not be executed and failed.
-- 
-- The error number returned by this process is 2.
May 24 02:52:56 vpsyyoAk systemd[1]: apache2.service: Control process exited, code=exited status=219
May 24 02:52:56 vpsyyoAk systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 

OS:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 16.04.1 LTS
  • Release: 16.04
  • Codename: xenial

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.