Wallace unstable - need restart service after while



  • Hi Folk,

    I have been using Kolab 16 for quit sometime (more than 10 months, I think). I found the problem that wallace service freeze and block all incoming and outgoing mail.

    after I check the /var/log/kolab/pykolab.log during restart wallace service. I found the log said as following block. anyone know what is solution to fix it. I ran it on CentOS7,

    Thanks


    2018-07-01 01:25:54,367 pykolab.wallace WARNING [15845] No contents configured for footer module
    2018-07-01 01:26:00,940 pykolab.wallace ERROR [15846] SMTP Server Disconnected Error, SMTPServerDisconnected('Connection unexpectedly closed: timed out',)
    2018-07-01 01:26:00,940 pykolab.wallace ERROR [15846] Module 'footer' - Unknown error occurred; SMTPServerDisconnected('please run connect() first',)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 117, in execute
    return modules[name]['function'](*args, **kw)
    File "/usr/lib/python2.7/site-packages/wallace/module_footer.py", line 89, in execute
    exec('modules.cb_action_%s(%r, %r)' % ('ACCEPT','footer', filepath))
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 342, in cb_action_ACCEPT
    message.as_string()
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 185, in sendmail
    smtp.quit()
    File "/usr/lib64/python2.7/smtplib.py", line 767, in quit
    res = self.docmd("quit")
    File "/usr/lib64/python2.7/smtplib.py", line 392, in docmd
    self.putcmd(cmd, args)
    File "/usr/lib64/python2.7/smtplib.py", line 340, in putcmd
    self.send(str)
    File "/usr/lib64/python2.7/smtplib.py", line 332, in send
    raise SMTPServerDisconnected('please run connect() first')
    SMTPServerDisconnected: please run connect() first
    2018-07-01 01:26:00,973 pykolab.wallace ERROR [15845] SMTP Server Disconnected Error, SMTPServerDisconnected('Connection unexpectedly closed: timed out',)
    2018-07-01 01:26:00,973 pykolab.wallace ERROR [15845] Module 'footer' - Unknown error occurred; SMTPServerDisconnected('please run connect() first',)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 117, in execute
    return modules[name]['function'](*args, **kw)
    File "/usr/lib/python2.7/site-packages/wallace/module_footer.py", line 89, in execute
    exec('modules.cb_action
    %s(%r, %r)' % ('ACCEPT','footer', filepath))
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 342, in cb_action_ACCEPT
    message.as_string()
    File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 185, in _sendmail
    smtp.quit()
    File "/usr/lib64/python2.7/smtplib.py", line 767, in quit
    res = self.docmd("quit")
    File "/usr/lib64/python2.7/smtplib.py", line 392, in docmd
    self.putcmd(cmd, args)
    File "/usr/lib64/python2.7/smtplib.py", line 340, in putcmd
    self.send(str)
    File "/usr/lib64/python2.7/smtplib.py", line 332, in send
    raise SMTPServerDisconnected('please run connect() first')
    SMTPServerDisconnected: please run connect() first


Log in to reply