Results 1 to 3 of 3

Thread: Mailman error after updating hostname

  1. #1
    Member
    Join Date
    Jul 2012
    Location
    London, United Kingdom, United Kingdom
    Posts
    6
    cPanel/WHM Access Level

    Root Administrator

    Question Mailman error after updating hostname

    So I just updated the hostname to a FQDN (should have done it before, but realised it wasn't set when I got some HELO errors when sending emails).

    This might be of use to someone!

    The hostname changed successfully, I could also see it in /etc/hosts, but after the change, cPanel thrrew up the following:

    Code:
    Updating Apache configuration
    Updating cPanel license...Done. Update succeeded. Building global cache for cpanel...Done
    Traceback (most recent call last):
    File "/usr/local/cpanel/bin/reset_mailman_hostname", line 44, in ?
    raise SystemExit(main(sys.argv))
    File "/usr/local/cpanel/bin/reset_mailman_hostname", line 31, in main
    file=open('/usr/local/cpanel/3rdparty/mailman/lists/' + list + '/config.pck','r')
    IOError: [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/lists/mailman/config.pck'
    I attempted to reboot mailman, but it failed with the following:

    Code:
    mailman has failed, please contact the sysadmin (result was "mailmanctl is not running").
    Then I looked around and the forum and tried to start it via the
    Code:
    /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl start
    command.

    It said mailman wasn't running so obviously couldn't be restarted (in retrospect this wasn't the smartest move).

    I then checked if mailman was enabled under WHM > Tweam settings, and it was.

    So then I attempted to do a forced reinstall of mailman with the following:

    Code:
    /usr/local/cpanel/scripts/reinstallmailman --force
    This command is deprecated, so the system gave me a new one.

    That command took a few minutes to run and displayed a whole bunch of things with (fixing) at the end. Once it was run, it said:

    Code:
    Problems found: 85
    Re-run as mailman (or root) with -f flag to fix
    Non-standard property restored: personalize
    Interestingly enough, though, I attempted to restart mailman and it seemed to restart without any problems.

    I've seen this issue on this ticket here: http://forums.cpanel.net/f34/cpanel-...or-212612.html

    So, the question is, before I open a ticket, how do I make sure mailman is working exactly the way it should? Any diagnostics I can run?

    Thanks!

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,201
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mailman error after updating hostname

    Hello

    The following command may be useful:

    Code:
    # /scripts/fixmailman
    However, if you continue to experience the same problem, feel free to submit a ticket as suggested in the other thread.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    Member
    Join Date
    Jul 2012
    Location
    London, United Kingdom, United Kingdom
    Posts
    6
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mailman error after updating hostname

    No problems found, apparently .

    Thank you.

Similar Threads

  1. Mailman create on hostname not on user domain
    By isputra in forum E-mail Discussions
    Replies: 7
    Last Post: 03-19-2010, 11:56 PM
  2. Hostname Error but the hostname is set correctly
    By rodstewart in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 04-05-2005, 11:19 AM
  3. How about updating Mailman
    By lloyd_tennison in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-13-2004, 05:55 AM
  4. updating mailman
    By Luftwaffe in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-10-2003, 08:35 PM
  5. Mailman mailman-owner@ Problem...
    By Shiekron2 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-18-2002, 04:10 AM