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.

Bug in Mailman version 2.1.23

Discussion in 'E-mail Discussions' started by foncho, Jan 24, 2017.

Tags:
  1. foncho

    foncho Member

    Joined:
    Mar 9, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    When i login in admin interfase i receive this error:
    Code:
    Bug in Mailman version 2.1.23
    
    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 did create other list to test but this bug remains

    --------
    In error log:



    -------

    What is the problem? How can i reinstall mailman? the script: /scripts/reinstallmailman is not longer exist in WHM 60.0 (build 35)

    --------
    Log:

    Code:
    admin(4828): [----- Mailman Version: 2.1.23 -----]
    admin(4828): [----- Traceback ------]
    admin(4828): Traceback (most recent call last):
    admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 117, in run_main
    admin(4828):     main()
    admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 245, in main
    admin(4828):     mlist.Save()
    admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 607, in Save
    admin(4828):     self.CheckHTMLArchiveDir()
    admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 241, in CheckHTMLArchiveDir
    admin(4828):     makelink(privdir, pubdir)
    admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 49, in makelink
    admin(4828):     os.symlink(old, new)
    admin(4828): OSError: [Errno 2] No such file or directory
    admin(4828): [----- Python Information -----]
    admin(4828): sys.version     =   2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
    admin(4828): sys.executable  =   /usr/bin/python
    admin(4828): sys.prefix      =   /usr
    admin(4828): sys.exec_prefix =   /usr
    admin(4828): sys.path        =   ['/usr/local/cpanel/3rdparty/mailman/pythonlib', '/usr/local/cpanel/3rdparty/mailman', '/usr/local/cpanel/3rdparty/mailman/scripts', '/usr/local/cpanel/3rdparty/mailman', '/usr/lib64/python26.zip', '/usr/lib64/python2.6/', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
    admin(4828): sys.platform    =   linux2
     
    #1 foncho, Jan 24, 2017
    Last edited by a moderator: Jan 24, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. foncho

    foncho Member

    Joined:
    Mar 9, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Michael, i ran the script, output here:

    Code:
    # /scripts/fixmailman
    Setting mailman archive permissions.
    Setting mailman lists permissions.
    Purging mailman queue.
    Error while trying to enter still appears.

    thanks
     
  4. foncho

    foncho Member

    Joined:
    Mar 9, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Michael,

    In WHM > RPM software Install , i try install mailman but i get error 500.

    How can i reinstall mailman?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The following command will prompt you to install the required packages if the existing mailman RPMs were removed or altered:

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms
    Feel free to open a support ticket using the link in my signature if the issue continues 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.
     
  6. foncho

    foncho Member

    Joined:
    Mar 9, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Michael, the bug is still here, some other suggestion.

    ---
    Code:
    # /usr/local/cpanel/scripts/check_cpanel_rpms
    #
    ---

    I did go to admin dashboard, when login:

    Bug in Mailman version 2.1.23
    We're sorry, we hit a bug!
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @foncho,

    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.
     
  8. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    128
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We're seeing some similar issues. Was there a solution?
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you verify if the issue persists after running the below commands?

    Code:
    /scripts/fixmailman
    /scripts/restartsrv_mailman --stop
    /scripts/restartsrv_mailman --start
    Thank you.
     
  10. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    128
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Yes, we did that several times; still issues.
    Customer has 2 issues: Gets the 'We're sorry we hit a bug' page when trying to manage/delete pending moderator requests, and no list posts are being archived, even though all the archiving settings are correct.
     
  11. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    128
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We've opened a support ticket:
    8276977
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, it looks like this was due to the existence of a "public" archive directory, instead of it existing as a symlink to the corresponding private archive directory.

    Thank you.
     
  13. noctur

    noctur Registered

    Joined:
    Sep 22, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hi guys,

    How can I solve this problem, since I have the same behavior as jndawson

    Regards,



     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @noctur,

    In that particular ticket, /usr/local/cpanel/3rdparty/mailman/archives/public/$list_name existed as a directory instead of as as symbolic link to the private archive location (/usr/local/cpanel/3rdparty/mailman/archives/private/$list_name/).

    However, there are several potential causes of the issue. It's a good idea to open a support ticket so we can take a closer look if you are facing the same error message.

    Thank you.
     
  15. stevenvsi

    stevenvsi Member

    Joined:
    Sep 20, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I have the same issue.
    Should a private mailing list have a symb link into the :
    /usr/local/cpanel/3rdparty/mailman/archives/public/
    directory?

    Regards,
     
  16. stevenvsi

    stevenvsi Member

    Joined:
    Sep 20, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I deleted the list and recreated as a public one and it worked.

    Regards,
     
  17. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,630
    Likes Received:
    1,135
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @stevenvsi,

    I'm happy to see you were able to address the issue.

    No, the symbolic link is generated when creating a public mailing list. When this happens, a symbolic link is created within "/usr/local/cpanel/3rdparty/mailman/archives/public" for the newly created mailing list, linking to it's actual location in the private directory.

    Thank you.
     
Loading...

Share This Page