当我尝试启动 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)