Starting web server apache2
(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 10.0.1.43:8069
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
答案1
就像错误消息中说的“ (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 10.0.1.43:8069 no listening sockets available, shutting down
”。其他某个进程已分配您尝试让 Apache 使用的套接字(可能是先前尝试启动 Apache)。
使用以下命令找出哪个进程打开了 TCP 端口 8069:
sudo lsof -i :8069