problem to start wamp server

error log is

[Sat Nov 12 22:01:00 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Sat Nov 12 22:01:00 2011] [notice] Server built: Oct 18 2010 01:58:12
[Sat Nov 12 22:01:00 2011] [notice] Parent: Created child process 3228
[Sat Nov 12 22:01:01 2011] [notice] Child 3228: Child process is running
[Sat Nov 12 22:01:01 2011] [crit] (OS 10022)An invalid argument was supplied.  : Child 3228: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Nov 12 22:01:01 2011] [crit] Parent: child process exited with status 3 -- Aborting.
link|improve this question
I don't really know much about the error logs but, is this a fresh install or have you been changing any of Apache's settings? If so what have you changed? If it is a fresh install do you have any other programs (Such as Skype) that would be listening on port 80? – Sour Lemon Nov 12 '11 at 16:58
its fresh install and 80 port is open and also free – jayesh Nov 12 '11 at 17:01
What OS are you trying to run Apache on? I ask because my only other advise would apply to XP SP2. – Sour Lemon Nov 12 '11 at 17:15
window xp services pack 2 – jayesh Nov 12 '11 at 17:19
Ok, I posted my final suggestion as an answer - Hopefully it's what you're looking for. – Sour Lemon Nov 12 '11 at 17:23
feedback

migrated from stackoverflow.com Nov 13 '11 at 0:23

This question came from our site for professional and enthusiast programmers.

3 Answers

Try uninstalling any anti-virus and/or firewall software you have then restart Windows and try to start WAMP again. If it works try a different AV and/or firewall software combination until everything plays nice together.

From this Bugzilla entry it appears certain AV and firewall software can cause this issue on XP SP2, no mention of which ones though.

https://issues.apache.org/bugzilla/show_bug.cgi?id=31765#c14

link|improve this answer
feedback

You might need to try and change an LMHOSTS Lookup setting.

Try the following:

  • Open up control panel and go to network connections
  • Right click your local area connection and then go to properties
  • Double click on Internet Protocol (TCP/IP)
  • Click the advanced button in the General tab
  • Go to the WINS tab and uncheck "Enable LMHOSTS Lookup"

Hopefully that should do it for you. If not then I'm afraid I don't have any other suggestions.

link|improve this answer
i try with this solution but its not able to solve my problem its give same error – jayesh Nov 12 '11 at 17:51
@jayesh That is unfortunate - Perhaps someone with some more knowledge of apache server and wamp will be able to give you the correct solution. I'm sorry I can't be of any more help. – Sour Lemon Nov 12 '11 at 17:53
its ok thanks for your reply – jayesh Nov 12 '11 at 17:56
feedback

If it is not the LMHOSTS Lookup issue then there is likely something already running on the port on which Apache is trying to listen. Open a command prompt, run netstat -an and look for listening processes. Compare the port(s) listed with the Listen ports in your Apache conf.

link|improve this answer
On windows, use the command : NETSTAT.exe -an | FINDSTR.exe "LISTENING" – djangofan Jan 17 at 20:36
Or the simpler netstat -an | find "LISTENING" – Dave Forgac Jan 26 at 13:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.