Comment 9 for bug 700580

Revision history for this message
Mark Sapiro (msapiro) wrote :

It appears that some list's archive directories are missing. If you do

ls -l /usr/local/cpanel/3rdparty/mailman/archives/private/

there should be a LISTNAME and a LISTNAME.mbox directory for every list. Did someone try to remove the archives for some lists? What do you have?

Note the missing list posts have been shunted, and after the archive issue is fixed, they can be unshunted by running

/usr/local/cpanel/3rdparty/mailman/bin/unshunt

but before doing that, it is advisable to examine the files in /usr/local/cpanel/3rdparty/mailman/qfiles/shunt with /usr/local/cpanel/3rdparty/mailman/bin/show_qfiles as there may be old, no longer relevant posts and/or multiple reposts.

Depending on what you want to do and what you have available, you may restore the missing directories from a backup that has them, or if you have the /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox/LISTNAME.mbox file and just the /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME directory is missing, you can run

/usr/local/cpanel/3rdparty/mailman/bin/arch LISTNAME

to recreate the HTML archive, or to create a new, empty archive from scratch, do the following

mkdir /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox
chgrp mailman /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox
chmod 2775 /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox
touch /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox/LISTNAME.mbox
chmod 664 /usr/local/cpanel/3rdparty/mailman/archives/private/LISTNAME.mbox/LISTNAME.mbox
/usr/local/cpanel/3rdparty/mailman/bin/arch LISTNAME

Note, please let me know if there is anything confidential about the list names in the error log. If not, I will mark this report public.