我有一个虚拟服务器。直到昨天一切工作正常。 今天,我的Hostcompany重新启动了我的服务器以配置I/O上的某些内容。启动Web服务器apache2失败
当我试图让我的地址,我得到
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
我试图sudo service apache2 start
和得到这些错误信息:
* Starting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
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
是否有人知道我怎么能解决这个问题?
nginx是否在同一主机上运行?它正在监听端口80而不是Apache。 – Cheery 2014-11-20 20:07:26
如何验证nginx是否正在运行?我从来没有安装过它:/ – 2014-11-20 20:57:57
尝试'/ usr/bin/nginx -s stop'或'找到nginx'来查找它是否已安装。它可能只是主机端的前端。但很明显的东西已在侦听端口80 – Cheery 2014-11-20 21:02:20