LINUX.ORG.RU

ошибка при запуске Apache2

 ,


0

2

не получается запустить апатч

=======================================================

root@csgopro ~ # systemctl enable apache2

apache2.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable apache2

root@csgopro ~ # systemctl start apache2

Job for apache2.service failed because the control process exited with error code. See «systemctl status apache2.service» and «journalctl -xe» for details.

=================================================================

=================================================================

root@csgopro ~ # journalctl -xe

May 12 23:52:28 csgopro.xyz apache2[8964]: Output of config test was:

May 12 23:52:28 csgopro.xyz apache2[8964]: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 8 of /etc/apache2/conf-e

May 12 23:52:28 csgopro.xyz apache2[8964]: Action 'configtest' failed.

May 12 23:52:28 csgopro.xyz apache2[8964]: The Apache error log may have more information.

May 12 23:52:28 csgopro.xyz systemd[1]: apache2.service: Control process exited, code=exited status=1

May 12 23:52:28 csgopro.xyz 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

--

-- Unit apache2.service has failed.

--

-- The result is failed.

May 12 23:52:28 csgopro.xyz systemd[1]: apache2.service: Unit entered failed state.

May 12 23:52:28 csgopro.xyz systemd[1]: apache2.service: Failed with result 'exit-code'.

May 12 23:52:28 csgopro.xyz sudo[8961]: pam_unix(sudo:session): session closed for user root

May 12 23:52:52 csgopro.xyz systemd[1]: Reloading.

May 12 23:52:52 csgopro.xyz systemd[1]: apt-daily.timer: Adding 1h 40min 9.803812s random time.

May 12 23:52:52 csgopro.xyz systemd[1]: Reloading.

May 12 23:52:52 csgopro.xyz systemd[1]: apt-daily.timer: Adding 3h 11min 37.314396s random time.

May 12 23:53:00 csgopro.xyz 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



Последнее исправление: cetjs2 (всего исправлений: 3)

Ответ на: комментарий от baium

Теперь ищи там:

Syntax error on line 8 of /etc/apache2/conf-e
Radjah ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.