How to restart WHM/cPanel in SSH?

Moebuntu

Well-known member
Registered
Joined
Jul 1, 2016
Messages
103
Points
18
Anyone know how to restart WHM/cPanel in SSH? I did a few configurations on Mysql and PHP.ini and now I want to restart cPanel to take affection for new configurations.
 

SolaDrive

Active member
Hosting Provider
Registered
Joined
Apr 11, 2017
Messages
72
Points
8
You would use the following, changing the command at the end to what you want to do: /etc/init.d/cpanel start/stop/status/restart
 

BuzzNoc

Well-known member
Hosting Provider
Registered
Joined
Mar 14, 2017
Messages
174
Points
18
I just reboot so ssh: reboot

always fixes my issue lol
 

SolaDrive

Active member
Hosting Provider
Registered
Joined
Apr 11, 2017
Messages
72
Points
8
That certainly is another option, if you don't mind the downtime.
 

SakamHost

Member
Registered
Joined
Apr 30, 2017
Messages
50
Points
6
First give more details, what kind of linux are you using?
Reboot will fix many things but if you dont wanna wait tell us your linux and we will tell you cmd.
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
From the command line run following command....always best choice regardless of OS version.

service cpanel restart
 
Latest Threads
Replies
1
Views
25
Replies
0
Views
180
Replies
1
Views
39
Replies
2
Views
81

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top