Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
On Mon, Dec 1, 2008 at 18:39, Mark Sapiro <[EMAIL PROTECTED]> wrote: > Something like the following: Thanks yet again! Richard -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailma

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Mark Sapiro
Richard Hartmann wrote: > >For reference, how should the output of dumpdb -p look like if the >files were OK? Something like the following: [- start pickle file -] <- start object 1 -> (this section has the raw message text) <- start object 2 -> { '_parsemsg': True,

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
On Mon, Dec 1, 2008 at 18:24, Mark Sapiro <[EMAIL PROTECTED]> wrote: > It looks like the files are corrupt. You may be able to see something > of the contents with 'strings', but Mailman won't be able to process > them as they are. > > If strings allows you to actually recover a message from the f

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Mark Sapiro
Richard Hartmann wrote: > >> You should >> dump the file with "bin/dumpdb -p" to make sure it contains both a >> message and a metadata object before renaming it. > ># /usr/lib/mailman/bin/dumpdb -p >/var/lib/mailman/qfiles/shunt/1227775710.928695+a44f4a2c5af5927c529c6c4a5589ab71759a1f86.pck.tmp >[

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
On Mon, Dec 1, 2008 at 18:01, Mark Sapiro <[EMAIL PROTECTED]> wrote: > First of all, your /etc/init.d/mailman script come from plesk or some > other packager. Our suggested script doesn't attempt to remove lock > files. Yes, it's Plesk (unfortunately). > You should > dump the file with "bin/dum

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Mark Sapiro
Richard Hartmann wrote: >Even more info (should have stated that in the first email): > >This is a NFS share. So it might 'just' be a crappy net connection. > >Any thoughts about this patch which I plan to apply locally? >Beware evil GMail linebreaks.. > > >--- /usr/lib/mailman/Mailman/Queue/Switc

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Mark Sapiro
Richard Hartmann wrote: >Further info: > >Restarting mailman gives me > ># /etc/init.d/mailman restart >Shutting down mailman > > done >rm: cannot remove `/var/lib/mailman/locks/*': No such file or directory >Starting mailmanrm: cannot remove `/

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
On Mon, Dec 1, 2008 at 15:14, J.A. Terranson <[EMAIL PROTECTED]> wrote: > try this: > >./mailmanctl stop >./mailmanctl --stale-lock-cleanup start Nope, the warnings are still there. I don't really care about those, though. My main concern is to make Mailman reliably relay list mai

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread J.A. Terranson
On Mon, 1 Dec 2008, Richard Hartmann wrote: > Restarting mailman gives me > > # /etc/init.d/mailman restart > Shutting down mailman > > done > rm: cannot remove `/var/lib/mailman/locks/*': No such file or directory > Starting mailmanrm: cannot

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
Even more info (should have stated that in the first email): This is a NFS share. So it might 'just' be a crappy net connection. Any thoughts about this patch which I plan to apply locally? Beware evil GMail linebreaks.. --- /usr/lib/mailman/Mailman/Queue/Switchboard.py.orig 2008-12-01 11:46:3

Re: [Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
Further info: Restarting mailman gives me # /etc/init.d/mailman restart Shutting down mailman done rm: cannot remove `/var/lib/mailman/locks/*': No such file or directory Starting mailmanrm: cannot remove `/var/lib/mailman/locks/*': No such f

[Mailman-Users] Strange error with Mailman 2.1.9

2008-12-01 Thread Richard Hartmann
Hi all, I have this in my error log: Nov 27 09:53:19 2008 post(18252): Traceback (most recent call last): post(18252): File "/usr/lib/mailman/scripts/post", line 69, in ? post(18252): main() post(18252): File "/usr/lib/mailman/scripts/post", line 64, in main post(18252): tolist=1, _