Operating System - HP-UX
1828411 Members
3229 Online
109977 Solutions
New Discussion

SENDMAIL ERROR @ BOOT TIME

 
Arun Jain
Frequent Advisor

SENDMAIL ERROR @ BOOT TIME

Dear all,

I am facing a problem in a server at the boot time. The server boot process get stuck at the sendmail service option.

If I want to stop the service or daemon for the same, what should I do and which services/daemon I should stop.

Regards:
Arun Jain
speak less say more
4 REPLIES 4
Tim Nelson
Honored Contributor

Re: SENDMAIL ERROR @ BOOT TIME

edit /etc/rc.config.d/mailservs and change SENDMAIL_SERVER=0

This will disable.

Steven E. Protter
Exalted Contributor

Re: SENDMAIL ERROR @ BOOT TIME

Shalom,

This problem comes commonly from misconfiguration that results in an invalid sendmail.cf file.

It is not recommended to run this daemon on systems that do not need to receive mail.

/etc/rc.config.d/sendmail

Set the start variable to zero.

You can have cron run sendmail -q
on a schedule to get mail off the machine to other destinations.

You will see errors in /var/adm/syslog/mail.log

They may be helpful in actually resolving the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TTr
Honored Contributor

Re: SENDMAIL ERROR @ BOOT TIME

sendmail will also hang like this when the server name can not be resolved via DNS.
whiteknight
Honored Contributor

Re: SENDMAIL ERROR @ BOOT TIME


Arun,

check you have defined DNS in /etc/resolv.conf ?

check /etc/nsswitch.conf
hosts: files dns


WK
Problem never ends, you must know how to fix it