linux启动apache提示xe,CentOS上启动Apache报错

系统版本为 CentOS 7,启动Apache报错

bVbiHZP?w=1064&h=347

[root@localhost wiki]# service httpd start

Redirecting to /bin/systemctl start httpd.service

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

[root@localhost wiki]# 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-10-26 11:32:58 CST; 11s ago

Docs: man:httpd(8)

man:apachectl(8)

Process: 43586 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)

Process: 43584 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)

Main PID: 43584 (code=exited, status=1/FAILURE)

10月 26 11:32:58 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...

10月 26 11:32:58 localhost.localdomain httpd[43584]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443

10月 26 11:32:58 localhost.localdomain httpd[43584]: no listening sockets available, shutting down

10月 26 11:32:58 localhost.localdomain httpd[43584]: AH00015: Unable to open logs

10月 26 11:32:58 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE

10月 26 11:32:58 localhost.localdomain kill[43586]: kill: cannot find process ""

10月 26 11:32:58 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1

10月 26 11:32:58 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.

10月 26 11:32:58 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.

10月 26 11:32:58 localhost.localdomain systemd[1]: httpd.service failed.

从网上查到的说法是端口被占用,解决办法是找到被占用的这个端口然后kill掉对应的进程,然后再重启httpd。但这个方法对我没有用,因为该服务器上之前就部署过禅道和SVN,而我查了该端口对应的应用程序就是Nginx,我没法kill它对应的进程,那在这个情况下,该怎么做呢?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值