Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2003
    Location
    Baltimore, Maryland
    Posts
    8

    Default Mailman Permission Errors

    Hello,

    Reluctantly I updated to current from release primarily because I needed to get the Horde security update. Everything worked fine but mailman web interface gives off a error

    Bug in Mailman version 2.1.7

    We're sorry, we hit a bug!
    I go look at mailman error log .. Nothing .. I see this error in apache logs ..


    IOError: [Errno 13] Permission denied: ''

    More to it .. But that is the relevant part of the error ..
    I look at permissions on /usr/local/cpanel/3rdparty/mailman/logs/error

    okw-rw-r-- 1 mailman mailman 0 Apr 21 22:22

    Whola maybe its because of permissions .. on a lark I say ok .. maybe I will chmod 666 that file .. Still get the error .. But now information is being written to this log file ... it seems that the config.pck file under lists/maillistname/ has a permission error .. I go ok .. I will bite .. lets chmod that lil guy to 664 from 660 ..

    Whola .. the lists start working ..

    So .. I say what is it that is wanting to access these files .. Hmmmm .. oh yah .. the web server user .. nobody .. sure enough .. chgrp nobody to all files with existing permissions and it works also.

    I am happy I got this to work .. But really am confused as to what the permissions should be ??? Anybody have a current release with working mailman and can shed any light ???

    Thanks,

    Francesca

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Try first running /check_perms and /check_db. That should fix the problems. But in answer to your question:

    Code:
    drwxrwsr-x   4 mailman mailman     4096 Apr 13 13:17 ./
    drwxrwsr-x  24 mailman mailman     4096 Mar 15 14:04 ../
    -rw-r--r--   1 mailman mailman 31447462 Apr 25 00:36 bounce
    -rw-r--r--   1 mailman mailman  2713795 Apr 22 10:09 error
    -rw-r--r--   1 mailman mailman    32296 Apr 13 16:06 locks
    -rw-r--r--   1 mailman mailman   615158 Apr 24 08:17 mischief
    -rw-r--r--   1 mailman mailman  1305390 Apr 24 15:58 post
    -rw-r--r--   1 mailman mailman  1216641 Apr 21 12:07 qrunner
    -rw-r--r--   1 mailman mailman 32565672 Apr 25 01:18 smtp
    -rw-r--r--   1 mailman mailman 55022378 Apr 21 12:21 smtp-failure
    -rw-r--r--   1 mailman mailman 22717240 Apr 25 01:18 subscribe
    -rw-r--r--   1 mailman mailman  3882693 Apr 25 00:50 vette
    Lloyd F Tennison

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    16

    Default

    Hate to bring up an old thread. But I wanted to add my recent experience with this.

    To others who are having the dreaded "Bug in Mailman"

    ------
    Bug in Mailman version 2.1.11.cp3

    We're sorry, we hit a bug!

    Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.
    -----

    I was investigating the same thread of issues as the OP, and this is what i found.

    Error log for mailman not being written /usr/local/cpanel/3rdparty/mailman/logs/error
    Therefore the errors were being written to the apache error_log file, the mailman error log did not have write perms.

    When after watching the error log for mailman, and re accessed the site, I noticed this in the error log finally.
    Code:
    Mar 05 20:55:50 2009 admin(14904): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    admin(14904): [----- Mailman Version: 2.1.11.cp3 -----]
    admin(14904): [----- Traceback ------]
    admin(14904): Traceback (most recent call last):
    admin(14904):   File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 101, in run_main
    admin(14904):     main()
    admin(14904):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 71, in main
    admin(14904):     mlist = MailList.MailList(listname, lock=0)
    admin(14904):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 130, in __init__
    admin(14904):     self.Load()
    admin(14904):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 649, in Load
    admin(14904):     dict, e = self.__load(file)
    admin(14904):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 615, in __load
    admin(14904):     fp = open(dbfile)
    admin(14904): IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/lists/list_domain.com/config.pck'
    admin(14904): [----- Python Information -----]
    admin(14904): sys.version     =   2.4.3 (#1, May 24 2008, 13:47:28)
    [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
    admin(14904): sys.executable  =   /usr/bin/python2.4
    admin(14904): sys.prefix      =   /usr
    admin(14904): sys.exec_prefix =   /usr
    admin(14904): sys.path        =   /usr
    admin(14904): sys.platform    =   linux2
    admin(14904): [----- Environment Variables -----]
    But I still havent figured out what permissions the setup should have.

    So i just chgrp -R nobody mailman ... see what that does.

    Actually... dont do that, it breaks a lot of stuff, I just ended up reinstalling mailman through the /scripts/ directory and it seemed to fix it all.
    Last edited by Israel.lopez; 03-05-2009 at 11:19 PM.

  4. #4
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Sep 2007
    Posts
    96

    Default

    Israel I'm curious what your doing differently than I. I've tried reinstalling mailman and I end up with the same issues. Did you remove all your lists as well? The biggest thing I'm seeing here is these errors.

    List: list.domain.org: problem processing
    /usr/local/cpanel/3rdparty/mailman/lists/list.domainorg/digest.mbox:
    [Errno 20] Not a directory:


    This doesn't seem right. Those mbox files are supposed to be directories?

Similar Threads & Tags
Similar threads

  1. File permission errors
    By Archness in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-14-2007, 03:40 PM
  2. Permission Errors
    By celliott in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-07-2006, 02:33 PM
  3. Permission errors
    By morphina in forum Database Discussions
    Replies: 17
    Last Post: 03-06-2006, 08:00 PM
  4. Permission Errors
    By TitaniumHosting in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 01-14-2005, 08:22 PM
  5. PHP permission errors
    By EMS in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2003, 11:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube