SMTP Daemon Stops

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

SMTP Daemon Stops

Postby jillrae » Mon Oct 23, 2006 7:38 am

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

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Mon Oct 23, 2006 2:20 pm

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

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Tue Oct 24, 2006 6:49 am

Thanks. I will check on the setting and read the information logged.

jillrae

bluemike
Posts: 202
Joined: Fri Oct 28, 2005 1:30 pm
Location: Everett,WA
Contact:

Postby bluemike » Tue Oct 24, 2006 12:05 pm

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]

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Wed Nov 01, 2006 11:24 am

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

bluemike
Posts: 202
Joined: Fri Oct 28, 2005 1:30 pm
Location: Everett,WA
Contact:

Postby bluemike » Wed Nov 01, 2006 1:34 pm

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...

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Wed Nov 01, 2006 1:37 pm

Thanks a lot. I will give it a try. I'm running SLES 9, but everything else should be the same.

Jillrae :-)

tonyn
Scalix
Scalix
Posts: 12
Joined: Mon Jul 04, 2005 4:33 am

Postby tonyn » Thu Nov 02, 2006 7:29 am

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

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu Nov 02, 2006 8:47 am

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

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu Nov 02, 2006 8:50 am

OOPS, I just re-read your report

Should the omoff line in ommaint now read:

omoff -w -d0 SMTP Relay

jillrae

tonyn
Scalix
Scalix
Posts: 12
Joined: Mon Jul 04, 2005 4:33 am

Postby tonyn » Thu Nov 02, 2006 9:11 am

Yes - that should do the trick - but don't forget to put quotes round "SMTP Relay"


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests