Installation on Windows XP

Installation on Windows XP

am 29.08.2007 07:33:53 von missionary12000

Hello,
I have installed apache 2.2 on Windows XP but when I try to load
it I have problems. I have setup Windows firewall to let port 80 to be
an exception and the router seems to be working fine. I installed tomcat
and the router lets it work on http://192.168.1.3:8080. I go under
Administration->Services and apache2 is installed as a service and has
started automatically. The httpd.conf file is setup with it Listen 80
and ServerName is localhost. Everything else is as is from the
installation. I have tried using Listen 192.168.1.3:80 and ServerName
station1 which is my computer's name in different combinations.
I start firefox and can get tomcat's main page to load at
http://192.168.1.3:8080 but http://192.168.1.3, http://127.0.0.1, and
http://localhost doesn't work for apache httpd.
From here does anybody have any suggestions? I tried starting
httpd from a console and got an error: 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. That is the same error in
the error log.

Thank You,
Micah

P.S. Microsoft IIS is not installed.

Re: Installation on Windows XP

am 29.08.2007 08:06:48 von David McKenzie

Micah J. Kimbrough wrote:
> Hello,
> I have installed apache 2.2 on Windows XP but when I try to load it
> I have problems. I have setup Windows firewall to let port 80 to be an
> exception and the router seems to be working fine. I installed tomcat
> and the router lets it work on http://192.168.1.3:8080. I go under
> Administration->Services and apache2 is installed as a service and has
> started automatically. The httpd.conf file is setup with it Listen 80
> and ServerName is localhost. Everything else is as is from the
> installation. I have tried using Listen 192.168.1.3:80 and ServerName
> station1 which is my computer's name in different combinations.
> I start firefox and can get tomcat's main page to load at
> http://192.168.1.3:8080 but http://192.168.1.3, http://127.0.0.1, and
> http://localhost doesn't work for apache httpd.
> From here does anybody have any suggestions? I tried starting httpd
> from a console and got an error: 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. That is the same error in the error log.
>
> Thank You,
> Micah
>
> P.S. Microsoft IIS is not installed.
Looks like you don't have the IP address set in your httpd.conf file.

--
DM davidm@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill

Re: Installation on Windows XP

am 29.08.2007 12:29:04 von phantom

"Micah J. Kimbrough" wrote in message
news:13da1a0hll1iv01@corp.supernews.com...
> Hello,
> I have installed apache 2.2 on Windows XP but when I try to load it I
> have problems. I have setup Windows firewall to let port 80 to be an
> exception and the router seems to be working fine. I installed tomcat and
> the router lets it work on http://192.168.1.3:8080. I go under
> Administration->Services and apache2 is installed as a service and has
> started automatically. The httpd.conf file is setup with it Listen 80 and
> ServerName is localhost. Everything else is as is from the installation. I
> have tried using Listen 192.168.1.3:80 and ServerName station1 which is my
> computer's name in different combinations.
> I start firefox and can get tomcat's main page to load at
> http://192.168.1.3:8080 but http://192.168.1.3, http://127.0.0.1, and
> http://localhost doesn't work for apache httpd.
> From here does anybody have any suggestions? I tried starting httpd
> from a console and got an error: 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. That is the same error in the error log.
>
> Thank You,
> Micah
>
> P.S. Microsoft IIS is not installed.

