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.

The service “cpanellogd” appears to be down

Discussion in 'General Discussion' started by guillof, Jul 26, 2017.

Tags:
  1. guillof

    guillof Member

    Joined:
    Jul 30, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I received the notification

    The service “cpanellogd” appears to be down.
    The subprocess “/usr/local/cpanel/scripts/restartsrv_cpanellogd” reported error number 9 when it ended.



    Running cat /var/log/chkservd.log |grep cpanellogd I found:

    cpanellogd [[check command:-][check command output:
    The subprocess “/usr/local/cpanel/scripts/restartsrv_cpanellogd” reported error number 9 when it ended.][socket connect:N/A][fail count:1]Restarting cpanellogd....
    [notify:failed service:cpanellogd]]...
    Loading services .....apache_php_fpm....clamd....cpanel-dovecot-solr....cpanel_php_fpm....cpanellogd....cpdavd....cphulkd....cpsrvd....crond....dnsadmin....exim....ftpd....httpd....imap....ipaliases....lfd....lmtp....mailman....mysql....named....nscd....p0f....pop....queueprocd....rsyslogd....spamd....sshd..Done

    journalctl -u cpanellogd.service -l

    jul 14 05:54:06 HOST cpanellogd[31318]: Can't kill a non-numeric process ID at /usr/local/cpanel/cpanellogd line 15.
    jul 14 05:54:06 HOST systemd[1]: cpanellogd.service: control process exited, code=exited status=2
    jul 14 05:54:06 HOST systemd[1]: Unit cpanellogd.service entered failed state.
    jul 14 05:54:06 HOST systemd[1]: cpanellogd.service failed.
    jul 14 05:54:10 HOST systemd[1]: Starting cPanel Log services...
    jul 14 05:54:10 HOST cpanellogd[31434]: ==> cPanel Log Daemon version 26.0
    jul 14 05:54:10 HOST systemd[1]: Started cPanel Log services.
    jul 14 05:54:18 HOST systemd[1]: Stopping cPanel Log services...
    jul 14 05:54:20 HOST systemd[1]: Stopped cPanel Log services.
    jul 14 05:54:20 HOST systemd[1]: Starting cPanel Log services...
    jul 14 05:54:20 HOST cpanellogd[31685]: ==> cPanel Log Daemon version 26.0
    jul 14 05:54:20 HOST systemd[1]: Started cPanel Log services.
    jul 18 05:52:07 HOST cpanellogd[23908]: Can't kill a non-numeric process ID at /usr/local/cpanel/cpanellogd line 15.
    jul 18 05:52:07 HOST systemd[1]: cpanellogd.service: control process exited, code=exited status=2
    jul 18 05:52:07 HOST systemd[1]: Unit cpanellogd.service entered failed state.
    jul 18 05:52:07 HOST systemd[1]: cpanellogd.service failed.



    I'm using CentOS 7, and the latest WHM. The server has plenty of resources available.
    Any idea what could be causing this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Is this a VPS running on the OpenVZ platform? If so, do you notice any fail counts when reviewing the /proc/user_beancounters file? EX:

    Code:
    cat /proc/user_beancounters
    Thank you.
     
  3. guillof

    guillof Member

    Joined:
    Jul 30, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, not sure in what platform is running, but in any case, that file doesn't exist:


    cat /proc/user_beancounters
    cat: /proc/user_beancounters: No such file or directory
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,405
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you execute the below command manually on your server and provide the complete output. You might fine executing this command manually may restart the service properly, when the automated one failed.
    # /usr/local/cpanel/scripts/restartsrv_cpanellogd

    Please give it a try once and update with the result here..
     
  5. guillof

    guillof Member

    Joined:
    Jul 30, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Sure:

    /usr/local/cpanel/scripts/restartsrv_cpanellogd
    Waiting for “cpanellogd” to restart ………waiting for “cpanellogd” to initialize ………finished.

    Service Status
    cpanellogd (cpanellogd - waiting for child to process logs) is running as root with PID 2697 (systemd check method).
    cpanellogd (cpanellogd - waiting for child to process logs) is running as root with PID 2704 (systemd check method).

    Startup Log
    Jul 27 09:58:46 live1.gripmedia.co.uk systemd[1]: Starting cPanel Log services...
    Jul 27 09:58:46 live1.gripmedia.co.uk cpanellogd[2696]: ==> cPanel Log Daemon version 26.0
    Jul 27 09:58:46 live1.gripmedia.co.uk systemd[1]: Started cPanel Log services.

    Log Messages
    Jul 27 09:58:46 live1 cpanellogd: ==> cPanel Log Daemon version 26.0
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the cpanellogd service is running well based on that output. Did you only receive a single notification about it's failure, or do you continue to receive additional notifications that it's failed?

    Thank you.
     
  7. guillof

    guillof Member

    Joined:
    Jul 30, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Indeed, seems to be running, but I received several of those notifications so far, not from yesterday though.

    I wanted to know what could be the cause of the issue.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look to see if there's anything indicating why it failed.

    Thanks!
     
Loading...

Share This Page