无法启动 Apache HTTP 服务器。20.0

无法启动 Apache HTTP 服务器。20.0

当我尝试启动 Apache 服务器时,收到以下消息:

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

调用journalctl -xe返回:

Oct 02 10:01:00 mysite.com systemd[1]: Started User Manager for UID 1000.
Subject: A start job for unit [email protected] has finished successfully
Defined-By: systemd
Support: http://www.ubuntu.com/support

A start job for unit [email protected] has finished successfully.

The job identifier is 6994.

Oct 02 10:01:00 mysite.com systemd[1]: Started Session 66 of user admin.
Subject: A start job for unit session-66.scope has finished successfully
Defined-By: systemd 
Support: http://www.ubuntu.com/support

A start job for unit session-66.scope has finished successfully.
The job identifier is 7083.

Oct 02 10:01:48 mysite.com sudo[11130]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/nano /etc/apache2/sites-enabled/000-default.conf
Oct 02 10:01:48 mysite.com sudo[11130]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Oct 02 10:03:01 mysite.com sudo[11135]:  admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/nano /etc/apache2/sites-enabled/mysite.com
Oct 02 10:03:01 mysite.com sudo[11135]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Oct 02 10:03:06 mysite.com sudo[11138]:  admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/nano /etc/apache2/sites-enabled/mysite.com.conf
Oct 02 10:03:06 mysite.com sudo[11138]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Oct 02 10:03:50 mysite.com sudo[11145]:  admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/systemctl start apache2
Oct 02 10:03:50 mysite.com sudo[11145]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Oct 02 10:03:50 mysite.com systemd[1]: Starting The Apache HTTP Server...
Subject: A start job for unit apache2.service has begun execution  Defined-By: systemd
Support: http://www.ubuntu.com/support

A start job for unit apache2.service has begun execution. The job identifier is 7173.

Oct 02 10:03:50 mysite.com apachectl[11156]: AH00112: Warning: DocumentRoot [/html/www/html] does not exist
Oct 02 10:03:50 mysite.com apachectl[11156]: (98) Address already in use: AH00072: make_sock: could not bind to address [::]:80
Oct 02 10:03:50 mysite.com apachectl[11156]: (98)Address already in use: AH00072: make_sock: could not bind to address
0.0.0.0:80
Oct 02 10:03:50 mysite.com apachectl[11156]: no listening sockets available, shutting down
Oct 02 10:03:50 mysite.com apachectl[11156]: AH00015: Unable to open logs
Oct 02 10:03:50 mysite.com apachectl[11148]: Action 'start' failed. Oct 02 10:03:50 mysite.com apachectl[11148]: The Apache error log may have more information.
Oct 02 10:03:50 mysite.com systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
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.
Oct 02 10:03:50 mysite.com systemd[1]: apache2.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: http://www.ubuntu.com/support

The unit apache2.service has entered the 'failed' state with result 'exit-code'.

Oct 02 10:03:50 mysite.com 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 7173 and the job result is failed.

Oct 02 10:03:50 mysite.com sudo[11145]: pam_unix(sudo:session): session closed for user root

有人有建议吗?

相关内容