LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-24-2004, 07:59 PM   #1
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Rep: Reputation: 15
httpd failing


The issue is in connection with sendmail service taking too much time at boot up.

I've been told that it's a DNS issue, my hosts file looks like below;

127.0.0.1 localhost
192.168.10.3 optiplex

The second entry is the machine itself, if I have the second entry, sendmail freezes and if I don't, httpd fails and gives me the following error;

"httpd: Could not determine server's fully qualified domain name, using 127.0.0.1 for ServerName" [FAILED]

What am I missing, or what should I do to have httpd run properly.

Also, when I have the second entry, I still get the above error message with 192.168.10.3 instead of 127.0.0.1 but httpd still runs.

So I believe I have something wrong setup that's causing httpd service to generate that error message and for sendmail to freeze momentarily.

Any help is appreciated.
 
Old 12-25-2004, 08:21 AM   #2
dizzutch
Member
 
Registered: Sep 2004
Location: Worcester, MA USA
Distribution: Debian, Gentoo, Fedora FC2
Posts: 66

Rep: Reputation: 15
you should set the ServerName variable in your httpd.conf, usually one sets it to ones FQDN
you in your case optiplex.yourdomain.com

check your sendmail logs, and see if anything is wrong, cuz from your information it just look like it's taking a while to resolve the host name.
adding your host name to the first line you posted might help
 
Old 12-25-2004, 08:58 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well, sendmail has nothing to do with httpd failing so didn't expect sendmail questions when reading your title.

It might also help to possibly change your actual machines hostname and assign it to a domain as well, instead of using probably the default localhost and localdomain.

And I'm assuming you don't have a domain name for this machine, one that you've registered, etc? What's your intention of running these services?
 
Old 12-25-2004, 03:02 PM   #4
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Original Poster
Rep: Reputation: 15
I got it fixed, it was just wrong entry in hosts file, it's all working now.
 
  


Reply



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
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

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

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration