Apache2 failed
これ、どうすれば直るでしょうか?
どうか、ご回答願います。
# systemctl restart 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@GN164:/var# systemctl restart 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@GN164:/var# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Tue 2020-08-25 08:05:56 JST; 2min>
Docs: https://httpd.apache.org/docs/2.4/
Process: 6775 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FA>
8月 25 08:05:56 GN164 systemd[1]: Starting The Apache HTTP Server...
8月 25 08:05:56 GN164 apachectl[6783]: AH00526: Syntax error on line 13 of /et>
8月 25 08:05:56 GN164 apachectl[6783]: <VirtualHost> cannot occur within <Virt>
8月 25 08:05:56 GN164 apachectl[6775]: Action 'start' failed.
8月 25 08:05:56 GN164 apachectl[6775]: The Apache error log may have more info>
8月 25 08:05:56 GN164 systemd[1]: apache2.service: Control process exited, cod>
8月 25 08:05:56 GN164 systemd[1]: apache2.service: Failed with result 'exit-co>
8月 25 08:05:56 GN164 systemd[1]: Failed to start The Apache HTTP Server.
[1]+ 停止 systemctl status apache2.service
root@GN164:/var# journalctl -xe
8月 25 08:05:56 GN164 apachectl[6775]: The Apache error log may have more info>
8月 25 08:05:56 GN164 systemd[1]: apache2.service: Control process exited, cod>
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
8月 25 08:05:56 GN164 systemd[1]: apache2.service: Failed with result 'exit-co>
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-co>
8月 25 08:05:56 GN164 systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: A start job for unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit apache2.service has finished with a failure.
--
-- The job identifier is 2046 and the job result is failed.
lines 1313-1335/1335 (END)
お礼
ご回答誠にありがとうございます。