Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: Stopping mailman services Issue

  1. #1
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Red face Stopping mailman services Issue

    Hello,
    I receive the following error when I restart the cpanel via SSH



    Stopping mailman services: Shutting down Mailman's master qrunner
    PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
    Is qrunner even running?
    mailmanctl: no process killed
    [FAILED]


    Does anyone know how i can fix that shutting down of mailman master qrunner?

    Thank you very much in advance.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Do you have mailman enabled in WHM > Tweak Settings > Enable Mailman mailing lists area? It would be set to "On" if enabled, "Off" if disabled. If you have it set to "Off" button, then you should disregard the message as it cannot be found due to the fact it isn't enabled.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    Yes it is ON. Has been on since forever.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Please check it is properly running:

    Code:
    /scripts/restartsrv_mailman --status
    Also, please check that the pid file does exist:

    Code:
    cat /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    Also, let's see the permissions on the pid file:

    Code:
    ls -lah /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    Hello again and thank you for your fast responds.

    I tried in ssh typing in directly as shown bellow:


    root@ip-72-167-167-187 [~]# /scripts/restartsrv_mailman --status
    root@ip-72-167-167-187 [~]# cat /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    cat: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid: No such file or directory
    root@ip-72-167-167-187 [~]#
    root@ip-72-167-167-187 [~]# ls -lah /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    /bin/ls: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid: No such file or directory
    root@ip-72-167-167-187 [~]#

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Mailman cannot be running given those commands. Can you check WHM > Service Manager to see that mailman is set to be enabled there as well?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    yes it is ticked the enabled area- but the monitor areas is not ticked

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Does this return anything?

    Code:
    ps aux | grep python
    Also, to confirm, this is a CentOS or RedHat system rather than FreeBSD, right?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    the command above returned the following:

    root 17438 0.0 0.0 1920 496 pts/1 S+ 15:56 0:00 grep python

    And yes, it is CentOS- from godaddy VPS

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Try to restart mailman:

    Code:
    /scripts/restartsrv_mailman
    Then check if it is running again:

    Code:
    /scripts/restartsrv_mailman --status
    ps aux | grep python
    If it isn't, force a reinstall of it:

    Code:
    /scripts/reinstallmailman
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    I think you did the trick since i am getting :

    root@ip-72-167-167-187 [~]# /scripts/restartsrv_mailman
    root@ip-72-167-167-187 [~]# /scripts/restartsrv_mailman --status
    mailmanctl (/usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl --stale-lock-cleanup start) running as mailman with PID 25982
    3rdparty/mailman/bin/qrunner (/usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s) running as mailman with PID 25992
    root@ip-72-167-167-187 [~]# ps aux | grep python
    mailman 25982 0.0 0.4 10408 4356 ? Ss 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl --stale-lock-cleanup start
    mailman 25985 0.7 0.5 10344 6020 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
    mailman 25986 0.8 0.5 10400 6036 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
    mailman 25987 0.8 0.5 10396 6036 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
    mailman 25988 0.8 0.5 10444 6032 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
    mailman 25989 0.7 0.5 10444 6056 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
    mailman 25990 0.7 0.5 10396 6104 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
    mailman 25991 0.7 0.5 10396 6028 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    mailman 25992 0.7 0.5 10396 6020 ? S 16:22 0:00 /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
    root 26319 0.0 0.0 1920 504 pts/0 S+ 16:23 0:00 grep python



    But on the other hand when i do again service cpanel restart
    i receive the following :
    Stopping mailman services: Shutting down Mailman's master qrunner
    mailmanctl: no process killed
    [FAILED]

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Is mailman running after the cPanel restart at that point, though? If it is, then I would not consider that any issue. You could also test mailman by creating a mailing list and testing it at that point.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    yeah it is

    but I can not access the websites at all
    all the websites in the server are down.
    Even cpanel - mail etc

  14. #14
    Registered Member
    Join Date
    May 2011
    Location
    Orlando, Florida, United States
    Posts
    32

    Default Re: Stopping mailman services Issue

    Problems found: 85
    Re-run as mailman (or root) with -f flag to fix

    how do i do that in ssh?

    i just type in root
    mailman -f flag ?

  15. #15
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Stopping mailman services Issue

    Restarting mailman would not cause your websites to go down, which run on Apache, nor cPanel to go down. Now, restarting cPanel could cause cPanel to go down if it didn't restart properly.

    I'm a bit more concerned about your websites being reported down and cPanel over mailman, since mailman is a low priority in that scenario. Is your machine running Apache?

    Code:
    ps aux | grep httpd
    By your sites being down, you do mean the websites on port 80 right? Please clarify what is meant by down here, they are hanging, they are returning some error, what precisely?

    Next, is cPanel itself running?

    Code:
    service cpanel status
    It almost would sound like something with the firewall to me if a bunch of service suddenly quit being accessible (if they are indeed still running).

    Until I know cPanel and Apache are working properly, I'm going to focus on those two rather than mailman.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 09-26-2008, 11:48 AM
  2. Mailman issue
    By gr8ex in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-16-2007, 02:17 PM
  3. Weird Problem: All Services Are Stopping After running upcp from cron
    By trhosting.net in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-11-2007, 02:38 PM
  4. Stopping Mailman
    By drifterlrsc in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 12-01-2006, 12:03 PM
  5. Stopping Services
    By hcoltrain in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-20-2003, 10:16 AM
bargain