[4056] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: yet another 'sendmail hangs' questions

daemon@ATHENA.MIT.EDU (Andreas Kostyrka)
Tue Nov 12 11:14:07 1996

Date: Tue, 12 Nov 1996 17:49:33 +0100 (MET)
From: Andreas Kostyrka <andreas@rainbow.studorg.tuwien.ac.at>
To: Bob Horvath <bob@horvath.com>
cc: 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:

> 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 about the following:
Boot into single mode, then remove the sendmail invocation from your default
runlevel:
cd /etc/rc.d/rc?.d
rm S??sendmail <- or so, I don't have a Linux system here :(

Then you can play around with sendmail at your leisure, a suggested strategy
would be to trace it:
1) sh -x /etc/rc.d/init.d/sendmail start
   This will probably hang. Just kill it, and try 2)
2) start the sendmail with strace:
strace <sendmail invocation> 2>/tmp/sendmailhang.log
3) inspect sendmailhang.log, and look why it hangs.

Andreas


--
  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


home help back first fref pref prev next nref lref last post