Apache installation on Windows 7

apacheapache-commonsApache2

I am a newbie with Apache. I am learning .. after the installation when I tried to start the service I got the following errors.

The Apache service named reported the following error:

Unable to open logs .

The Apache service named reported the following error:

no listening sockets available, shutting down .

The Apache service named reported the following error:

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 .

The Apache service named reported the following error:

httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.6 for ServerName .

Best Answer

The following error usually means that some other program is listening on the HTTP port (80).

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 .

In my experience, IM (chat) clients like to connect to port 80.

From a command prompt, (cmd.exe) run the command:

netstat -an

See if there is a listener on port 80 (Look for a line that says:

   TCP    0.0.0.0:80           0.0.0.0:0              LISTENING
   ===           ====

the important thing being TCP and 80. If you find something, you'll need to track it down using something like TcpView