MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149
Rep:
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.