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!

Service status shows services down question

Discussion in 'General Discussion' started by mohammadreza, Apr 21, 2018.

  1. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator
    Hello
    All my service Status show Down,But i'm check from SSH and They are running without any issues,
    How i can show Current status on Service Status UI?

    Thank You very much
     

    Attached Files:

  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    What happens if you run:

    Code:
    /scripts/restartsrv_chkservd
    Wait 5 minutes, any change in the status?

    If not, can you post recent output of /var/log/chkservd.log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator

    Hello ,Thanks for your reply
    When i run
    Code:
    /scripts/restartsrv_chkservd
    I see this error:
    Waiting for “tailwatchd” to restart ………Job for tailwatchd.service failed because the control process exited with error code. See "systemctl status tailwatchd.service" and "journalctl -xe" for details.
    …failed.
    Cpanel::Exception::Services::StartError
    Service Status
    tailwatchd (tailwatchd) is running as root with PID 30433 (systemd+/proc check method).
    Service Error
    (XID nnee3p) The “tailwatchd” service failed to start.
    Startup Log
    Apr 22 21:43:00 sv7 systemd[1]: Starting tailwatchd...
    Apr 22 21:43:00 sv7 restartsrv_tailwatchd[23913]: tailwatchd is already running (tailwatchd) with PID 30433 by root
    Apr 22 21:43:00 sv7 systemd[1]: tailwatchd.service: control process exited, code=exited status=1
    Apr 22 21:43:00 sv7 systemd[1]: Failed to start tailwatchd.
    Apr 22 21:43:00 sv7 systemd[1]: Unit tailwatchd.service entered failed state.
    Apr 22 21:43:00 sv7 systemd[1]: tailwatchd.service failed.
    tailwatchd has failed. Contact your system administrator if the service does not automagically recover.
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Can you post the latest and relevant info from this log:

    /var/log/chkservd.log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator
    H
    hello
    Thanks for your reply
    I have big data log,Could you please help me how i can Remove All logs and try again for Check latest Log?

    Thank you
     
  6. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    In SSH:

    Code:
    > /var/log/chkservd.log
    /scripts/restartsrv_chkservd
    cat /var/log/chkservd.log
    

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    In addition to what @Jcats requested can you also check the tailwatchd logs at /usr/local/cpanel/logs/tailwatchd_log

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator
    Hello
    I have A big Data on Logs,How i can Empty ?
    Thank you
     
  9. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You can empty a log file using echo command:
    # echo > filename.log
    where filename.log is your actual log file name.

    Note: Do not use this command for a normal file or configuration file, as it will remove all the configuration and data from the file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator
    Im get error:
    -bash: /var/log/chkservd.log: Permission denied
    and try with cat but dont show any log,
     
  11. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    What user are you using to log in via SSH with? You'd need to be the root user to view those logs.


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mohammadreza

    mohammadreza Member

    Joined:
    Jan 7, 2018
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Teh
    cPanel Access Level:
    Root Administrator
    Hello,Thanks for your reply
    i have root user,I'm login with root User
     
  13. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    If you're logging in with the root user via SSH you shouldn't be getting permission denied errors when attempting to view logs. Could you please use the link in my signature to open a ticket so that we can take a closer look? Once opened please add the Ticket ID here so that we can update this thread with the outcome.

    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