LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2004, 10:42 AM   #1
treotan
Member
 
Registered: Jun 2004
Posts: 126

Rep: Reputation: 15
Unhappy Fedora Apache


Hi! I got the msg as following; How to fix it?

[root@localhost httpd]# apachectl restart
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 192.168.1.4:80
no listening sockets available, shutting down
Unable to open logs
 
Old 06-22-2004, 10:52 AM   #2
treotan
Member
 
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
And I tried to restart the apache, it was prompted the msg :


httpd failed. The error was: Stopping httpd: [FAILED]

Starting httpd: (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]
 
Old 06-22-2004, 11:00 AM   #3
Booster
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

Rep: Reputation: 15
Did you check to see if apache is already running? (Sounds too obvious, but the obvious problems are the ones that usually take me the longest to figure out!)

Go to http://localhost in your browser, try "ps ax" and look for apache or httpd.

If none of those find anything, try (if you have nmap installed) "nmap -v -p 80 localhost" and see if it finds an open port there.

Barring that, go to your httpd.conf file, and set it to run on another port (say, 81) and try to start it (just to see, I wouldn't leave it there).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2.0.51 on Fedora m2azer Linux - Newbie 4 09-19-2008 06:51 AM
Compiling Apache when I already have Apache that came with Fedora bwoodruff Fedora 6 08-21-2005 04:00 PM
Fedora 3 and Apache webwolf70 Fedora 2 05-06-2005 12:51 AM
apache on fedora chazzwozzer Linux - Newbie 4 11-26-2004 04:23 PM
Apache 1.3 on Fedora Need MUCH HELP!!! red118a Linux - Newbie 2 01-30-2004 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration