[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re:Start/Stop sendmail by command-line in RaQ4
- Subject: Re: [cobalt-users] Re:Start/Stop sendmail by command-line in RaQ4
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Sat Jun 8 19:33:01 2002
- Organization: nobaloney.net
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Junichi Tamada wrote:
> Observe sendmail process
> And if that process is down, the shell automatically start sendmail.
As I recall, my RaQ automatically restarts sendmail every fifteen
minutes if it's down. Do you need finer granularity than that?
Are you running your script as root? If not, then sendmail won't be
able to access port 80.
This line SHOULD work:
# /usr/sbin/sendmail -bd
As should:
# /etc/rc.d/init.d/sendmail start
Either from the "#" root prompt as shown, but NOT using the hash if
they're being run from a shell script.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net, P. O. Box 52672, Riverside, CA 92517
voice: (909) 778-9980 * fax: (702) 548-9484