LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-10-2007, 02:21 PM   #1
cizzi
Member
 
Registered: Jun 2001
Distribution: Gentoo
Posts: 140

Rep: Reputation: 18
sendmail takes about 3 minutes to load


I did a fresh install of FC6 64-Bit Re-Spin version as my operating system on my new computer. Everything works great so far except when I added my hostname and local ip address to /etc/hosts. Now when I boot or start the sendmail service manually it takes several minutes for it to load. It loads successfully but I don't think its normal for it to take 3-5 minutes. This started happenning as soon as I added my hostname and ip address to the hosts file I believe. For now I just disable sendmail at boot time since I have no use for it right now but I would like to understand whats going on and eventually resolve the issue. I have running linux 5th edition but nothing really indicates a solution to my problem. Could anyone help?

What I added to /etc/hosts is this line

192.168.1.104 linuxcore

linuxcore being my hostname that I set in network-config. If I type ping linuxcore it resolves correctly to my IP address 192.168.1.104 assigned by my router. I obtained the 192.168.1.104 ip by doing ifconfig and taking the ip address from the eth0 interface.

Thanks.

Last edited by cizzi; 02-10-2007 at 02:54 PM.
 
Old 02-10-2007, 04:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
yeah it's always hosts file related, afaik it's a missing entry for localhost though, "127.0.0.1 localhost localhost.localdomain" is normally the first entry.
 
Old 02-12-2007, 11:13 AM   #3
cizzi
Member
 
Registered: Jun 2001
Distribution: Gentoo
Posts: 140

Original Poster
Rep: Reputation: 18
problem solved

Someone in #fedora on irc.freenode.net helped me and it worked. the problem was that I had to add a period (.) after my hostname, I guess it was searching for a domain name and I didn't specify one. So the period tells it not to search for one I'm assuming.
 
  


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
Suse takes 5 minutes to load Home directory? linda Linux - Distributions 2 08-11-2004 02:22 PM
sendmail takes minutes to start dirken Linux - Newbie 4 07-09-2004 05:09 PM
X login is slow, takes 2 minutes jhcatch22 Linux - Newbie 3 07-08-2004 12:33 AM
Freevo takes 4 minutes to load mp3 list wally48159 Linux - Software 1 05-11-2004 07:56 PM
Sendmail takes 5 minutes to start glock19 Linux - General 9 02-01-2002 12:33 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration