小编ste*_*and的帖子

service httpd restart / (98)地址已被使用

突然之间,我无法在 CentOS 6.8 Web 服务器上重新启动 apache:

# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:7080
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:7080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
Run Code Online (Sandbox Code Playgroud)

我尝试了很多我在网上阅读的内容,包括删除锁定文件。

我决定尝试重新启动服务器。重新启动后,尝试加载任何托管网站将导致“502 Bad Gateway”。

# service httpd status
httpd is stopped

# service httpd start
Starting httpd:                                            [  OK  ]

# service httpd status
httpd dead but subsys locked
Run Code Online (Sandbox Code Playgroud)

尽管处于“死亡”状态,但我现在可以加载网站了! …

centos6 apache-2.2

12
推荐指数
2
解决办法
1241
查看次数

标签 统计

apache-2.2 ×1

centos6 ×1