LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-03-2004, 08:56 AM   #1
dreakon
Member
 
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
sendmail freezes Mandrake boot


Im having issue in booting my Mandrake 10.0 system, it seems to freeze up. When I checked it out in verbose mode it seems to freeze on an item called "sendmail". Now when I choose interactive mode and tell it to not start sendmail and continue with the boot it works just fine. is there any way to just disable sendmail period, it really serves no useful purpose in my case.

Thanks in advance.
 
Old 12-03-2004, 10:11 AM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Not sure how to disable it on a drake system, but it's stalling trying to do a DNS lookup ... probably on itself.
 
Old 12-03-2004, 03:34 PM   #3
dreakon
Member
 
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks, I'll check in to that.
 
Old 01-28-2005, 01:03 PM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
This is a fairly late reply to this post, but maybe it is useful. I have been having the same problem myself and even when I restart sendmail after boot up using /etc/init.d/sendmail start. Idid hang, but it took about 5 min to startup.

I have recieved sigsegv's advice previously when I posted the same problem much earlier and I think it worked if I remember correctly. However, at some stage I started haveing the same problem and when I checked my /etc/hosts file, my localhost was indeed correctly referenced with an entry of :

Code:
127.0.0.1  localhost.localdomain hostname
at the end of the file after all the other hosts on my network.

However! When I moved the line:

Code:
127.0.0.1  localhost.localdomain hostname
to the beginning of the /etc/hosts file, sendmail restarted without a problem. So maybe you can just check this out and see if it sorts your problem out if you are still experiencing it.

Regards
p.n
 
Old 01-31-2005, 03:42 PM   #5
dreakon
Member
 
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks but I gave up on Mandrake a while ago, too many problems, I've been using SuSE for a while with no real issues yet
 
Old 02-01-2005, 11:49 PM   #6
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
The sendmail hangup usually occurs when the hostname has not been set.
 
Old 02-02-2005, 05:35 PM   #7
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
In the interest of accuracy in speaking -- If the hostname was not set at install time it will be set to localhost, which will always resolve via /etc/hosts (assuming the file hasn't been deleted). What normally causes it is that the hostname is set but it's not mapped via hosts/DNS and so the server has to timeout (or be interrupted) on the lookup to continue.

As for the suggestion by paul.nel -- There's no arguing with results, but no, the order of the entries in the host file should have zero bearing on this (unless you have multiple names mapped to a single IP or vice versa, which seems unlikely with localhost/loopback).
 
  


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
Mandrake 10.1 (official distro) freezes during boot Michael Wilson Mandriva 1 07-17-2005 05:45 AM
Boot Freezes in Mandrake 10.1 wfischer Linux - Newbie 6 11-20-2004 04:30 AM
Mandrake 10.0 freezes boot! mothsmoke Mandriva 14 10-14-2004 09:04 AM
Mandrake 10 beta 2 Freezes on boot ap90033 Mandriva 12 02-19-2004 09:40 AM
mouse freezes on first boot of mandrake 8.2 joeln Linux - Hardware 1 12-28-2003 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:56 AM.

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