作者:多米音乐_34249295 | 来源:互联网 | 2014-05-28 10:53
晚上打开Apache时发现怎么都起不来了。根据错误提示勾勾了一下,找到了答案。原因是对的,但具体到我的机器上,也不是一模一样的,后来还是自己解决了。贴一下人家的分析吧。Theapachedoesnotstartonmysystem!!!/Thisproblemcanbeseveralreason
晚上打开Apache时发现怎么都起不来了。根据错误提示勾勾了一下,找到了答案。原因是对的,但具体到我的机器上,也不是一模一样的,后来还是自己解决了。
贴一下人家的分析吧。
The apache does not start on my system!!!/>This problem can
be several reasons.
(1) You have started more then one HTTP Server (IIS, Sambar, ZEUS
and so on). Only one Server can occupy port 80. So you must
terminate one http server, before you start the Apache. Some error
messages like this show the problem:
"(OS 10048)... make_sock: could not bind to adress 0.0.0.0:85
no listening sockets available, shutting down"
"(OS 10038)Socket operation on non-socket: make
_sock: for address 0.0.0.0:443, apr_socket_opt_set:
(SO_KEEPALIVE)
no listening sockets available, shutting down"
(2) You have Windows 95 with an outdated winsocks or your winsocks
is damage. At least the Apache needs winsocks 2. Please download
the current winsocks by www.microsoft.com.
(3) Sometimes the Winsock2 information has been corrupted by poorly
written Internet programs (worms, virus). A Winsock2 Fix written by Tom Kynch can solve this problem
(only 95,98,ME).
(4) It runs a firewall, which blocks the Apache port. In this case,
some pictures or Javascripts cannot load via http://. Sometimes,
you must deinstall your firewall completly to fix this problem.
(5) You have XP professional without Service Pack 1. In this case
the installation of SP1 is recommended urgently.
(6) You have a Virus Scan from McAffee. Sometimes it makes
problems. Deactivate here McAffee for testing of XAMPP.
(7) You have other software, such as the Internet Telephone "SKYPE"
which also blocks the port 80. (thanks Peter! ) However, one can
change the SKYPE port: Actions -- > Options --> Connection.
Here remove the check mark at "Port 80" for an alternate port.
Restart Skype and also it should work. (thank Monty! )
根据上面的提示,我看了一下,迅雷、Idle这两个玩意占用端口了,所以我把Apache的listen改成8了,呵呵这回好了,这么个性的设置总没人跟我抢了吧!