This is a discussion on installing and starting apache.... within the Windows Web Servers forums, part of the Web Server and Related Forums category; I installed apache 2.x on windows xp. When I boot the machine the apache logo is noted on the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I installed apache 2.x on windows xp. When I boot the machine the
apache logo is noted on the right side of the task bar. When I start apache through the <start> menu ...a DOS window flashes and quickly disappears. I use the URL http://localhost and my browser reports an error message indicating apache is not serving web pages. Any help would be appreciated? RABMissouri |
|
|||
|
RAB wrote:
> I installed apache 2.x on windows xp. When I boot the machine the > apache logo is noted on the right side of the task bar. When I start > apache through the <start> menu ...a DOS window flashes and quickly > disappears. I use the URL http://localhost and my browser reports an > error message indicating apache is not serving web pages. Any help > would be appreciated? > > RABMissouri > That means there is a configuration problem with Apache. Open a command prompt and cd to the apache bin directory and then type "apache" without the quotes to see the error. |
|
|||
|
Jerry Baker wrote: > RAB wrote: > > I installed apache 2.x on windows xp. When I boot the machine the > > apache logo is noted on the right side of the task bar. When I start > > apache through the <start> menu ...a DOS window flashes and quickly > > disappears. I use the URL http://localhost and my browser reports an > > error message indicating apache is not serving web pages. Any help > > would be appreciated? > > > > RABMissouri > > > > That means there is a configuration problem with Apache. Open a command > prompt and cd to the apache bin directory and then type "apache" without > the quotes to see the error. After doing what you recommended I got a message at the path ...\bin "make:sock could not bind 127.0.0.1:8080 No listening sockets available. Shutting down." On my httpd.conf file I have the following: "Listen 127.0.0.1:8080" Thanks for your help! RABMissouri |
|
|||
|
Thanks for your help.
I went to the path you mentioned ..\bin and I got the following message: "make-sock: could not bind to the address 127.0.0.1:8080 no listening sockets available shutting down" I went to my httpd.conf and I have the following text: "# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 127.0.0.1:8080" I would appreciate any further help you could give me? Thanks, RABMissouri |
|
|||
|
RAB wrote:
> Thanks for your help. > > I went to the path you mentioned ..\bin and I got the following > message: "make-sock: could not bind to the address 127.0.0.1:8080 no > listening sockets available shutting down" That probably means something else is already running on that port. When you do CTRL+ALT+DEL and select the "Processes" tab of Task Manager, do you see Apache in the process list? |
|
|||
|
That means that port 8080 is already being used by another process.
Open the task manager and see if you have an instance of apache already running. When apache is running normally 2 instances of apahce.exe would be seen in the task manager and due to certain issues when apache is shutdown, only one of these process is killed and the other still has its hooks on the port configured. If there is no instance of apache running, use any port scanning software ( Advanced port scanner from www.radmin.com) to see if the port is open or being used. Also in your httpd.conf change LogLevel to debug to get a detailed error.log file. These should help you in troubleshooting the issue. |