Operating System - HP-UX
1834752 Members
2787 Online
110070 Solutions
New Discussion

Re: syslog error for sendmail

 
Philip Kime
Regular Advisor

syslog error for sendmail

On boot, my 11.00 system has this in /etc/rc.log/

Output from "/sbin/rc2.d/S540sendmail start":
----------------------------
syslog failed: Resource temporarily unavailable, syslog output to stderr
Sendmail: alias database /etc/mail/aliases rebuilt by root
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail

This happens every boot. If I stop sendmail and start it again, no problem. Any ideas?
3 REPLIES 3
Christopher Caldwell
Honored Contributor

Re: syslog error for sendmail

>>syslog failed: Resource temporarily unavailable, syslog output to stderr

This sounds like syslog isn't running yet; look in /sbin/rc2.d to make sure syslog is started before sendmail (the S*syslogd number should be lower than sendmail)

e.g.

$ ll /sbin/rc2.d/*syslog*
lrwxr-xr-x 1 root sys 20 Jun 1 1999 /sbin/rc2.d/S220syslog
d -> /sbin/init.d/syslogd
$ ll /sbin/rc2.d/*sendmail*
lrwxr-xr-x 1 root sys 21 Jun 1 1999 /sbin/rc2.d/S540sendma
il -> /sbin/init.d/sendmail


>Sendmail: alias database /etc/mail/aliases rebuilt by root
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail

This is a normal diagnostic.
Geoff Wild
Honored Contributor

Re: syslog error for sendmail

sendmail requires a properly configured network, hostname, and DNS - are there any other errors/warnings in the rc.log prior to sendmail starting?

RGds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ron Cornwell
Trusted Contributor

Re: syslog error for sendmail

Do the following command:
ps -ef | grep syslog | grep -v grep

It should return the process for syslog. If it does not, the restart syslog.

/sbin/init.d/syslogd start

The run:

/sbin/init.d/sendmail start