[Mailman-Users] cron errors & corrupt config.pck.last
Tim Flight
tflight at adelphia.net
Sun Jan 2 22:36:35 CET 2005
Hello, I'm new at mailman so sorry if this is routine. I've searched
and found others who had the same problem, but no solution. I'm running
the default mailman install (2.1.2) on Mac OS X Server 10.3.7.
Once every few days I get the following email sent to me from my server:
+--------------------+
From: user at host (Cron Daemon)
Date: December 29, 2004 9:00:01 AM EST
To: user at host
Subject: Cron <mailman at host> /usr/bin/python -S
/usr/share/mailman/cron/disabled
Traceback (most recent call last):
File "/usr/share/mailman/cron/disabled", line 209, in ?
main()
File "/usr/share/mailman/cron/disabled", line 202, in main
mlist.Save()
File "/usr/share/mailman/Mailman/MailList.py", line 515, in Save
self.__save(dict)
File "/usr/share/mailman/Mailman/MailList.py", line 487, in __save
os.unlink(fname_last)
OSError: [Errno 22] Invalid argument:
'/private/var/mailman/lists/listname/config.pck.last'
+--------------------+
And the following information appears in my system log at the same
time. It normally repeats itself a few times.
+--------------------+
Dec 29 09:00:09 2004 (362) Traceback (most recent call last):
File "/usr/share/mailman/Mailman/Queue/Runner.py", line 105, in
_oneloop
self._onefile(msg, msgdata)
File "/usr/share/mailman/Mailman/Queue/Runner.py", line 155, in
_onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 133,
in _dispose
mlist.Save()
File "/usr/share/mailman/Mailman/MailList.py", line 515, in Save
self.__save(dict)
File "/usr/share/mailman/Mailman/MailList.py", line 487, in __save
os.unlink(fname_last)
OSError: [Errno 22] Invalid argument:
'/private/var/mailman/lists/listname/config.pck.last'
Dec 29 09:00:09 2004 (362) SHUNTING:
1104328808.746958+91cc991ae5e0f3557708745b0acf8615bb3b2455
+--------------------+
Through much research into the problem I've figured out how to *fix*
the problem, but not how to prevent it from happening again. It seems
to happen about once or twice per week.
The /private/var/mailman/lists/listname/config.pck.last file becomes
corrupt. So corrupt that even "sudo rm config.pck.last" won't get rid
of it. However "sudo mv config.pck.last config.pck.last.old; sudo rm
config.pck.last.old" will get rid of the corrupt file. Then I restart
mailman and everything is fine for a few days.
Anybody have any clue what is causing the config.pck.last file to
become corrupt?
More information about the Mailman-Users
mailing list