小编use*_*920的帖子

尝试重新启动 Apache 时出现“无法打开日志”错误

当我尝试启动 apache 时出现以下错误

root@server11362:~# sudo /etc/init.d/apache2 restart

Restarting web server apache2 (98)Address already in use: 
   make_sock: could not bind to address 111.90.150.93:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information. 
Run Code Online (Sandbox Code Playgroud)

事实上,apache 日志不包含更多信息。

netstat -tulpn 返回以下内容

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1098/mysqld     
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      1414/redis-server
tcp        0      0 …
Run Code Online (Sandbox Code Playgroud)

networking apache2 log

6
推荐指数
1
解决办法
6万
查看次数

标签 统计

apache2 ×1

log ×1

networking ×1