Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Chkservd service  (Read 2867 times)

0 Members and 1 Guest are viewing this topic.

sibin paul

  • Guest
Chkservd service
« on: December 21, 2013, 06:33:32 pm »
Chkservd service
Chkservd is a service running on Cpanel servers. It monitors other service, if any of the service that is monitored by chkservd is found down, chkservd will restart the service and notify server admin.
You can enable/disable services to be monitored by going to Service Configuration >> Service Manager in WebHostManager.
Alternatively, you may configure it via back-end.
Configuration files for chkservd can be found in /etc/chkserv.d/.
Open the file /etc/chkserv.d/chkservd.conf,
vi /etc/chkserv.d/chkservd.conf
Add the below line in that file to enable a service.
service_name:1
eg:-
root@server [/etc/chkserv.d]# cat chkservd.conf
cpanellogd:1
cpsrvd:1
ftpd:1
imap:1
named:1
queueprocd:1
Restart chkservd services,
/scripts/restartsrv chkservd

root@server [/etc/chkserv.d]# cat ftpd
service[ftpd]=21,QUIT,220,/usr/local/cpanel/scripts/restartsrv_ftpserver,proftpd||pure-ftpd&&pure-authd,root|nobody,220|USER %service_auth_user%|3|PASS %service_auth_pass%|2|QUIT