Page 1 of 1

smtpd down but showing up

Posted: Thu Mar 01, 2007 1:28 pm
by kanderson
I have a server where smtpd doesn't seem to be running.

lsof -i tcp:25

shows sendmail, but not smtpd.

There are no errors in the logs, and smtpd doesn't get either logged or audited.

omstat shows it running normally. Telnet will not connect.

I see unix.out running, but not unix.in

Any hints on where to start?

Kev.

Posted: Thu Mar 01, 2007 1:32 pm
by dkelly
Does the OMHOSTNAME value in /etc/opt/scalix/instance.cfg ( or the hostname itself ) map to 127.0.0.1 ?

Cheers

Dave

Posted: Thu Mar 01, 2007 1:38 pm
by kanderson
/opt/scalix/global/config doesn't. It shows clglnxsclx1

/etc/opt/scalix/instance.cfg doesn't exist.

The hostname is correct, as is /etc/hosts.

They are running 10.0.1 on Sles9 and have been up for about a year. It just quit in the middle of the night. There was no maintenance done or changes made.

Kev.

Posted: Thu Mar 01, 2007 1:41 pm
by dkelly
Try this:[code]omoff -d 0 smtpd
omreset -o on smtp
strace -f /opt/scalix/bin/smtpd[code]

and see if that gives any hints.

Cheers

Dave

Posted: Thu Mar 01, 2007 1:55 pm
by kanderson
I don't have /opt/scalix/bin/smtpd file, so the error is just command not found.

strace -f omon smtpd give me a few "no such file or directory" errors for /opt/scalix/lib/security/om_diag.la or sasldb.la or pam_permit.la

Checking the directory, I have so files, but not la. Perms look good. 555 scalix:scalix.

Does that help?

Posted: Thu Mar 01, 2007 1:56 pm
by dkelly
Sorry...That should have read /opt/scalix/bin/omsmtpd.
My bad.

Cheers

Dave

Posted: Thu Mar 01, 2007 2:06 pm
by kanderson
That ain't good...

fatal now shows [OM 0] as well as [om.dmon 2170] - Failed to record starting.

Kev.

Posted: Thu Mar 01, 2007 2:07 pm
by dkelly
OK...it was worth a try :-)

In that case:

Code: Select all

omconflvl -a smtpd 13
omoff -d0 smtpd
omreset -o off smtpd
omon smtpd


and check the event logs.

Cheers

Dave

Posted: Thu Mar 01, 2007 2:10 pm
by kanderson
tailing the trace shows broken pipe and file descriptors at the end, (It's still running, actually) and closer to the top, there are no such file or directory errors for tls/i686/sse2/libnsl.so, and so on...

I'm not too sure what I should be looking for here, to be honest.

Kev.