Qondio
Front
Intel
IntelMart
Shares
My Qondio
Account
fryshadow > Intel > CentOS 5.2 : Sock address already in use

qondio.com/8py2 PRINT EMAIL

CentOS 5.2 : Sock address already in use

By Yusof Khalid of FryShadow

Ever wonder how trouble when your server httpd goind down ? Yeah.. for a production server maybe it would be crucial for system admin to troubleshoot :-P

Today when I try fixing my httpd.conf for a CGI module suddenly the server goes down and won't start at all and keep on give this error :

# /sbin/service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]

This means that the port address has been used by other application which we don't know and to know that we can use this command :

bash#netstat -tulpn|grep :80
tcp 0 0 :::80 :::* LISTEN 8069/bash

and suddenly some application trying to listen to that port which for this moment we have to kill for a reason :-)

For this example the PID is 8069, so kill the PID :

bash#kill -9 8069

External Links

http://www.myinfinityx.com

Contributed by fryshadow on January 26, 2009, at 11:09 PM UTC.

Reactions

No reactions yet.

Rate This Intel

Please login or sign up to rate this intel.

Comments

Please login or sign up to add a comment.

Share

Copyright Notice

The copyright for this content entitled "CentOS 5.2 : Sock address already in use" has been specified by the contributor as:

All Rights Reserved

This content may not be copied, distributed or adapted by anyone under any circumstances.

Login Here with
Any Email Address
Any Password
No account? Sign up.

Intel Contributor
This intel was contributed by fryshadow


Qondio Archive
May, 2012
123456
78910111213
14151617181920
21222324252627
28293031


2008
January, February, March, April, May, June, July, August, September, October, November, December
2009
January, February, March, April, May, June, July, August, September, October, November, December
2010
January, February, March, April, May, June, July, August, September, October, November, December
2011
January, February, March, April, May, June, July, August, September, October, November, December
2012
January, February, March, April, May

Sign Up
Not a member yet? Qondio is a powerful network for making it online. If you have a website to promote, we can help. Sign up and get in on the action.

About Qondio
Welcome to Qondio! Discover the awesome power this network can deliver by going to our About page. Or you could skip straight to the Sign Up form.

ABOUT
SUCCESS GUIDE
FEATURES
FAQ
ADVERTISE
CONTACT
USAGE POLICY
PRIVACY POLICY


TWITTER
FACEBOOK