Web Hosting Main Forums > cPanel/WHM

Commands to restart services on Linux server

<< < (2/2)

A single command that I use to quickly check the status of all services on a box is:

service --status-all

This lists all services on the box and their current status. 


There are following ways available to restart services on your cpanel/WHM server (Example of httpd service)

From SSH

1. /etc/init.d/httpd restart

2. /scripts/restartsrv_httpd

3. service httpd restart

From WHM

WHM >> Restart services >> http server.

Jenny - PrewebHost Managed Hosting Solutions.
cPanel, Windows Shared, Reseller & Dedicated server Hosting.
99.9% Uptime | 24x7x365 Friendly Support | USA Datacenter
http://www.prewebhost.com - Since 2010

Steve Smith:
Yes its really helpful and useful..Thanks for the post..

Thanks for the amazing information.... Commands are the difficult to learn and search and i am new in this field and by reading this i am happy to read and run all these commands on Linux server.


[0] Message Index

[*] Previous page

Go to full version