[4039] in RedHat Linux List
Re: yet another 'sendmail hangs' questions
daemon@ATHENA.MIT.EDU (Kyle Ferrio)
Tue Nov 12 10:04:08 1996
Date: Tue, 12 Nov 1996 10:00:12 -0500 (EST)
From: Kyle Ferrio <kbf@phy.duke.edu>
To: redhat-list@redhat.com
In-Reply-To: <199611120809.CAA02225@enteract.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 12 Nov 1996, Bob Horvath wrote:
> Yet another question with lots of answers that don't work for me.
>
> I am also getting the "sendmail hangs at boot" problem but cannot solve
> it.
>
> I have done the following:
>
> 1. Loaded up the latest sendmail rpms:
>
> [root@stanley /root]# rpm -qa | grep sendmail
> sendmail-8.7.6-4
> sendmail-cf-8.7.6-4
> sendmail-doc-8.7.6-4
>
>
> 2. booted with an empty (actually non-existent) /etc/resolv.conf
>
> 3. Have a HOSTNAME file with a name in it (granted a name I made up, but
> at least something).
>
> I was going to put the sendmail invocation in the background in the rc.d
> files, but it touches a log file afterwards, so I didn't know if that
> would screw things up even worse.
>
> What else should I try?
What does your /etc/hosts look like?
Besides the required entry for the loopback device, add a line
for your machine name, like this:
10.10.10.10 schmel.cheesehead.com schmel
The IP # there should be whatever is appropriate to your environment. As a
standalone box, I use a number reserved for LANs. And the FQDN should
obviously match whatever is in /etc/HOSTNAME. (I don't want to know what
happens if they dont!) This fixed a lot for me, including the sendmail
delay. YMMV. The NET 2/3 Howto and Net Admin Guide are huge documents,
but the answers are in there. Many thanks to the nice folks here who put
me on the right track.
Kyle Ferrio
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null