Chinaunix

标题: linux httpd无法启动 [打印本页]

作者: yyweng    时间: 2018-09-01 23:34
标题: linux httpd无法启动
系统:CENTOS 7.0 ,SELINUX和防火墙都已经关闭,SYSTEMCTL START HTTPD报如下错误:
Job for httpd.service failed because the control proc[root@localhost conf]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since 六 2018-09-01 23:14:55 CST; 19min ago
     Docs: man:httpd(
           man:apachectl(
  Process: 14878 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 14876 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 14876 (code=exited, status=1/FAILURE)

9月 01 23:14:55 localhost.localdomain httpd[14876]: (9Address already in use: AH00072: m...43
9月 01 23:14:55 localhost.localdomain httpd[14876]: (9Address already in use: AH00072: m...43
9月 01 23:14:55 localhost.localdomain httpd[14876]: no listening sockets available, shutti...wn
9月 01 23:14:55 localhost.localdomain httpd[14876]: AH00015: Unable to open logs
9月 01 23:14:55 localhost.localdomain systemd[1]: httpd.service: main process exited, code...RE
9月 01 23:14:55 localhost.localdomain kill[14878]: kill: cannot find process ""
9月 01 23:14:55 localhost.localdomain systemd[1]: httpd.service: control process exited, c...=1
9月 01 23:14:55 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
9月 01 23:14:55 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
9月 01 23:14:55 localhost.localdomain systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
ess exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
请问是什么原因?



作者: yyu0378    时间: 2018-09-04 13:53
配置文件有问题也会导致服务启动失败
一下提示的问题你线解决一下
9月 01 23:14:55 localhost.localdomain httpd[14876]: no listening sockets available, shutti...wn
9月 01 23:14:55 localhost.localdomain httpd[14876]: AH00015: Unable to open logs
作者: shang2010    时间: 2018-09-05 08:17
遇到问题应该重启电脑,不是先上论坛




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2