Author |
|
Norman G
Joined: 18 May 2006 Posts: 5
|
Posted: Thu 18 May '06 21:43 Post subject: Problems with Apache 2.0.49 using XP |
|
|
I have been using Apache with win 2000. I have now upgraded to XP Pro and get the following error message:
Only one useage of each socket address (protocol/network address/port) is normally permited. :make_sock: could not bind to address 0.0.0.0:80. no listening sockets available, shutting down. Unable to open logs.
Any help would be appreciated. |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Thu 18 May '06 21:54 Post subject: |
|
|
What is you listen directive in the httpd.conf ?
Tt should read for example: Listen 80
Some other server using port 80 ?
Steffen |
|
Back to top |
|
Norman G
Joined: 18 May 2006 Posts: 5
|
Posted: Thu 18 May '06 23:13 Post subject: Problems with Apache 2.0.49 using XP |
|
|
Tt set to Listen 80
Not aware of anything else using port 80.
Being a novice how do I check? |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
|
Back to top |
|
Norman G
Joined: 18 May 2006 Posts: 5
|
Posted: Sat 20 May '06 9:00 Post subject: Problems with Apache 2.0.49 with XP |
|
|
Thanks pnllan
Have run cports and the only the occurance of port 80 is with Apache although several addresses show 0.0.0.0
Any other suggestions? |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Sun 21 May '06 8:56 Post subject: |
|
|
Ok Norman,
You are going to have to 'fess' up some info...
What version of Apache are you running and where did you get it?
Also, need to know what's in your CONF file - Specifically:
What does your Listen directive look like? - do a search in the CONF for instances of 80. It could be that you have more than one instance of Listen.
Also, What do you have for ServerName?
To show how one can 'goof up', the other day I was setting up SSL. I use Apache 2.2.2 with multiple CONF files. I made the mistake of adding Listen 443 to my HTTPD.CONF, and also set to INCLUDE the HTTPD-SSL.CONF. That was an ooops. The HTTPD-SSL.CONF also has a Listen 443 directive. Needless to say, Apache coughed up it guts (as it should in this case). Once I removed the Listen 443 in the HTTPD.CONF, Apache started up with SSL.
My point: irregardless of what you think you are sure of - Check anyway - troubleshooting can be aggravating and frustating (sometimes)...in that kind of mental state it's real easy to overlook things - not that you are, but look anyway.
Anyway, beyond what I have said, we here at the Lounge may need to see your whole CONF file(s).
..
. |
|
Back to top |
|
Norman G
Joined: 18 May 2006 Posts: 5
|
Posted: Sun 21 May '06 9:49 Post subject: Problems with Apache 2.0.49 using XP |
|
|
Thanks pnllan
I am using Apache 2.0.49 which worked ok with Windows 2000.
The only instances of '80' are
Listen 80
ServerName localhost:80 |
|
Back to top |
|
Norman G
Joined: 18 May 2006 Posts: 5
|
Posted: Sun 21 May '06 22:18 Post subject: Problems with Apache 2.0.49 using XP |
|
|
Hi pnllan
Problem solved.
Apparently error message was caused as Apache was already running in the background.
Shows what a novice I am.
Thanks for your help. |
|
Back to top |
|