Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED queueprocd isn't running? at ... Manager.pm line 214 [case CPANEL-17413]

Discussion in 'General Discussion' started by Kent Brockman, Oct 7, 2017.

Tags:
  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello guys, I'm seeing this error right after login to WHM: the entire screen is blank and only show this line:

    Code:
    undef error - queueprocd isn't running? at /usr/local/cpanel/Cpanel/TaskQueue/Manager.pm line 214.
    This happens nearly 2 times a week on only one of the servers.
    I just hit F5 in the browser and everything reloads ok.
    It happens since upgrade to cPanel 66. Running under CENTOS 7.4 on kvm mode.

    Based on what I've readed in other threads, I've run the recommended commands and this is the output:

    Code:
    [root ~]# /scripts/restartsrv_queueprocd
    Waiting for “queueprocd” to restart ………waiting for “queueprocd” to initialize ………finished.
    
    Service Status
            queueprocd (queueprocd - waiting up to 30s to process a task) running as root with PID 32363 (process table check method)
    
    Startup Log
            Oct 07 20:34:35 s001.mydomain.com systemd[1]: Starting cPanel Queue services...
            Oct 07 20:34:36 s001.mydomain.com startqueueprocd[32356]: ==> cPanel TaskQueue Processing Daemon version 1.0
            Oct 07 20:34:36 s001.mydomain.com systemd[1]: PID file /var/run/queueprocd.pid not readable (yet?) after start.
            Oct 07 20:34:36 s001.mydomain.com systemd[1]: Started cPanel Queue services.
    
    queueprocd restarted successfully.
    
    [root ~]# /usr/local/cpanel/libexec/queueprocd
    ==> cPanel TaskQueue Processing Daemon version 1.0
    
    [root ~]# /usr/local/cpanel/libexec/queueprocd
    cPanel TaskQueue Processing Daemon already running, exiting.
    warn [queueprocd] cPanel TaskQueue Processing Daemon already running, exiting.
    
    [root ~]# ls -alh /usr/bin/perl
    -rwxr-xr-x 2 root root 12K Aug  2 14:46 /usr/bin/perl
    [root ~]# ls -alh /usr/local/bin/perl
    ls: cannot access /usr/local/bin/perl: No such file or directory
    [root ~]# ln -s /usr/bin/perl /usr/local/bin/perl
    [root ~]# ls -alh /usr/local/bin/perl
    lrwxrwxrwx 1 root root 13 Oct  7 20:25 /usr/local/bin/perl -> /usr/bin/perl
    
    Now, while writing all this, I've run upcp with force update via WHM UI. I'll follow up here to let you know if this have solved or still an issue.

    Best regards
    Marcelo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look and determine what's leading to queueprocd failing to start?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ok Michael, I've opened a ticket for this. I'll let you know the outcome when it's solved.
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  4. warmwhisky

    warmwhisky Member

    Joined:
    Nov 13, 2017
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Swaziland
    cPanel Access Level:
    Root Administrator
    Hi Guys,

    CENTOS 7.4 hyper-v
    v68.0.12

    I have the same error as above, but my output is slightly different...

    Code:
    [root@USER ~]# /scripts/restartsrv_queueprocd
    Waiting for “queueprocd” to restart ………waiting for “queueprocd” to initialize ………finished.
    
    Service Status
            queueprocd (queueprocd - waiting up to 30s to process a task) is running as root with PID 877 (systemd+/proc check method).
            queueprocd (queueprocd - waiting up to 30s to process a task) running as root with PID 877 (process table check method)
    
    Startup Log
            Nov 14 07:13:36 USER.HOST.co.za systemd[1]: Starting cPanel Queue services...
            Nov 14 07:13:36 USER.HOST.co.za startqueueprocd[30297]: ==> cPanel TaskQueue Processing Daemon version 1.0
            Nov 14 07:13:36 USER.HOST.co.za systemd[1]: queueprocd.service: Supervising process 30301 which is not our child. We'll most likely not notice when it exits.
            Nov 14 07:13:36 USER.HOST.co.za systemd[1]: Started cPanel Queue services.
    
    I am also getting upcp errors since the last few weeks... here is the last email I recieved from the server...

    Code:
    The cPanel & WHM update process failed for the following reason:
    
    Maintenance ended; however, it did not exit cleanly (512). Review the update logs to determine why the update failed.
    
    Update log preview:
    
    [2017-11-14 00:39:06 +0200] [/usr/local/cpanel/scripts/sysup] * base: mirror.bitco.co.za
    [2017-11-14 00:39:06 +0200] [/usr/local/cpanel/scripts/sysup] * extras: mirror.bitco.co.za
    [2017-11-14 00:39:06 +0200] [/usr/local/cpanel/scripts/sysup] No packages marked for update
    [2017-11-14 00:39:06 +0200] - Finished command `/usr/local/cpanel/scripts/sysup` in 34.134 seconds
    [2017-11-14 00:39:06 +0200] 26% complete
    [2017-11-14 00:39:06 +0200] - Finished in 34.135 seconds
    [2017-11-14 00:39:06 +0200] Processing: Restarting any outdated services
    [2017-11-14 00:39:06 +0200] - Processing command `/usr/local/cpanel/scripts/find_outdated_services --always-restart`
    [2017-11-14 00:39:08 +0200] [/usr/local/cpanel/scripts/find_outdated_services] Looking for outdated services …
    [2017-11-14 00:39:08 +0200] [/usr/local/cpanel/scripts/find_outdated_services] The system did not find any outdated services.
    [2017-11-14 00:39:08 +0200] - Finished command `/usr/local/cpanel/scripts/find_outdated_services --always-restart` in 2.612 seconds
    [2017-11-14 00:39:08 +0200] Processing: Running platform specific optimizations
    [2017-11-14 00:39:08 +0200] - Processing command `/usr/local/cpanel/scripts/vps_optimizer`
    [2017-11-14 00:39:08 +0200] - Finished command `/usr/local/cpanel/scripts/vps_optimizer` in 0.092 seconds
    [2017-11-14 00:39:08 +0200] 27% complete
    [2017-11-14 00:39:08 +0200] Processing: Checking for a valid C Compiler.
    [2017-11-14 00:39:08 +0200] - Processing command `/usr/local/cpanel/scripts/checkccompiler`
    [2017-11-14 00:39:09 +0200] [/usr/local/cpanel/scripts/checkccompiler] C compiler (/usr/bin/gcc) OK
    [2017-11-14 00:39:09 +0200] [/usr/local/cpanel/scripts/checkccompiler] Tuned C compiler not available because it is not enabled
    [2017-11-14 00:39:09 +0200] - Finished command `/usr/local/cpanel/scripts/checkccompiler` in 0.948 seconds
    [2017-11-14 00:39:09 +0200] 28% complete
    => Log closed Tue Nov 14 00:39:09 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (228137) at Tue Nov 14 00:39:09 2017
    [2017-11-14 00:39:09 +0200] E Pre Maintenance ended, however it did not exit cleanly (512). Please check the logs for an indication of what happened
    
    
    The system generated this notice on 2017-11-13 at 22:39:10 UTC.
    
    
    Any ideas??
     
    #4 warmwhisky, Nov 13, 2017
    Last edited by a moderator: Nov 14, 2017
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like this could be related to internal case CPANEL-16593. I'll monitor that case and update this thread with more information on it's status as it becomes available. In the meantime, the following commands should act as a temporary workaround:

    Code:
    mkdir -p /root/taskqueuebackup/taskqueue
    mv -v /var/cpanel/taskqueue/* /root/taskqueuebackup/taskqueue/
    /scripts/restartsrv_queueprocd
    
    @warmwhisky, could you open a separate thread for the cPanel update issue so we can take a closer look if that issue persists?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. warmwhisky

    warmwhisky Member

    Joined:
    Nov 13, 2017
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Swaziland
    cPanel Access Level:
    Root Administrator
    Hi. Yes will do. but just to clarify the error that I have reported today. It is the forth time it's happened. According to my emails and unless I have not deleted any of them, it started on the 9th November. Then on the 12th, 13th and today.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    I moved this issue into a separate thread at:

    New Thread - upcp failing in cPanel 68

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. RWH Tech

    RWH Tech Well-Known Member

    Joined:
    Oct 1, 2015
    Messages:
    86
    Likes Received:
    16
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    +1 here on both issues. Watching threads.
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, an additional case (CPANEL-17413) addresses an issue that can lead to scenarios where the "queueprocd isn't running" error message appears. I'll update this thread once the resolution is published.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, the resolution associated with CPANEL-17413 is included with cPanel version 68.0.23:

    Fixed case CPANEL-17413: Accomodate race condition in queueprocd where the pidfile is empty.

    The full cPanel version 68 change log is available at the following URL:

    68 Change Log - Change Logs - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice