Guest User!

You are not Sophos Staff.

[8.163][BUG][FIXED] Smtp daemon not running

hI All

I've noticed that my SMTP daemon keeps restarting all day today. I can't find any info on the smpt log though. Where should I be looking for?

Thanks
  • Astaro Beta Report
    --------------------------------
    Version: 8.163
    Type: BUG
    State: TESTED/FIXED
    Reporter: wingman++
    Contributor: Billybob
    MantisID: 18320
    Target version: 8.172
    Fixed in version: 8.172
    --------------------------------

  • Hi wingman,

    please post your /var/log/smtp.log.

    Regards,
    mlenk
  • Hi wingman,

    from what I can see in the smtp.log this looks all normal. What exactly makes you believe that the SMTP daemon is not running?

    Regards,
    mlenk
  • That's what I said mlenk as well. However, i got 5 email notification saying that the process restarted(attached)

    I'vc also seen the relevant log in the admin notification file 

    2011:04:14-11:01:13 *** notifier[3021]: snmp traps for INFO-125 are disabled
    
    2011:04:14-11:01:13 *** notifier[3021]: successfully processed request for notification
  • Can you please list the times when the notifications were sent? Maybe there are some links in the selfmon.log too.
  • The times per notification log are below

    2011:04:14-03:15:03 ****** notifier[8801]: snmp traps for INFO-125 are disabled
    2011:04:14-07:30:27 ****** notifier[22159]: snmp traps for INFO-125 are disabled
    2011:04:14-08:48:30 ****** notifier[26148]: snmp traps for INFO-125 are disabled
    2011:04:14-11:01:13 ****** notifier[3021]: snmp traps for INFO-125 are disabled



    I think selfmon log is the correct one [;)]

    2011:04:14-03:10:23 ******selfmonng[5268]: I check Failed increment smtp_running counter 1 - 15
    2011:04:14-03:10:43 ******selfmonng[5268]: I check Failed increment smtp_running counter 2 - 15
    2011:04:14-03:11:03 ******selfmonng[5268]: I check Failed increment smtp_running counter 3 - 15
    2011:04:14-03:11:23 ******selfmonng[5268]: I check Failed increment smtp_running counter 4 - 15
    2011:04:14-03:11:43 ******selfmonng[5268]: I check Failed increment smtp_running counter 5 - 15
    2011:04:14-03:12:03 ******selfmonng[5268]: I check Failed increment smtp_running counter 6 - 15
    2011:04:14-03:12:23 ******selfmonng[5268]: I check Failed increment smtp_running counter 7 - 15
    2011:04:14-03:12:43 ******selfmonng[5268]: I check Failed increment smtp_running counter 8 - 15
    2011:04:14-03:13:03 ******selfmonng[5268]: I check Failed increment smtp_running counter 9 - 15
    2011:04:14-03:13:23 ******selfmonng[5268]: I check Failed increment smtp_running counter 10 - 15
    2011:04:14-03:13:43 ******selfmonng[5268]: I check Failed increment smtp_running counter 11 - 15
    2011:04:14-03:14:03 ******selfmonng[5268]: I check Failed increment smtp_running counter 12 - 15
    2011:04:14-03:14:23 ******selfmonng[5268]: I check Failed increment smtp_running counter 13 - 15
    2011:04:14-03:14:43 ******selfmonng[5268]: I check Failed increment smtp_running counter 14 - 15
    2011:04:14-03:15:03 ******selfmonng[5268]: W check Failed increment smtp_running counter 15 - 15
    2011:04:14-03:15:03 ******selfmonng[5268]: Smtpd not running - restarted
    2011:04:14-03:15:03 ******selfmonng[5268]: W NOTIFYEVENT Name=smtp_running Level=INFO Id=125 sent
    2011:04:14-03:15:03 ******selfmonng[5268]: W triggerAction: 'cmd'
    2011:04:14-03:15:03 ******selfmonng[5268]: W actionCmd(+):  '/var/mdw/scripts/smtp restart'
    2011:04:14-03:15:06 ******selfmonng[5268]: W child returned status: exit='0' signal='0'
    2011:04:14-07:25:47 ******selfmonng[5268]: I check Failed increment smtp_running counter 1 - 15
    2011:04:14-07:26:07 ******selfmonng[5268]: I check Failed increment smtp_running counter 2 - 15
    2011:04:14-07:26:27 ******selfmonng[5268]: I check Failed increment smtp_running counter 3 - 15
    2011:04:14-07:26:47 ******selfmonng[5268]: I check Failed increment smtp_running counter 4 - 15
    2011:04:14-07:27:07 ******selfmonng[5268]: I check Failed increment smtp_running counter 5 - 15
    2011:04:14-07:27:27 ******selfmonng[5268]: I check Failed increment smtp_running counter 6 - 15
    2011:04:14-07:27:47 ******selfmonng[5268]: I check Failed increment smtp_running counter 7 - 15
    2011:04:14-07:28:07 ******selfmonng[5268]: I check Failed increment smtp_running counter 8 - 15
    2011:04:14-07:28:27 ******selfmonng[5268]: I check Failed increment smtp_running counter 9 - 15
    2011:04:14-07:28:47 ******selfmonng[5268]: I check Failed increment smtp_running counter 10 - 15
    2011:04:14-07:29:07 ******selfmonng[5268]: I check Failed increment smtp_running counter 11 - 15
    2011:04:14-07:29:27 ******selfmonng[5268]: I check Failed increment smtp_running counter 12 - 15
    2011:04:14-07:29:47 ******selfmonng[5268]: I check Failed increment smtp_running counter 13 - 15
    2011:04:14-07:30:07 ******selfmonng[5268]: I check Failed increment smtp_running counter 14 - 15
    2011:04:14-07:30:27 ******selfmonng[5268]: W check Failed increment smtp_running counter 15 - 15
    2011:04:14-07:30:27 ******selfmonng[5268]: Smtpd not running - restarted
    2011:04:14-07:30:27 ******selfmonng[5268]: W NOTIFYEVENT Name=smtp_running Level=INFO Id=125 sent
    2011:04:14-07:30:27 ******selfmonng[5268]: W triggerAction: 'cmd'
    2011:04:14-07:30:27 ******selfmonng[5268]: W actionCmd(+):  '/var/mdw/scripts/smtp restart'
    2011:04:14-07:30:29 ******selfmonng[5268]: W child returned status: exit='0' signal='0'
    2011:04:14-08:43:50 ******selfmonng[5268]: I check Failed increment smtp_running counter 1 - 15
    2011:04:14-08:44:10 ******selfmonng[5268]: I check Failed increment smtp_running counter 2 - 15
    2011:04:14-08:44:30 ******selfmonng[5268]: I check Failed increment smtp_running counter 3 - 15
    2011:04:14-08:44:50 ******selfmonng[5268]: I check Failed increment smtp_running counter 4 - 15
    2011:04:14-08:45:10 ******selfmonng[5268]: I check Failed increment smtp_running counter 5 - 15
    2011:04:14-08:45:30 ******selfmonng[5268]: I check Failed increment smtp_running counter 6 - 15
    2011:04:14-08:45:50 ******selfmonng[5268]: I check Failed increment smtp_running counter 7 - 15
    2011:04:14-08:46:10 ******selfmonng[5268]: I check Failed increment smtp_running counter 8 - 15
    2011:04:14-08:46:30 ******selfmonng[5268]: I check Failed increment smtp_running counter 9 - 15
    2011:04:14-08:46:50 ******selfmonng[5268]: I check Failed increment smtp_running counter 10 - 15
    2011:04:14-08:47:10 ******selfmonng[5268]: I check Failed increment smtp_running counter 11 - 15
    2011:04:14-08:47:30 ******selfmonng[5268]: I check Failed increment smtp_running counter 12 - 15
    2011:04:14-08:47:50 ******selfmonng[5268]: I check Failed increment smtp_running counter 13 - 15
    2011:04:14-08:48:10 ******selfmonng[5268]: I check Failed increment smtp_running counter 14 - 15
    2011:04:14-08:48:30 ******selfmonng[5268]: W check Failed increment smtp_running counter 15 - 15
    2011:04:14-08:48:30 ******selfmonng[5268]: Smtpd not running - restarted
    2011:04:14-08:48:30 ******selfmonng[5268]: W NOTIFYEVENT Name=smtp_running Level=INFO Id=125 sent
    2011:04:14-08:48:30 ******selfmonng[5268]: W triggerAction: 'cmd'
    2011:04:14-08:48:30 ******selfmonng[5268]: W actionCmd(+):  '/var/mdw/scripts/smtp restart'
    2011:04:14-08:48:32 ******selfmonng[5268]: W child returned status: exit='0' signal='0'
    2011:04:14-10:56:33 ******selfmonng[5268]: I check Failed increment smtp_running counter 1 - 15
    2011:04:14-10:56:53 ******selfmonng[5268]: I check Failed increment smtp_running counter 2 - 15
    2011:04:14-10:57:13 ******selfmonng[5268]: I check Failed increment smtp_running counter 3 - 15
    2011:04:14-10:57:33 ******selfmonng[5268]: I check Failed increment smtp_running counter 4 - 15
    2011:04:14-10:57:53 ******selfmonng[5268]: I check Failed increment smtp_running counter 5 - 15
    2011:04:14-10:58:13 ******selfmonng[5268]: I check Failed increment smtp_running counter 6 - 15
    2011:04:14-10:58:33 ******selfmonng[5268]: I check Failed increment smtp_running counter 7 - 15
    2011:04:14-10:58:53 ******selfmonng[5268]: I check Failed increment smtp_running counter 8 - 15
    2011:04:14-10:59:13 ******selfmonng[5268]: I check Failed increment smtp_running counter 9 - 15
    2011:04:14-10:59:33 ******selfmonng[5268]: I check Failed increment smtp_running counter 10 - 15
    2011:04:14-10:59:53 ******selfmonng[5268]: I check Failed increment smtp_running counter 11 - 15
    2011:04:14-11:00:13 ******selfmonng[5268]: I check Failed increment smtp_running counter 12 - 15
    2011:04:14-11:00:33 ******selfmonng[5268]: I check Failed increment smtp_running counter 13 - 15
    2011:04:14-11:00:53 ******selfmonng[5268]: I check Failed increment smtp_running counter 14 - 15
    2011:04:14-11:01:13 ******selfmonng[5268]: W check Failed increment smtp_running counter 15 - 15
    2011:04:14-11:01:13 ******selfmonng[5268]: Smtpd not running - restarted
    2011:04:14-11:01:13 ******selfmonng[5268]: W NOTIFYEVENT Name=smtp_running Level=INFO Id=125 sent
    2011:04:14-11:01:13 ******selfmonng[5268]: W triggerAction: 'cmd'
    2011:04:14-11:01:13 ******selfmonng[5268]: W actionCmd(+):  '/var/mdw/scripts/smtp restart'
    2011:04:14-11:01:15 ******selfmonng[5268]: W child returned status: exit='0' signal='0'


    Thanks
  • Nice. Now please take the timestamps of the first "check Failed" in each block and take a look at the confd.log and the mdw.log at that time. Are there any error messages with that timestamp?
  • couldn't find anything interesting-I have this for you to have a look
    Today no smptd daemon issues so far
  • Hmm... I guess that mlenk has to take a closer look at this, as soon as he's back in the office next week. He knows the inner workings of the email stuff much better than i do.