Showing results for 
Search instead for 
Did you mean: 

errors of sendmail stop/start

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

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

Re: errors of sendmail stop/start


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.


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/ and look for the line that has "Dj$", it should look like this ..


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


Life is a promise, fulfill it!