cPanel: Disabling services via SSH Print

  • 66

The usual method to disable services and prevent them from automatically restarting is via WHM --> Service Manager, however, if, for whatever reason, you do not have access to WHM, there is another way!

In this example, we'll be working with Apache/HTTP:

Firstly, stop Apache:
/etc/init.d/httpd stop

Secondly, disable it from starting on boot:
chkconfig httpd off

Next, we need to prevent cPanel's Chkservd feature from automatically restarting Apache:
Open /etc/chkserv.d/chkservd.conf with the text editor of your choice (e.g. nano, vi) and change httpd:1 to httpd:0


And that's it! Apache will now stay disabled without being automatically restarted.

The available services are as follows:

cpdavd
cpgreylistd
cpsrvd
crond
dnsadmin
entropychat
exim
ftpd
httpd
imap
ipaliases
mailman
mysql
named
p0f
pop
spamd
sshd


Was this answer helpful?

« Back

We're trusted by amazing customers in 136 countries - come & join us!
OR.S May 10, 2024
Excellent host

Excellent host. Prompt replies in good, clear English, easy migration from HG, good speed, all necessary info provided on sign up (ftp, logins etc) error free. Highly recommended.

Christopher James May 1, 2024
I'm very pleased

Affordability, reliability and great customer service. I hos ted my website here. George built something that will potentially be big.

Paola Meyer April 13, 2024
Customer Attention is 5 Stars

Customer Attention. Staff of Ethernet Servers is superb, fast and answers tickets in a pretty speedy manner.

stxsh February 17, 2024
Excellent Provider with Exceptional Support

Been with them for a week and the transition from old hostin g to ethernetserver has been nothing but a joyful experience. Setting up new vps, networking is like a breeze. All set up by george and nothing to worry about really.


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
sales@ethernetservers.com

Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 136 countries since September 2013!