Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 30th June 2008, 05:36 PM
njaimo Offline
Registered User
Join Date: Jul 2007
Posts: 13
httpd error (98)Address already in use


I have not been able to fix this problem with a web-server installed on a Fedora 9 machine inside a LAN. I first installed httpd with the purpose of publishing a blog using Wordpress, all inside our LAN. I had everything working, httpd, MySQL and was about to install Wordpress, but I had to let it sit and do other work for a few days. In the following days I noticed that at boot time httpd was returning the following error:

Starting httpd: (98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

I've updated my system with bug fixes and updates a few times after I had the server running, but I am the only user of the machine.

After Googling to find answers I've come up with posts all the way to "you may have a rootkit using your port 80". So I've ran ClamAV, rkhunter, and chkrootkit, and all seems well (i.e. no rootkits).

Output from ps aux shows:

# ps aux | grep http | grep -v grep
nino 3189 0.0 0.0 72832 1824 ? Ss 09:02 0:00 /usr/sbin/httpd -f /usr/share/gnome-user-share/dav_user.conf -C Listen 38870
nino 3190 0.0 0.0 72832 1244 ? S 09:02 0:00 /usr/sbin/httpd -f /usr/share/gnome-user-share/dav_user.conf -C Listen 38870

I'm not sure what these processes are doing ...but if I kill them I still get the same error (98) when I try:
# /sbin/service httpd restart

Another "diagnostic" output:

# /usr/sbin/lsof -i | grep http
httpd 3189 nino 3u IPv6 23010 TCP *:38870 (LISTEN)
httpd 3190 nino 3u IPv6 23010 TCP *:38870 (LISTEN)
evolution 3328 nino 22u IPv4 25377 TCP>post.mac.com:http (CLOSE_WAIT)
evolution 3328 nino 26u IPv4 25378 TCP>post.mac.com:http (CLOSE_WAIT)
python 6209 root 6u IPv4 35268 TCP>less.cogeco.net:http (CLOSE_WAIT)
python 6209 root 8u IPv4 35278 TCP> (CLOSE_WAIT)
python 6209 root 12u IPv4 35286 TCP> (CLOSE_WAIT)

...and the output from #netstat -lnp is include in the attached text file.
One post I found mentioned a rootkit had actually replaced netstat...

I also have the MySQL server start-up at boot, but even after "killing" it I get the same httpd error.

Any help would be GREATLY appreciated. I am fairly new to Linux and no-where near knowing enough...


Attached Files
File Type: txt netstat_output.txt (8.6 KB, 103 views)
Reply With Quote

98address, error, httpd

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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
could not bind to address message HTTPD pailott Servers & Networking 11 26th October 2009 10:54 PM
httpd failed: address in use cole07 Servers & Networking 23 10th October 2007 05:06 PM
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us Kingtu Servers & Networking 2 5th April 2007 12:54 AM
httpd failed. the error was: starting httpd: [failed] Harps Using Fedora 2 2nd November 2005 10:04 AM
httpd failed. The error was: Starting httpd: [FAILED] surfingdude41 Using Fedora 3 29th June 2005 09:12 PM

Current GMT-time: 05:03 (Thursday, 24-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat