IBM Support

Starting the sendmail daemon in AIX.

Question & Answer


Question

Why will sendmail not stay active.

Answer

There are only a couple of reasons why the sendmail daemon will not stay active.

1. Not using the correct command to start the daemon.

=============================================

The correct command to start sendmail is as follows:

#startsrc -s sendmail -a "-bd -q30m"

To check if daemon is active.

#lssrc -s sendmail

If the -bd flag is not specified, then sendmail will start up and die right away.

2. If you have verified that the correct start up command is being used, then it could be corruption, or incorrect entry in the configuration file.

====================================================================================

If sendmail.cf corruption is suspected bring a new configuration, from the following directory. But first back up your original.

cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.og

cp /usr/lpp/bos.net/inst_root/etc/mail/sendmail.cf /etc/mail/sendmail.cf

Now try to start sendmail again.

#startsrc -s sendmail -a "-bd -q30m"

3. Another program running on port 25.

================================

To check if there is another program taking up sendmail's port, run the following.

#netstat -an |grep *.25

If you get a line that reads as follows:


tcp4 0 0 *.25 *.* LISTEN

Then there is another program taking up port 25 and not allowing sendmail to start. If this is the

case then kill the program and start the default AIX sendmail.

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"APARs - AIX 5.3 environment","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.1;5.2;5.3;6.1","Edition":"Advanced","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1010669