installing and starting apache....

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2004
RAB
 
Posts: n/a
Default installing and starting apache....

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

  #2 (permalink)  
Old 12-13-2004
Jerry Baker
 
Posts: n/a
Default Re: installing and starting apache....

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.
  #3 (permalink)  
Old 12-15-2004
RAB
 
Posts: n/a
Default Re: installing and starting apache....


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

  #4 (permalink)  
Old 12-15-2004
RAB
 
Posts: n/a
Default Re: installing and starting apache....

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

  #5 (permalink)  
Old 12-15-2004
Jerry Baker
 
Posts: n/a
Default Re: installing and starting apache....

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?
  #6 (permalink)  
Old 12-15-2004
whitehawk
 
Posts: n/a
Default Re: installing and starting apache....

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.

  #7 (permalink)  
Old 12-16-2004
RAB
 
Posts: n/a
Default Re: installing and starting apache....

Yes, I see two instances of apache running "apache.exe"

RABMissouri

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0