Re: [Mailman-Users] missing list / MAILMAN BACKUP
ok none of the files worked and I had to format my server and install all the domains and lists again .. now the question is.. I usually backup the lists members and the lists configuration (with config_list -o file) .. they were no use to me and I had to format the server.. and obviously I have to backup mailman itself to avoid this situation in the future.. so what files or directories should I backup?? thanks.. Date: Thu, 8 Oct 2009 08:46:22 -0700 From: m...@msapiro.net To: khillo...@hotmail.com; mailman-users@python.org Subject: RE: [Mailman-Users] missing list! Khalil Abbas wrote: I went to /var/lib/mailman/lists/dailymail and found these files: config.pck config.pck.corrupt config.pck.last config.pck.safety config.pck.MY-MAIL-SERVER-ADDRESS.11461 config.pck.MY-MAIL-SERVER-ADDRESS.2530 config.pck.MY-MAIL-SERVER-ADDRESS.2554 config.pck.MY-MAIL-SERVER-ADDRESS.2593 config.pck.MY-MAIL-SERVER-ADDRESS.2608 config.pck.MY-MAIL-SERVER-ADDRESS.9818 pending.pck request.pck could the correct file be there? do I have to rename any of these files to make it work again? Do /path/to/bin/dumpdb -p /var/lib/mailman/lists/dailymail/$f for $f equal to each of the above config.pck* files in turn. Some of these will probably throw an exception and some may work. For those that work, pick the file with the most recent timestamp and copy it to config.pck Also, look in mailman's 'error' log for messages with timestamps around the timestamps of the above files for more insight into the problem. if there's nothing I can do, is there a way to backup the list of members in this missing list to a text file so I can format the server and install mailman again and reconfigure the lists ? Hopefully, you can identify at least one usable config.pck and just use it. If not, you can try running strings on the files to extract data from them. -- Mark Sapiro m...@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] missing list / MAILMAN BACKUP
Khalil Abbas wrote: now the question is.. I usually backup the lists members and the lists configuration (with config_list -o file) .. they were no use to me and I had to format the server.. and obviously I have to backup mailman itself to avoid this situation in the future.. so what files or directories should I backup?? Searching the FAQ http://wiki.list.org/x/AgA3 for backup will give some ideas. Assuming a default source install, everything is in /usr/local/mailman/ - the subdirectories bin cron mail messages scriptstests cgi-bin icons Mailman pythonlib templates are static. Those that have changing contents are archives data lists locks logs qfiles spam -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] missing list!
Actually the missing list is called: dailymail.. I went to /var/lib/mailman/lists/dailymail and found these files: config.pck config.pck.corrupt config.pck.last config.pck.safety config.pck.MY-MAIL-SERVER-ADDRESS.11461 config.pck.MY-MAIL-SERVER-ADDRESS.2530 config.pck.MY-MAIL-SERVER-ADDRESS.2554 config.pck.MY-MAIL-SERVER-ADDRESS.2593 config.pck.MY-MAIL-SERVER-ADDRESS.2608 config.pck.MY-MAIL-SERVER-ADDRESS.9818 pending.pck request.pck could the correct file be there? do I have to rename any of these files to make it work again? if there's nothing I can do, is there a way to backup the list of members in this missing list to a text file so I can format the server and install mailman again and reconfigure the lists ? Thanks .. Date: Wed, 7 Oct 2009 17:50:02 -0700 From: m...@msapiro.net To: khillo...@hotmail.com; mailman-users@python.org Subject: Re: [Mailman-Users] missing list! Khalil Abbas wrote: one of my lists is missing !! I'm getting this : ./list_members list1 No such list: list1 So the list isn't there. I.e., there is no lists/list1/ directory containing at least one of config.pck, config.pck.last, config.db or config.db.last. The directory has been renamed or removed or the config.* files have been removed. 0 ./list_members list2 477 ./list_members list3 483 ./list_members list4 442 when running : bin/list_lists I get this error: ./list_lists Traceback (most recent call last): File ./list_lists, line 122, in ? main() File ./list_lists, line 94, in main mlist = MailList.MailList(n, lock=0) File /usr/lib/mailman/Mailman/MailList.py, line 130, in __init__ self.Load() File /usr/lib/mailman/Mailman/MailList.py, line 644, in Load raise Errors.MMCorruptListDatabaseError, e Mailman.Errors.MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/var/lib/mailman/lists/dailymail/config.db.last' There is a lists/dailymail/ directory containing probably a config.pck and config.pck.last, but these are somehow corrupted and can't be unpickled by the list instantiation process. Note that the current (Mailman 2.1.x) files are config.pck*. It is normal to not have config.db* files. -- Mark Sapiro m...@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] missing list!
Khalil Abbas wrote: I went to /var/lib/mailman/lists/dailymail and found these files: config.pck config.pck.corrupt config.pck.last config.pck.safety config.pck.MY-MAIL-SERVER-ADDRESS.11461 config.pck.MY-MAIL-SERVER-ADDRESS.2530 config.pck.MY-MAIL-SERVER-ADDRESS.2554 config.pck.MY-MAIL-SERVER-ADDRESS.2593 config.pck.MY-MAIL-SERVER-ADDRESS.2608 config.pck.MY-MAIL-SERVER-ADDRESS.9818 pending.pck request.pck could the correct file be there? do I have to rename any of these files to make it work again? Do /path/to/bin/dumpdb -p /var/lib/mailman/lists/dailymail/$f for $f equal to each of the above config.pck* files in turn. Some of these will probably throw an exception and some may work. For those that work, pick the file with the most recent timestamp and copy it to config.pck Also, look in mailman's 'error' log for messages with timestamps around the timestamps of the above files for more insight into the problem. if there's nothing I can do, is there a way to backup the list of members in this missing list to a text file so I can format the server and install mailman again and reconfigure the lists ? Hopefully, you can identify at least one usable config.pck and just use it. If not, you can try running strings on the files to extract data from them. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] missing list!
Khalil Abbas wrote: one of my lists is missing !! I'm getting this : ./list_members list1 No such list: list1 So the list isn't there. I.e., there is no lists/list1/ directory containing at least one of config.pck, config.pck.last, config.db or config.db.last. The directory has been renamed or removed or the config.* files have been removed. 0 ./list_members list2 477 ./list_members list3 483 ./list_members list4 442 when running : bin/list_lists I get this error: ./list_lists Traceback (most recent call last): File ./list_lists, line 122, in ? main() File ./list_lists, line 94, in main mlist = MailList.MailList(n, lock=0) File /usr/lib/mailman/Mailman/MailList.py, line 130, in __init__ self.Load() File /usr/lib/mailman/Mailman/MailList.py, line 644, in Load raise Errors.MMCorruptListDatabaseError, e Mailman.Errors.MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/var/lib/mailman/lists/dailymail/config.db.last' There is a lists/dailymail/ directory containing probably a config.pck and config.pck.last, but these are somehow corrupted and can't be unpickled by the list instantiation process. Note that the current (Mailman 2.1.x) files are config.pck*. It is normal to not have config.db* files. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9