[here's a long shot]
How about Skype? (this steals port 80 by default)

if you do a 'netstat -a -p' you should be able to find out what is using
port 80.

Re: Installation on Windows XP

am 29.08.2007 14:15:22 von missionary12000

Hello,
netstat -a -p listed no active connections. Sorry, I do not know
what skype is. I will assume that it should be listed under services and
check.

Thank You,
Micah


phantom wrote:
> "Micah J. Kimbrough" wrote in message
> news:13da1a0hll1iv01@corp.supernews.com...
>> Hello,
>> I have installed apache 2.2 on Windows XP but when I try to load it I
>> have problems. I have setup Windows firewall to let port 80 to be an
>> exception and the router seems to be working fine. I installed tomcat and
>> the router lets it work on http://192.168.1.3:8080. I go under
>> Administration->Services and apache2 is installed as a service and has
>> started automatically. The httpd.conf file is setup with it Listen 80 and
>> ServerName is localhost. Everything else is as is from the installation. I
>> have tried using Listen 192.168.1.3:80 and ServerName station1 which is my
>> computer's name in different combinations.
>> I start firefox and can get tomcat's main page to load at
>> http://192.168.1.3:8080 but http://192.168.1.3, http://127.0.0.1, and
>> http://localhost doesn't work for apache httpd.
>> From here does anybody have any suggestions? I tried starting httpd
>> from a console and got an error: 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. That is the same error in the error log.
>>
>> Thank You,
>> Micah
>>
>> P.S. Microsoft IIS is not installed.
>
> [here's a long shot]
> How about Skype? (this steals port 80 by default)
>
> if you do a 'netstat -a -p' you should be able to find out what is using
> port 80.
>
>

Re: Installation on Windows XP

am 29.08.2007 14:19:41 von missionary12000

Hello,
I have tried putting Listen 192.168.1.3:80 which didn't help. Even
tried Listen 127.0.0.1:80.

Thank You,
Micah


David McKenzie wrote:
> Micah J. Kimbrough wrote:
>> Hello,
>> I have installed apache 2.2 on Windows XP but when I try to load
>> it I have problems. I have setup Windows firewall to let port 80 to be
>> an exception and the router seems to be working fine. I installed
>> tomcat and the router lets it work on http://192.168.1.3:8080. I go
>> under Administration->Services and apache2 is installed as a service
>> and has started automatically. The httpd.conf file is setup with it
>> Listen 80 and ServerName is localhost. Everything else is as is from
>> the installation. I have tried using Listen 192.168.1.3:80 and
>> ServerName station1 which is my computer's name in different
>> combinations.
>> I start firefox and can get tomcat's main page to load at
>> http://192.168.1.3:8080 but http://192.168.1.3, http://127.0.0.1, and
>> http://localhost doesn't work for apache httpd.
>> From here does anybody have any suggestions? I tried starting
>> httpd from a console and got an error: 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. That is the same error
>> in the error log.
>>
>> Thank You,
>> Micah
>>
>> P.S. Microsoft IIS is not installed.
> Looks like you don't have the IP address set in your httpd.conf file.
>

Re: Installation on Windows XP

am 29.08.2007 15:14:09 von phantom

"Micah J. Kimbrough" wrote in message
news:13daoqpp2onbu82@corp.supernews.com...
> Hello,
> netstat -a -p listed no active connections. Sorry, I do not know what
> skype is. I will assume that it should be listed under services and check.
>
> Thank You,
> Micah
>

Skype is an instant messaging program, you'd know if you had it running.

You have something using port 80, netstat *should* tell you what is
listening on that port. Slight mistake in my previous post, should be
'netstat -a -b' - somewhere in that list should be a line similar to:
TCP machine:http machine:0 LISTENING 1104
[program.exe]

or you could try 'telnet localhost 80' and see what answers.

Re: Installation on Windows XP

am 29.08.2007 17:40:40 von missionary12000

Hello,
telnet just hangs there like the web browser. I tried the netstat
and here is the output:

Active Connections

Proto Local Address Foreign Address State PID
TCP station1:echo station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:discard station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:daytime station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:qotd station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:chargen station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:http station1:0 LISTENING 1480
[httpd.exe]

TCP station1:epmap station1:0 LISTENING 848
[svchost.exe]

TCP station1:microsoft-ds station1:0 LISTENING 4
[System]

TCP station1:1030 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:1801 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:2103 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:2105 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:2107 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:3050 station1:0 LISTENING 3704
[fbserver.exe]

TCP station1:3306 station1:0 LISTENING 2240
[mysqld-nt.exe]

TCP station1:8009 station1:0 LISTENING 2624
[tomcat5.exe]

TCP station1:8080 station1:0 LISTENING 2624
[tomcat5.exe]

TCP station1:1037 station1:0 LISTENING 3864
[alg.exe]

TCP station1:5432 station1:0 LISTENING 2560
[postmaster.exe]

TCP station1:8005 station1:0 LISTENING 2624
[tomcat5.exe]

TCP station1:27015 station1:0 LISTENING 1500
[AppleMobileDeviceService.exe]

TCP station1:netbios-ssn station1:0 LISTENING 4
[System]

TCP station1:1027 localhost:1028 ESTABLISHED 3020
[postgres.exe]

TCP station1:1028 localhost:1027 ESTABLISHED 3020
[postgres.exe]

TCP station1:1059 localhost:27015 ESTABLISHED 4236
[iTunesHelper.exe]

TCP station1:1828 localhost:1829 ESTABLISHED 2556
Can not obtain ownership information
TCP station1:1829 localhost:1828 ESTABLISHED 2556
Can not obtain ownership information
TCP station1:1830 localhost:1831 ESTABLISHED 2556
Can not obtain ownership information
TCP station1:1831 localhost:1830 ESTABLISHED 2556
Can not obtain ownership information
TCP station1:27015 localhost:1059 ESTABLISHED 1500
[AppleMobileDeviceService.exe]

TCP station1:1859 earthlink.vsrv-sjc.supernews.net:nntp
ESTABLISHED 2556
Can not obtain ownership information
TCP station1:1841 localhost:http FIN_WAIT_2 2772
[System]

TCP station1:http localhost:1841 CLOSE_WAIT 1480
[httpd.exe]

TCP station1:http station1.localhost:1235 CLOSE_WAIT
1604
[httpd.exe]

TCP station1:echo station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:discard station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:daytime station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:qotd station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:chargen station1:0 LISTENING 2476
[tcpsvcs.exe]

TCP station1:epmap station1:0 LISTENING 848
-- unknown component(s) --
nv4_mini.sys
-- unknown component(s) --
[svchost.exe]

TCP station1:1030 station1:0 LISTENING
3252 [mqsvc.exe]

TCP station1:2103 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:2105 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:2107 station1:0 LISTENING 3252
[mqsvc.exe]

TCP station1:5432 station1:0 LISTENING 2560
[postmaster.exe]

UDP station1:1029 *:* 3252
[mqsvc.exe]

UDP station1:chargen *:* 2476
[tcpsvcs.exe]

UDP station1:microsoft-ds *:* 4
[System]

UDP station1:discard *:* 2476
[tcpsvcs.exe]

UDP station1:echo *:* 2476
[tcpsvcs.exe]

UDP station1:daytime *:* 2476
[tcpsvcs.exe]

UDP station1:1025 *:* 1136
[svchost.exe]

UDP station1:qotd *:* 2476
[tcpsvcs.exe]

UDP station1:1333 *:* 1136
[svchost.exe]

UDP station1:3527 *:* 3252
[mqsvc.exe]

UDP station1:snmp *:* 2492
[snmp.exe]

UDP station1:1026 *:* 1136
[svchost.exe]

UDP station1:ntp *:* 948
[svchost.exe]

UDP station1:netbios-dgm *:* 4
[System]

UDP station1:router *:* 948
[svchost.exe]

UDP station1:ntp *:* 948
[svchost.exe]

UDP station1:netbios-ns *:* 4
[System]

UDP station1:daytime *:* 2476
[tcpsvcs.exe]

UDP station1:qotd *:* 2476
[tcpsvcs.exe]

UDP station1:chargen *:* 2476
[tcpsvcs.exe]

UDP station1:echo *:* 2476
[tcpsvcs.exe]

UDP station1:discard *:* 2476
[tcpsvcs.exe]

UDP station1:1025 *:* 2560
[postmaster.exe]

Sorry I such a newbie and am not sure what to make of all that.

Thank You,
Micah







phantom wrote:
> "Micah J. Kimbrough" wrote in message
> news:13daoqpp2onbu82@corp.supernews.com...
>> Hello,
>> netstat -a -p listed no active connections. Sorry, I do not know what
>> skype is. I will assume that it should be listed under services and check.
>>
>> Thank You,
>> Micah
>>
>
> Skype is an instant messaging program, you'd know if you had it running.
>
> You have something using port 80, netstat *should* tell you what is
> listening on that port. Slight mistake in my previous post, should be
> 'netstat -a -b' - somewhere in that list should be a line similar to:
> TCP machine:http machine:0 LISTENING 1104
> [program.exe]
>
> or you could try 'telnet localhost 80' and see what answers.
>
>

Re: Installation on Windows XP

am 29.08.2007 18:31:24 von phantom

"Micah J. Kimbrough" wrote in message
news:13db4ro4oe5vjd6@corp.supernews.com...
> Hello,
> telnet just hangs there like the web browser. I tried the netstat and
> here is the output:


Well, here's the important bit
> TCP station1:http station1:0 LISTENING
> 1480
> [httpd.exe]
>

Were you running apache when you ran netstat? The above suggests you were
and that it opened the socket without a problem.

Back in you original post, you said you tried running httpd from a console -
were you already running it as a service when you tried that? If you were,
try again with the service stopped to see if the bind error goes away.

Re: Installation on Windows XP

am 29.08.2007 20:45:22 von missionary12000

Hello,
I stopped the service and went to a console and entered httpd
(manual start). The console gave an error:
The system can not find the file specified. : No installed service named
"Apache2.2".
Is that supposed to happen? Under Services it installed it as "Apache2".

Thank You,
Micah


phantom wrote:
> "Micah J. Kimbrough" wrote in message
> news:13db4ro4oe5vjd6@corp.supernews.com...
>> Hello,
>> telnet just hangs there like the web browser. I tried the netstat and
>> here is the output:
>
>
> Well, here's the important bit
>> TCP station1:http station1:0 LISTENING
>> 1480
>> [httpd.exe]
>>
>
> Were you running apache when you ran netstat? The above suggests you were
> and that it opened the socket without a problem.
>
> Back in you original post, you said you tried running httpd from a console -
> were you already running it as a service when you tried that? If you were,
> try again with the service stopped to see if the bind error goes away.
>
>

Re: Installation on Windows XP

am 05.09.2007 05:56:24 von tygrus

I have a similar problem. I stopped/disabled IISAdmin etc., MS
Firewall turned off (doesn't matter with/without exception), no Skype.
Doesn't matter which port number specified.

Apache 2.0.48 (Reference Manager Web Publisher).
Windows XP Pro SP2...

"netstat -abvn" nothing listening to port 80 (http)
httpd.conf
"ServerName localhost:80"
or
"ServerName 127.0.0.1:8080"
or
"ServerName hostname:8080"
or
"ServerName hostIP:8080"

>no listening sockets available, shutting down
>Unable to open logs

Apache debug gives no extra info. Apache doesn't write anything to
logs. NTFS file security is no problem.

System is still refusing (with no obvious/logical reason) to let
Apache start with a socket. This is driving me crazy !!!