Re: [Mailman-Users] fix_url error
Please include the list in your replies.
Catherine Maxwell wrote:
At 10:21 PM 9/29/2006, you wrote:
Sorry for being cryptic. By "command line?" I meant what was the command line you typed?
Oh.
bin/withlist -l -r fix_url listname -u hostname.com
But that isn't the most of it. All attempts for the list are stating that no list by that name. Error logs are stating this (from the same timestamp):
Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.pck
Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.pck.last
Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.db [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db' Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.db.last [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db.last' Sep 30 03:21:01 2006 (778) All listname fallbacks were corrupt, giving up Sep 30 03:21:01 2006 gate_news(778): Traceback (most recent call last): Sep 30 03:21:01 2006 gate_news(778): File "/usr/local/mailman/cron/gate_news", line 284, in ? Sep 30 03:21:01 2006 gate_news(778): main() Sep 30 03:21:01 2006 gate_news(778): File "/usr/local/mailman/cron/gate_news", line 264, in main Sep 30 03:21:01 2006 gate_news(778): process_lists(lock) Sep 30 03:21:01 2006 gate_news(778): File "/usr/local/mailman/cron/gate_news", line 199, in process_lists Sep 30 03:21:01 2006 gate_news(778): mlist = MailList.MailList(listname, lock=0) Sep 30 03:21:01 2006 gate_news(778): File "/usr/local/mailman/Mailman/MailList.py", line 129, in __init__ Sep 30 03:21:01 2006 gate_news(778): self.Load() Sep 30 03:21:01 2006 gate_news(778): File "/usr/local/mailman/Mailman/MailList.py", line 640, in Load Sep 30 03:21:01 2006 gate_news(778): raise Errors.MMCorruptListDatabaseError, e Sep 30 03:21:01 2006 gate_news(778): Mailman.Errors . MMCorruptListDatabaseError : [Errno 2] No such file or directory: '/u sr/local/mailman/lists/listname/config.db.last'
These are the files that are on the server:
-rw-rw---- 1 mailman mailman 216198 Sep 29 00:41 config.pck -rw-r----- 1 mailman mailman 93225 Oct 3 2005 config.pck.bak -rw-rw---- 1 mailman mailman 216192 Sep 29 00:41 config.pck.last -rw-rw---- 1 mailman mailman 27421 Sep 28 20:04 digest.mbox -rw-rw---- 1 mailman mailman 11615 Sep 29 00:41 pending.pck -rw-rw-r-- 1 mailman mailman 6430 Sep 29 00:41 request.pck
And did you run the withlist -r fix_url command as the mailman user?
I normally just run it as the vroot user.
In what context? I.e. what URL or command is reporting no list?
For example: bin/list_members latinteach
No such list: latinteach
You could try
mv config.pck config.pck.2.bak mv config.pck.last config.pck
I tried that. It didn't make any difference.
We had a power outage last night and today we had issues with the lists distributing mail and digesting. I think that I have fixed all the other lists but this list seems to be the only one with this latent problem. I can't figure it out. The messages in the archive seem to be in place (at least I can read them with pine). I created a new list to work around this but when I try to get the members list, it states no such list. So I'm stuck.
What does bin/list_lists report?
What does bin/check_perms run as root report?
What are the permissions on the lists/listname directory itself?
What does bin/dumpdb lists/listname/config.pck report? (You can elide all the membership info. In fact, if you get a reasonable looking report, you can just compare it to that of another list to verify that it looks good.)
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
At 11:22 PM 9/29/2006, Mark Sapiro wrote:
What does bin/list_lists report?
It displays the listname there.
What does bin/check_perms run as root report?
It states: No problems found
What are the permissions on the lists/listname directory itself?
drwxrwsr-x 2 mailman mailman 512 Sep 30 02:49 listname
What does bin/dumpdb lists/listname/config.pck report? (You can elide all the membership info. In fact, if you get a reasonable looking report, you can just compare it to that of another list to verify that it looks good.)
[----- start pickle file -----] [----- end pickle file -----]
All of the reports look fine except the program won't identify that the list exists. Conclusion: corrupted config.pck.
So I dug around and found a old config.pck for that list from last year and saved it to the lists/listname directory and -- wonders of wonders -- the list's webpages are all back including members and archives. The configuration needs to be updated but everything else is there. :) Now on to enjoy the rest of my weekend.
--Catherine
Catherine Maxwell wrote:
At 11:22 PM 9/29/2006, Mark Sapiro wrote:
What does bin/dumpdb lists/listname/config.pck report? (You can elide all the membership info. In fact, if you get a reasonable looking report, you can just compare it to that of another list to verify that it looks good.)
[----- start pickle file -----] [----- end pickle file -----]
All of the reports look fine except the program won't identify that the list exists. Conclusion: corrupted config.pck.
If you are saying that the two lines
[----- start pickle file -----] [----- end pickle file -----]
were the entire output from bin/dumpdb, then I agree that config.pck was corrupt.
So I dug around and found a old config.pck for that list from last year and saved it to the lists/listname directory and -- wonders of wonders -- the list's webpages are all back including members and archives. The configuration needs to be updated but everything else is there. :) Now on to enjoy the rest of my weekend.
You previously wrote:
These are the files that are on the server:
-rw-rw---- 1 mailman mailman 216198 Sep 29 00:41 config.pck -rw-r----- 1 mailman mailman 93225 Oct 3 2005 config.pck.bak -rw-rw---- 1 mailman mailman 216192 Sep 29 00:41 config.pck.last -rw-rw---- 1 mailman mailman 27421 Sep 28 20:04 digest.mbox -rw-rw---- 1 mailman mailman 11615 Sep 29 00:41 pending.pck -rw-rw-r-- 1 mailman mailman 6430 Sep 29 00:41 request.pck
Is the config.pck.bak from Oct 3 2005 the one you used, or did you find one more recent than that?
I would be concerned about 2 things. The Oct 3 2005 file is less than half the size of the 'current' files. This is probably because that file has a lot fewer list members.
Also, the Sept 29 config.pck and config.pck.last are 6 bytes different in size. This suggests to me that the config.pck.last was successfully accessed and updated to produce the corrupt config.pck. Thus, I am surprised that it too is corrupt, but it does appear to be. Possibly your power outage caused the corruption 'outside' of Mailman - maybe some disk cache didn't get flushed.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Catherine Maxwell
-
Mark Sapiro