Bluehost.com Web Hosting $6.95

New to Apache and still having problems

This is a discussion on New to Apache and still having problems within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi everyone, I've got Apache installed on my Windows XP Pro box. This computer is behind a hub and ...


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 09-11-2004
Jeremy Boyd
 
Posts: n/a
Default New to Apache and still having problems

Hi everyone,

I've got Apache installed on my Windows XP Pro box. This computer is behind
a hub and DSL modem, with the internal IP 192.168.0.2. My "Listen" line is
set to "Listen 80" and ServerName is set to "192.168.0.2" (I only want to
use this installation for internal testing purposes). As far as I can tell
IIS is NOT running on my box, and I've got no other software that I know is
listening to port 80. Windows Firewall is off.

Still, when I ask Apache to start, I get the following message in my DOS
prompt:

(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
no listening sockets available, shutting down
Unable to open logs

Then it counts down from 20 and shuts down.

I cannot understand what the problem here is. There's nothing in the error
log except your normal "starting up" and "shutting down" type messages.

Potential issue: my network hub runs a virtual server, and I've got all
external port 80 request pointed toward my computer. I don't know if that
affects things, but it's the way things are.

Any help would be greatly appreciated.

Thanks,
Jeremy Boyd


  #2 (permalink)  
Old 09-15-2004
Jeremy Boyd
 
Posts: n/a
Default Re: New to Apache and still having problems

Well, despite all the <sarcasm>help</sarcasm> I got on this problem, I still
couldn't get it to work. I'd tried everything I could, changing ServerName
and Listen and the whole shebang.

So I went searching elsewhere. I found a site that indicated that the
"Unable to open logs" line probably means Apache is already running. Looked
in the Processes and I didn't see any copies of it, but I did a reboot
anyway. Voila! Apache started.

But I had to edit the httpd.conf file to set up PHP, so I needed to reboot
it. No luck. From the cmd prompt "apache -k restart" gave me an error (no
Apache2 service). So I did some more looking (elsewhere, as my post has been
up for days with no help forthcoming)...

Turns out that sometimes Apache 2.0.50 has problems with the install on
Windows XP and the Apache2 service doesn't install. The solution to this
that I found is to absolutely kill Apache by whatever means possible (kill
the processes, reboot, whatever) and then go to your Apache directory's bin
directory and type the following:

apache -k install -n "Apache2"

Works like a charm now.

Hope that helps someone some day.

Now, if I can only get MySQL to see the test.user table...


"Jeremy Boyd" <dramadian@hotmail.com> wrote in message
news:B0F0d.18441$lr7.11757@newssvr24.news.prodigy. com...
> Hi everyone,
>
> I've got Apache installed on my Windows XP Pro box. This computer is
> behind a hub and DSL modem, with the internal IP 192.168.0.2. My "Listen"
> line is set to "Listen 80" and ServerName is set to "192.168.0.2" (I only
> want to use this installation for internal testing purposes). As far as I
> can tell IIS is NOT running on my box, and I've got no other software that
> I know is listening to port 80. Windows Firewall is off.
>
> Still, when I ask Apache to start, I get the following message in my DOS
> prompt:
>
> (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
> no listening sockets available, shutting down
> Unable to open logs
>
> Then it counts down from 20 and shuts down.
>
> I cannot understand what the problem here is. There's nothing in the error
> log except your normal "starting up" and "shutting down" type messages.
>
> Potential issue: my network hub runs a virtual server, and I've got all
> external port 80 request pointed toward my computer. I don't know if that
> affects things, but it's the way things are.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Jeremy Boyd
>



 
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 10:14 PM.


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