WAMP server is one of the popular web development environment which allow to run web applications over Apache2 server with the support of PHP scripting and MySQL database. Many of us facing an annoying problem after installing the WAMP Server. The WAMP server not started soon after installation on development machine. WAMP server turn on indicator di d not turn to green when click on the WAMP server icon on the desktop. The quick launch tray shows the WAMP server icon in orange color instead of green. Even after clicking on the Menu ->Start All Services, WAMP server not started and the system tray icon remains orange.
WAMP Server not started after installation:
It is noticed that there will be no error message/pop up displayed on the screen which notify the user that some error has occurred at the application startup. A thet high level it becomes difficult to locate the problem what exactly happened. In this article you will learn how to solve this problem by troubleshooting it by step by step which make WAMP server up and running on your computer.
Identify the problem:
As you are already aware, WAMP server collectively install Apache2, PHP and MySql database. Since WAMP server integrated these applications, it cannot directly handle/display errors which is associated with these applications. Further it is important to identify what could be the reason for which WAMP server did not started and out of these three applications, which one is broken. At the high level investigation, check for the application event log on Event Viewer is one of the great diagnostics tool from Windows. Here is the Event Viewer top level log detail which show the error logs when WAMP server failed to start.
By looking at the Event Viewer logs, you can easily locate the application which is causing the problem. In the above logs, you can see Apache Service reported some error when WAMP server trying to start or initialize the Apache service.
Now we have identified that WAMP server failed to start Apache2 service due some error occurred at the time of initialization. For further analysis, lets run the Apache server independently in console mode using windows command prompt and see what happens. Follow the below steps;
1. Start the Windows Command Prompt console.
2. Navigate to WAMP server installation folder. E.g. C:\Wamp\bin\apache\apache2.4.9\bin
3. Execute the httpd.exe. After executing the httpd.exe application, the console redirected error as below.
The error observed is:
AH00072: make_sock: could not bind to address 0.0.0.0.80
AH00451: no listening sockets available, shouting down
AH00015: Unable to open logs
You can notice that, the error code/message appeared in console is same as Event Viewer log. As per the above error #AH00072, the Apache server function make_socket is unable to bind to the IP address 0.0.0.0.0 and port 80. This is because, the port 80 is being used by one of the application process which is currently running on the same computer. Hence error #AH00451 occurred as there is no listening sockets are available. Hence Apache application could not started. The listening socket is configured in httpd.conf which is located in C:\Wamp\bin\apache\apache2.4.9\conf\httpd.conf.
Now, the root cause for the problem has been identified and the question still remains that, which application process is using port 80. To find the port assignment details, run the netstat command on the command prompt. the command netstat display the protocol statistics and current TCP/IP network connections. After executing the netstat command, you can easily identify port #80 is used by Skype process (PID 4868) as below.
Follow the below steps to solve WAMP Server not started after installation problem by releasing the default assigned port 80 from the Skype.
Software engineer by profession, founder of troubleshottyourself channel and enthusiastic blogger. Love to write articles on new technology, programming,