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 Error

Discussion in 'E-mail Discussions' started by Zion Ahead, Apr 12, 2012.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Mailman is giving off this error when any changes are made to the list:

    Ran:

    /usr/local/cpanel/bin/mailman-install --force

    Then it says at the end:

    Ran this:
    /usr/local/cpanel/bin/mailman-install --force -f

    Same message as above.

    root@server [~]# cat /usr/local/cpanel/3rdparty/mailman/logs/error
    cat: /usr/local/cpanel/3rdparty/mailman/logs/error: No such file or directory

    That directory is empty, no logs.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you've tried forcing an update to cPanel and that didn't help, you might do best to put in a ticket on this one I think.

    From the cPanel Change log, 2011-11-07 last year:

     
  3. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Ok this is what I've done. I've re-ran the install mailman --force option in su - mailman mode.

    First I did a forced cpanel upgrade which re-enabled the mailman logs.

    I get this:

    Code:
    Updating Usenet watermarks
    - nothing to update here
    Nothing to do.
    updating old qfiles
    cp: cannot remove `/usr/local/cpanel/img-sys/gnu-head-tiny.jpg': Permission denied
    cp: cannot remove `/usr/local/cpanel/img-sys/mailman-large.jpg': Permission denied
    cp: cannot remove `/usr/local/cpanel/img-sys/mailman.jpg': Permission denied
    cp: cannot remove `/usr/local/cpanel/img-sys/mm-icon.png': Permission denied
    cp: cannot remove `/usr/local/cpanel/img-sys/PythonPowered.png': Permission denied
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/.cpanel (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ca (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/uk (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/it (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/es (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/en (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/da (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/eu (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/no (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/pl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/sv (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/tr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/zh_CN (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/nl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/fi (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ast (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/zh_TW (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ko (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/sk (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ro (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ja (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/pt (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ru (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ia (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/gl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/vi (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/lt (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/cs (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/sl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/pt_BR (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/he (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/hr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/ar (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/et (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/de (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/fr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/hu (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/templates/sr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/.cpanel/caches (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/.cpanel/caches/config (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ca (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/uk (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/it (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/es (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/da (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/eu (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/no (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/pl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/sv (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/tr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/zh_CN (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/nl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/fi (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ast (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/zh_TW (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ko (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/sk (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ro (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ja (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/pt (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ru (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ia (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/gl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/vi (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/lt (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/cs (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/sl (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/pt_BR (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/he (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/hr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/ar (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/et (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/de (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/fr (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/hu (fixing)
    directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/messages/sr (fixing)
    Warning: Private archive directory is other-executable (o+x).
             This could allow other users on your system to read private archives.
             If you're on a shared multiuser system, you should consult the
             installation manual on how to fix this.
    Problems found: 76
    Re-run as mailman (or root) with -f flag to fix
    must be privileged to use -u
    must be privileged to use -u
    Unable to touch file /var/cpanel/mailman2: Permission denied at /usr/local/cpanel/bin/mailman-install line 275.
    [2012-04-13 19:33:55 -0500] warn [restartsrv_mailman] 2254: Unable to set RLIMIT_RSS to infinity
    2254: Unable to set RLIMIT_AS to infinity
     at /usr/local/cpanel/Cpanel/Rlimit.pm line 113
            Cpanel::Rlimit::set_rlimit_to_infinity() called at /usr/local/cpanel/scripts/restartsrv_mailman line 18
            eval {...} called at /usr/local/cpanel/scripts/restartsrv_mailman line 15
    warn [restartsrv_mailman] 2254: Unable to set RLIMIT_RSS to infinity
    2254: Unable to set RLIMIT_AS to infinity
    
    [2012-04-13 19:33:55 -0500] warn [Cpanel::SafeDir::MK] mkdir /var/run/restartsrv/startup failed: Permission denied at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line 153
            Cpanel::SafeDir::MK::safemkdir('/var/run/restartsrv/startup', 0700) called at /usr/local/cpanel/Cpanel/RestartSrv.pm line 756
            Cpanel::RestartSrv::logged_startup('mailman', 1, ARRAY(0x8fa4bc8)) called at /usr/local/cpanel/scripts/restartsrv_mailman line 47
    warn [Cpanel::SafeDir::MK] mkdir /var/run/restartsrv/startup failed: Permission denied
    [2012-04-13 19:33:55 -0500] warn [restartsrv_mailman] Failed to create /var/run/restartsrv/startup at /usr/local/cpanel/Cpanel/RestartSrv.pm line 759
            Cpanel::RestartSrv::logged_startup('mailman', 1, ARRAY(0x8fa4bc8)) called at /usr/local/cpanel/scripts/restartsrv_mailman line 47
    warn [restartsrv_mailman] Failed to create /var/run/restartsrv/startup
    Code:
    root@server2 [~]# cat /usr/local/cpanel/3rdparty/mailman/logs/error
    Apr 13 19:33:55 2012 mailmanctl(2255): PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid 
    Apr 13 19:33:55 2012 mailmanctl(2255): [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid' 
    Apr 13 19:33:55 2012 mailmanctl(2255): Is qrunner even running? 
     
  4. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    root@server2 [~]# /scripts/restartsrv_mailman --status
    mailmanctl (/usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl --stale-lock-cleanup start) running as mailman with PID 24070
    3rdparty/mailman/bin/qrunner (/usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s) running as mailman with PID 24078
    Code:
    root@server2 [~]# cat /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    24070
    Code:
    root@server2 [~]# ls -lah /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    -rw-rw----  1 mailman mailman 6 Apr 13 19:47 /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    root@server2 [~]# ps aux | grep python
    mailman   4557  0.0  0.1 10484 6044 ?        S    19:40   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
    mailman  24070  0.0  0.1 14268 4480 ?        Ss   19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl --stale-lock-cleanup start
    mailman  24071  1.1  0.1 14052 6100 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
    mailman  24072  1.0  0.1 13444 6112 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
    mailman  24073  1.0  0.1 13040 6108 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
    mailman  24074  1.0  0.1 13484 6104 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
    mailman  24075  1.0  0.1 12940 6136 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
    mailman  24076  1.0  0.1 13700 6172 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
    mailman  24077  1.0  0.1 13416 6100 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    mailman  24078  0.9  0.1 13944 6100 ?        S    19:47   0:00 /usr/local/bin/python2.4 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
    root     24177  0.0  0.0  5428  756 pts/0    S+   19:48   0:00 grep python
     
Loading...

Share This Page