Page 1 of 1
SMTP Daemon Stops
Posted: Mon Oct 23, 2006 7:38 am
by jillrae
Several times during the last 30 days my SMTP daemon has stopped. I have installed the latest version of Scalix and all updates/patches. Where do I begin to look for solutions to this problem? I have scoured the event logs but nothing really "pops out". But then, I may not really know what to look for.
Am running Saclix 10.0.1 with the 10.0.2 patch. Running Suse Linix 9 Enterprise server.
Any help is appreciated.
Jillrae
Posted: Mon Oct 23, 2006 2:20 pm
by chris
Hi Jillrae,
do you have DEBUG_LOG=TRUE set in /var/opt/scalix/sys/smtpd.cfg ?
That should create a log in /var/opt/scalix/tmp/ that may have more information.
Chris
Posted: Tue Oct 24, 2006 6:49 am
by jillrae
Thanks. I will check on the setting and read the information logged.
jillrae
Posted: Tue Oct 24, 2006 12:05 pm
by bluemike
I have been dealing with this problem for almost a year now. I have sent many deug logs to this forum (see
here and
here) but basically none of the advice seemed to help much. I eventually had to just create a CRON job that tries to restart the smtpd every 15 mins. If it's already on, the root mailbox gets an error message email. But it's worth it to me.
Sometimes it will go weeks without shutting down. And then last week to stopped (and was automatically restarted) 24 times.[/url]
Posted: Wed Nov 01, 2006 11:24 am
by jillrae
Thanks for the reply.
I know how to setup a CRON job, but do not know how to write the script. (Still in the linux learning mode.) Is it possible to get a copy/hint on how to write this script? ANy help is appreciated as the SMTP daemon decides to stop at the most in-appropiate times....:-(
Thanks again.
Jillrae
Posted: Wed Nov 01, 2006 1:34 pm
by bluemike
I think I am overstating my abilities here. I didn't actually write a cron job. I just used the 'task scheduler' in Fedora to create a new task. I have only been using Linux for a short time too. Linux and I have not gotten to that 'writing scripts' part of our relationship yet :)
I put the task under 'root' and told it to execute /opt/scalix/bin/omon smtpd (note the space between omon and smtpd) every 15 minutes. Works like a charm...
Posted: Wed Nov 01, 2006 1:37 pm
by jillrae
Thanks a lot. I will give it a try. I'm running SLES 9, but everything else should be the same.
Jillrae :-)
Posted: Thu Nov 02, 2006 7:29 am
by tonyn
A long shot ... but do you run ommaint ?
Coincidentally I just got to the bottom a similar problem on a machine I administer and it turned out to be ommaint's Portcheck script which attempts to restart the SMTPD service if it does not respond fast enough. See bug
http://bugzilla.scalix.com/show_bug.cgi?id=13679
Posted: Thu Nov 02, 2006 8:47 am
by jillrae
Tonyn,
Wow that is exactly what is happening in my logs as well. Yes, I do run ommaint.
Will the omon line in ommaint now read:
omon -w -s "SMTP Relay"
Thanks!!!!
jillrae
Posted: Thu Nov 02, 2006 8:50 am
by jillrae
OOPS, I just re-read your report
Should the omoff line in ommaint now read:
omoff -w -d0 SMTP Relay
jillrae
Posted: Thu Nov 02, 2006 9:11 am
by tonyn
Yes - that should do the trick - but don't forget to put quotes round "SMTP Relay"