LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2004, 11:59 AM   #1
setska
LQ Newbie
 
Registered: May 2004
Location: MN
Posts: 11

Rep: Reputation: 0
Can not start HTTPD under RHE 3.0


That is what it is giving me:

Fri May 14 10:51:10 2004] [error] (EAI 2)Name or service not known: Cannot resolve host name example.com --- ignoring!
httpd not running, trying to start
(99)Cannot assign requested address: make_sock: could not bind to address 66.41.187.34:80
no listening sockets available, shutting down
Unable to open logs!

what might it mean? I'm new to linux, so sorry for maybe dumm question.
thanks for any help.
 
Old 05-14-2004, 12:14 PM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Hello,
please try
/etc/init.d/httpd restart
and send back that part of log...

Why ? Because I jsut think the log you sent is something else trying to connect to a not started web server :-)
 
Old 05-14-2004, 12:32 PM   #3
setska
LQ Newbie
 
Registered: May 2004
Location: MN
Posts: 11

Original Poster
Rep: Reputation: 0
[root@www root]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Fri May 14 11:29:14 2004] [error] (EAI 2)Name or service not known: Cannot resolve host name example.com --- ignoring!
(99)Cannot assign requested address: make_sock: could not bind to address 66.41.187.34:80
no listening sockets available, shutting down
Unable to open logs!
[FAILED]

:0(
I dont know, that is all I'm geting. :0|
 
Old 05-14-2004, 12:34 PM   #4
setska
LQ Newbie
 
Registered: May 2004
Location: MN
Posts: 11

Original Poster
Rep: Reputation: 0
might it be because my DNS is not set up?
thanks
 
Old 05-14-2004, 01:06 PM   #5
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Dont think so, but if you want to see you DNS setting ( probably passed by Your ISP ) you can
cat /etc/resolv

You did post what you see when restarting httpd but can you also post the couple last lines of the logs...

tail -n 10 /var/log/messages

That would be helpfull

THanks!
 
Old 05-14-2004, 01:10 PM   #6
setska
LQ Newbie
 
Registered: May 2004
Location: MN
Posts: 11

Original Poster
Rep: Reputation: 0
[root@www root]# tail -n 10 /var/log/messages
May 14 11:28:53 www httpd: (99)Cannot assign requested address: make_sock: could not bind to address 66.41.187.34:80
May 14 11:28:53 www httpd: no listening sockets available, shutting down
May 14 11:28:53 www httpd: Unable to open logs!
May 14 11:28:53 www httpd: httpd startup failed
May 14 11:28:53 www httpd: httpd shutdown failed
May 14 11:29:14 www httpd: [Fri May 14 11:29:14 2004] [error] (EAI 2)Name or service not known: Cannot resolve host name example.com --- ignoring!
May 14 11:29:14 www httpd: (99)Cannot assign requested address: make_sock: could not bind to address 66.41.187.34:80
May 14 11:29:14 www httpd: no listening sockets available, shutting down
May 14 11:29:14 www httpd: Unable to open logs!
May 14 11:29:14 www httpd: httpd startup failed
[root@www root]#

:0|
 
Old 05-14-2004, 01:34 PM   #7
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Heurk... Sorry about that...

Try changing

for Listen 66.41.187.34:80

Listen 80

In your apache.conf...

For furthure help, send your config file at

support@genieciel.com

so I can try it...
 
Old 05-14-2004, 02:55 PM   #8
setska
LQ Newbie
 
Registered: May 2004
Location: MN
Posts: 11

Original Poster
Rep: Reputation: 0
Great, thanks, that was a case, changed to
Listen *:80
and it worked, thanks again.
and this is what I got :
[root@www root]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Fri May 14 13:36:30 2004] [error] (EAI 2)Name or service not known: Cannot resolve host name example.com --- ignoring!
[ OK ]
[root@www root]#

and this error IMO is because of DNS( am I right? ), i'll work on it later today.
many thanks.
 
Old 05-14-2004, 03:00 PM   #9
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Again an error in the httpd.conf..

I would seach for example.com and rem (#) every entries...

IMHO I would look into VirtualDomain section... But anyway, every lines refering to such domain can be remed

Glad I was usefull, but remember that YOU where the one who had the guts to try it :-)

Keep up the good work!
 
Old 11-29-2007, 08:08 PM   #10
bartsimpsong
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
Thumbs up Thank you very much

Thank you very mucho for your help. I was not able to start httpd and for a moment I was about to reinstall the whole OS. thank you very much again
 
  


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
cant start httpd mag_um Linux - Software 2 05-27-2005 09:20 AM
RHE, Ensim Basic for RHE, Plesk for RHE xbaez Linux - Software 0 09-21-2004 10:45 AM
httpd-2.0.50-1.0 won't start RH9 jariep Red Hat 5 08-21-2004 03:10 AM
Apache httpd won't start rob19 Linux - Software 6 05-06-2003 11:41 PM
httpd will not start :: buddy Linux - General 9 12-31-2002 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:41 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