View Single Post
  #17  
Old 29th June 2013, 02:44
Chluz Chluz is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 4 Times in 4 Posts
Default Message when starting mailscanner

Hi; all is working mostly well; but I have two questions

first, when starting mailscanner from the command line I get a

Code:
 * Restarting mail spam/virus scanner MailScanner    No process in pidfile '/var/run/MailScanner/MailScanner.pid' found running; none killed.


MailScanner Started
                                                                                                                                                    [ OK ]
I checked my /etc/init.d/mailscanner file and redid the corresponding section in page 2 and the modifications in page 3 but it still does it

The second problem I have is that a lot of times after a reboot, Baruwa will not let me learn or preview an email:
The Baruwa log shows somethiong about a warm shutdown of celeryd, but doesnt say why (I tried to reboot to get the message now but of course it didint do it this time, it used to be pretty systematic though)

EDIT : got the message this mornring
Code:
[2013-06-29 10:39:07,417: INFO/MainProcess] Got task from broker: preview-message[d5cdcde9-a53b-412c-9fcd-dcfcadc36b8a]
[2013-06-29 10:39:07,463: INFO/PoolWorker-3] preview-message[d5cdcde9-a53b-412c-9fcd-dcfcadc36b8a]: Preview of message: 349F91E62E92.AED9C requested by user:
[2013-06-29 10:39:07,582: INFO/MainProcess] Task preview-message[d5cdcde9-a53b-412c-9fcd-dcfcadc36b8a] succeeded in 0.163022994995s: {'headers': {'date': u'Sat, 29 Jun 2013...
[2013-06-29 10:50:55,439: WARNING/MainProcess] celeryd: Warm shutdown (MainProcess)
[2013-06-29 10:50:55,439: INFO/MainProcess] Celerybeat: Shutting down...
[2013-06-29 10:50:56,186: INFO/PoolWorker-2] process shutting down
[2013-06-29 10:50:56,186: INFO/PoolWorker-2] process exiting with exitcode 0
[2013-06-29 10:50:56,187: INFO/PoolWorker-3] process shutting down
[2013-06-29 10:50:56,188: INFO/PoolWorker-3] process exiting with exitcode 0
[2013-06-29 10:50:56,347: INFO/MainProcess] process shutting down
and i get an error in the /var/crash which reads
Code:
root@gateway:/home/charles-luzzato# apport-retrace -s _usr_share_pyshared_baruwa_manage.py.125.crash
Traceback (most recent call last):
  File "/usr/bin/apport-retrace", line 267, in <module>
    crashdb = get_crashdb(options.auth)
  File "/usr/lib/python2.7/dist-packages/apport/crashdb.py", line 841, in get_crashdb
  File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 20, in <module>
  File "/usr/lib/python2.7/dist-packages/launchpadlib/errors.py", line 20, in <module>
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py", line 19, in <module>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2727, in <module>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 700, in subscribe
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2727, in <lambda>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2227, in activate
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2322, in insert_on
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2179, in version
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2221, in _get_metadata
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1536, in get_metadata_lines
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1529, in get_metadata
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/setuptools.egg-info'
If i restart baruwa everything runs smoothly though; although I do get crashes without reboots every once in a while
I have updated mailscanner to latest version to no avail

Last edited by Chluz; 30th June 2013 at 10:13.
Reply With Quote