Service status shows services down question

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
797
152
168
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
 

mohammadreza

Member
Jan 7, 2018
10
0
1
Teh
cPanel Access Level
Root Administrator
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

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.
 

24x7server

Well-Known Member
Apr 17, 2013
1,896
91
78
India
cPanel Access Level
Root Administrator
Hi,

I have A big Data on Logs,How i can Empty ?
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.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,110
659
263
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,