在安装openstack的过程中apache竟然起不来了

 

在安装openstack的过程中apache竟然起不来了

 

systemctl status httpd.service                查看apache状态
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2019-08-09 13:20:18 CST; 24s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 19606 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 19604 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 19604 (code=exited, status=1/FAILURE)

Starting The Apache HTTP Server...
Aug 09 13:20:18 vlin121.ywz.com httpd[19604]: AH00526: Syntax error on line 4 of /etc/httpd/conf.d/wsgi-keystone.conf:
Aug 09 13:20:18 vlin121.ywz.com httpd[19604]: Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration                             看这里 竟然说没由模块
Aug 09 13:20:18 vlin121.ywz.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 09 13:20:18 vlin121.ywz.com kill[19606]: kill: cannot find process ""
Aug 09 13:20:18 vlin121.ywz.com systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 09 13:20:18 vlin121.ywz.com systemd[1]: Failed to start The Apache HTTP Server.
Aug 09 13:20:18 vlin121.ywz.com systemd[1]: Unit httpd.service entered failed state.
Aug 09 13:20:18 vlin121.ywz.com systemd[1]: httpd.service failed.

 

 

于是我又检查了一遍

打开这个文件 然而并未发现错误

vim /etc/httpd/conf.d/wsgi-keystone.conf
 

 yum install openstack-keystone httpd mod_wsgi

于是我又安装一遍

再次重启好了

 

ss -anplt
State       Recv-Q Send-Q          Local Address:Port                         Peer Address:Port              
LISTEN      0      100                 127.0.0.1:25                                      *:*                   
users:(("master",pid=1567,fd=13))LISTEN      0      128                         *:22                                      *:*                   
users:(("sshd",pid=1222,fd=3))LISTEN      0      100                       ::1:25                                     :::*                   
users:(("master",pid=1567,fd=14))LISTEN      0      128                        :::5000                                   :::*                   
users:(("httpd",pid=20052,fd=6),("httpd",pid=20051,fd=6),("httpd",pid=20050,fd=6),("httpd",pid=20049,fd=6),("httpd",pid=20048,fd=6),("httpd",pid=20042,fd=6))LISTEN      0      80                         :::3306                                   :::*                   
users:(("mysqld",pid=15663,fd=28))LISTEN      0      128                        :::80                                     :::*                   
users:(("httpd",pid=20052,fd=4),("httpd",pid=20051,fd=4),("httpd",pid=20050,fd=4),("httpd",pid=20049,fd=4),("httpd",pid=20048,fd=4),("httpd",pid=20042,fd=4))LISTEN      0      128                        :::22                                     :::*                   
users:(("sshd",pid=1222,fd=4))

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值