Operating System - HP-UX
1753768 Members
4921 Online
108799 Solutions
New Discussion юеВ

errors of sendmail stop/start

 
Victor_5
Trusted Contributor

errors of sendmail stop/start

1. I try to stop sendmail
#/sbin/init.d/sendmail stop
stop... user unknown

2. I used kisssm to stop to sendmail, then restart it,
/sbin/init.d/sendmail start
/sbin/init.d/sendmail[86]:nf:;not found
/sbin/init.d/sendmail[86]:f:not found
WARNING: local host name is not qualified;fix $j in config file /etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail

What are those error messages mean? How to slove them? Thanks.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: errors of sendmail stop/start

Victor,

For the syntax errors, I advise you copy /sbin/init.d/sendmail script from some other server. Or look at line 86 to see what's in there.

For the 'hostname not qualified' means your host is not properly getting resolved through DNS. If you are not using DNS, then you can make it qualified by adding a dot "." after the host entry in /etc/hosts file. like

xx.xx.xx.xx yourserver yourserver.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
S.K. Chan
Honored Contributor

Re: errors of sendmail stop/start

Check /etc/mail/sendmail.cf and look for the line that has "Dj$", it should look like this ..

Dj$w.

ie with a "." at the end so that sendmail is able to interpret the short hostname as the fully qualified domain name.

Helen French
Honored Contributor

Re: errors of sendmail stop/start

Hi Victor:

Check this document too(TKB #2200202203):

http://us-support.external.hp.com/cki/bin/doc.pl/sid=b44545bd08fc1a4aeb/screen=ckiDisplayDocument?docId=200000058096731

HTH,
Shiju

Life is a promise, fulfill it!