Current location: Hot Scripts Forums » Other Discussions » Web Servers » [SOLVED] Failure Message starting Apache

[SOLVED] Failure Message starting Apache

Reply
  #1 (permalink)  
Old 03-02-04, 11:31 AM
thewulf thewulf is offline
New Member
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Failure Message starting Apache

Hi Guys,

I have problems starting an Apache server on an german Win XP Home OS.
Following message is shown then in an batch-window:

============================================
Apache 2 is starting ...
(OS 10048)Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden.
: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
=============================================

For englishmen, the 2nd+3rd lines mean:
Normaly each socketadress (protocoll,
networkadress or port) may be only used one time.

What can I do to fix this problem?
Thank you for helping me!

TheWulf
(you can contact me at: thedarkwulf99@gmx.net)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-05-04, 03:13 PM
dianeghir dianeghir is offline
New Member
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Problems starting Apache make_sock

Hi

I am having the same problem starting Apache on my Windows 2000 Pro machine. (see error below)

Did you ever figure out how to start Apache?

thanks

diane

************************************************
C:\xampp>apache_start.bat
Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
(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:443
no listening sockets available, shutting down
Unable to open logs
*************************************************
Quote:
Originally Posted by thewulf
Hi Guys,

I have problems starting an Apache server on an german Win XP Home OS.
Following message is shown then in an batch-window:

============================================
Apache 2 is starting ...
(OS 10048)Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden.
: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
=============================================

For englishmen, the 2nd+3rd lines mean:
Normaly each socketadress (protocoll,
networkadress or port) may be only used one time.

What can I do to fix this problem?
Thank you for helping me!

TheWulf
(you can contact me at: thedarkwulf99@gmx.net)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-20-04, 01:19 AM
newiaqua newiaqua is offline
Newbie Coder
 
Join Date: May 2004
Location: Varna, Bulgaria
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hello, I think that this Apache error message is produced because you are having firewall or somethink like. You can either remove or adjust your firewall accordingly or search for Windows's network firewall settings. There must be something about port bidings.

Other solution is to make Apache listen not to 80 but to 3128 port(ports < 1024 are more often used for system service bindings).

Third solution is to change binging address:
in your httpd.conf write this:
Listen 127.0.0.1:80
instead of:
Listen 0.0.0.0:80

Personally I am using Knoppix and there are no such problems.
Hope It helps...
__________________
My site is: http://nevyan.blogspot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 07-10-04, 04:04 PM
abdu5hahid abdu5hahid is offline
New Member
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Another possible cause

I was having same issue with Apache2 on Windows, and I tried disabling my firewall and changing binding to specific IP address instead of all unassigned (0.0.0.0).

Issue still persisted even though Apache2/Tomcat had worked previously on my system. Noticed that when I was reinstalling was defaulting to 443 as main port and I left as is before thinking it understood that to be SSL.

Think it was trying to use 443 as the default port, so it was coliding with 443 being SSL port; hence message about only one binding at a time.

When I changed HTTPD.conf to 80 it worked fine with SSL and http.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 10-11-05, 08:06 AM
maurito maurito is offline
New Member
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by abdu5hahid
I was having same issue with Apache2 on Windows, and I tried disabling my firewall and changing binding to specific IP address instead of all unassigned (0.0.0.0).

Issue still persisted even though Apache2/Tomcat had worked previously on my system. Noticed that when I was reinstalling was defaulting to 443 as main port and I left as is before thinking it understood that to be SSL.

Think it was trying to use 443 as the default port, so it was coliding with 443 being SSL port; hence message about only one binding at a time.

When I changed HTTPD.conf to 80 it worked fine with SSL and http.
I've had the same problem. I noticed that when i reboot my computer (running XP pro), sometimes Apache worked. Then, i change the port to 3128 and it worked. But, then I was illuminated by God, and do a netstat -ao (-o displays the PID) and discover that Skype was listening in port 80 instead of apache -that is, i have both set up to run at startup, thus, if apache started first, it will have por 80 available, and skype not, and vice-versa-. So my solution was to remove skype from startup -i don't use it too often- and make apache (and myself) happy by making port 80 available.
Sorry about my english, ajejaej I'm from Argentina..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 10-11-05, 10:59 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,435
Thanks: 1
Thanked 1 Time in 1 Post
uninstall IIS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 10-20-05, 06:17 AM
Fletch Fletch is offline
New Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I had the same problem, so i don't use apache under the Windows.
__________________
Fast free anonymizer web proxy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 12-22-05, 04:55 PM
iga3k iga3k is offline
New Member
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

as maurito said, skype could be the problem, and athor programs that listen on port 80. So, by a netsetat -ao you can see all connections on local machie, and you can identify by PID the process that is listening on port 80.

If skype is the one, there is an option in connection tab in skype that says Use port 80 and 443 as alternatives for incoming connections ...uncheck it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 06-12-08, 05:12 AM
hightechguy hightechguy is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, guys

I have pretty much the same problem - Apache 2.2 stopped running after XP SP3 installation.

httpd.exe -k start gives

(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


netstat -ao gives no information on port 80, looks like port 80 is free

I've tried to :

* Make Apache to Listen 127.0.0.1:80 as newiaqua adviced - no luck
* modify Apache port number to 3128 as newiaqua adviced - no luck
* turned off my Windows XP firewall - no luck
* uncheck Skype port 80 usage, like iga3k and maurito said - no luck
* reinstall Apache- no luck

Any ideas are highly appreciated

Thank you in advance,
hightechguy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 06-12-08, 09:20 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
This problem is caused by another service listening to TCP/IP port 80.

I don't use Skype, but after you change what port it is configured to use, you probably need to restart it and/or reboot your computer to get the change to take effect.

You would need to post infomation about how you were changing the Apache port number and if you stoped and started Apache to get any changes made to take effect.

If you are still having this problem, there could be a second service listening to on port 80.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache and Tomcat to serve JSP snaip JavaScript 0 12-13-03 10:30 AM
This is what we offer for starting your online business minghoo General Advertisements 0 10-27-03 06:22 PM
deleting a message from forum pnqoma ASP 2 10-19-03 08:09 AM
Problem with CDONTS javadude2003 ASP 23 08-07-03 11:09 PM


All times are GMT -5. The time now is 09:08 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.