LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-17-2003, 06:45 PM   #1
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
Angry sendmail hangs on boot?


OK, this is random. Second time booting into 2.4.21 , and when it comes time to "Starting Sendmail: " it just hangs. This is totally random, i don't even use sendmail. I tried it with all my other kernels, including 2.4.20-8 and it STILL hung. So I'm guessing it's definitely a problem with sendmail itself.

What do i do? i hardly even know what it does, although it is important if were a server, which I'm not--yet. In any case i still want it working so i dont hafta go into interactive mode whenver i boot to say NO to the start sendmail? prompt.

Recompile? Reinstall? panic and run through the streets?
 
Old 07-17-2003, 07:05 PM   #2
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Well if your not running an email server I'd suggest using chkconfig to disable sendmail on startup.
 
Old 07-17-2003, 07:24 PM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Sounds like it may have a problem resolving the domain name you've provided but beyond that, admirable as it is, red hat's one stop fully integrated solution seems to be throwing up niggling things like this time and time again. Advice above applies.
 
Old 07-17-2003, 07:46 PM   #4
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
oh, i get it. I fooled around with my hostname and now it won't work. IS there a config file to change so that sendmail will accept the hostname martinman instead of just localhost?
 
Old 07-17-2003, 09:49 PM   #5
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
you should always have localhost in the hosts file. Hence the lines

# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

you can put martinman in there too.

Last edited by jstu; 07-17-2003 at 10:00 PM.
 
Old 07-17-2003, 10:51 PM   #6
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
so how would the martinman entry look?

127.0.0.1 martinman martinman

underneath the localhost stuff?

and THEN how would i get my main hostname to be martinman, put that ontop of the localhost stuff? Like, i want to see the text "Changing hostname to martinman [ O K ]" on boot, yet i still want to keep the localhost entry in there....how?

Last edited by martinman; 07-17-2003 at 10:53 PM.
 
Old 07-17-2003, 11:00 PM   #7
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
that would do for the hosts file.

127.0.0.1 martinman localhost.localdomain localhost

If you want it to be the hostname add this to /etc/sysconfig/network

HOSTNAME=martinman.whateverdomain
 
Old 07-17-2003, 11:03 PM   #8
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
ok, thanks for clearing that up. btw, do i HAVE to add the ".whateverdomain" to it in the network file ?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot = No Boot (hangs at bios splash screen) nedwardss Debian 4 12-03-2004 04:09 AM
FC1 boot hangs on dual boot system billlee Fedora 10 05-10-2004 05:34 PM
'Starting sendmail' hangs liguorir Linux - Software 10 07-22-2003 05:39 PM
sendmail hangs sending to hotmail... no suprise there then acid_kewpie Linux - Networking 3 09-09-2002 09:05 PM
Sendmail hangs when sending to certian domains Brian_TII Linux - Software 0 09-27-2001 06:52 PM


All times are GMT -5. The time now is 02:33 AM.

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