The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mailman manage link errors out

Discussion in 'E-mail Discussions' started by jndawson, Aug 4, 2016.

  1. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We have one customer with 2 mailing lists that have operated for about 4 years. One mailing list has stopped working; the 'manage' link in cPanel (v.58.0.12) returns this error:
    Code:
    Bug in Mailman version 2.1.21
    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.
    
    The error logs include a bunch of entries that shed little light on why one mailing list the customer has has a bug while the other works just fine.

    Just for grins, we ran /scripts/fixmailman with no effect. Restarted mailman with no effect.

    The customer may have made some changes, but they have indicated they made any.

    Where can we check to see what/why one list can be managed and the other not?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    What specific error log are you referencing? Could you post the error messages here so we can take a closer look?

    Thank you.
     
  3. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    It's massive. This is the instance where I tried to access the list management page.

    From /usr/local/cpanel/3rdparty/mailman/logs/error:
    Code:
    admin(20203): [----- Mailman Version: 2.1.21 -----]
    admin(20203): [----- Traceback ------]
    admin(20203): Traceback (most recent call last):
    admin(20203):  File "/usr/local/cpanel/base/3rdparty/mailman/scripts/driver", line 117, in run_main
    admin(20203):  main()
    admin(20203):  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 233, in main
    admin(20203):  mlist.Save()
    admin(20203):  File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 607, in Save
    admin(20203):  self.CheckHTMLArchiveDir()
    admin(20203):  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 241, in CheckHTMLArchiveDir
    admin(20203):  makelink(privdir, pubdir)
    admin(20203):  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 49, in makelink
    admin(20203):  os.symlink(old, new)
    admin(20203): OSError: [Errno 2] No such file or directory
    
    Thanks.
     
    #3 jndawson, Aug 4, 2016
    Last edited by a moderator: Aug 7, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can review the permission and ownership values for the .pck files in the Mailman directory for the affected lists with a command such as:

    Code:
    ls -al /usr/local/cpanel/3rdparty/mailman/lists/$list_name/
    Replace "$list_name" with the name of the mailing list. Ownership for these files should be "mailman:mailman" and permissions should be 0660.

    Thank you.
     
  5. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    That was one of the first things we checked.
    We've also forced a reinstall. It looks like the next step may be to delete the list and recreate it.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Ticket ID: 7621581
     
  8. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Followup: Apparently the customer decided to back up a sym-linked file for some odd reason and broke things. The great techs from cPanel identified the issue and corrected it.
     
Loading...

Share This Page