[server-admins] Mailman issues

Troy A. Griffitts scribe at crosswire.org
Sun Jun 13 22:57:27 MST 2010


Interesting:

[root at www ~]#   /usr/lib64/mailman/cron/checkdbs
Traceback (most recent call last):
  File "/usr/lib64/mailman/cron/checkdbs", line 203, in <module>
    main()
  File "/usr/lib64/mailman/cron/checkdbs", line 88, in main
    count = mlist.NumRequestsPending()
  File "/usr/lib64/mailman/Mailman/ListAdmin.py", line 132, in
NumRequestsPending
    self.__opendb()
  File "/usr/lib64/mailman/Mailman/ListAdmin.py", line 86, in __opendb
    self.__db = cPickle.load(fp)
cPickle.UnpicklingError: invalid load key, 'D'.


On 06/13/2010 10:40 PM, Jonathan Marsden wrote:
> On 06/13/2010 11:57 AM, Troy A. Griffitts wrote:
>
> > Your mail to 'Mailman' with the subject
>
> >     Cron <mailman at www> /usr/lib64/mailman/cron/checkdbs
>
> The issue is that this cron script is detecting a problem with the
> mailman database and trying to email it to mailman.
>
> I'd run
>
>   /usr/lib64/mailman/cron/checkdbs
>
> at a shell prompt and see what the error is, and then fix it.  You may
> need to run that as root or as mailman, I don't remember.  When all is
> well, that script will not generate any output, and so nothing will be
> mailed to you when it runs nightly from cron.
>
> As a secondary issue, you should find out why it is mailing its output
> to "mailman", instead of to root which should be aliased to a real human
> sysadmin's email account.  But I'd urge you to fix the mailman db first,
> before spending time tracking that down.
>
> Jonathan

_______________________________________________
server-admins mailing list
server-admins at crosswire.org
http://www.crosswire.org/mailman/listinfo/server-admins





More information about the server-admins mailing list