HostOnNet Blog

Mailman Could not open archive mbox dir

Looking for Linux Server Admin or WordPress Expert? We can help.

On cpanel server, i get following email from cron job

Cron /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache

Could not open archive dir for list_flashwebhost.com: No such file or directory at /usr/local/cpanel/Cpanel/Mailman/DiskUsage.pm line 115.
Could not open archive mbox dir for list_flashwebhost.com: No such file or directory at /usr/local/cpanel/Cpanel/Mailman/DiskUsage.pm line 154.

This site is recently moved from another server. This had a Mailman mailing list, that is no longer used.

To fix the error, deleted the list_flashwebhost.com folder from /usr/local/cpanel/3rdparty/mailman/lists

root@server20 [/usr/local/cpanel/3rdparty/mailman/lists]# ls -la
total 20
drwxrwsr-x.  5 mailman mailman 4096 Oct 23 19:00 ./
drwx------. 22 mailman mailman 4096 Oct 26 06:01 ../
drwxr-sr-x   2 mailman mailman 4096 Oct 23 19:00 list_flashwebhost.com/
drwxr-sr-x.  2 mailman mailman 4096 Oct 22 16:16 mailman/
root@server20 [/usr/local/cpanel/3rdparty/mailman/lists]# rm -rf list_flashwebhost.com
root@server20 [/usr/local/cpanel/3rdparty/mailman/lists]# /scripts/update_mailman_cache
root@server20 [/usr/local/cpanel/3rdparty/mailman/lists]# 

Posted in Cpanel Server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.