can you restart services that are listed under restart services in whm thru ssh
or only thru whm
I am wanting to do restarts thru ssh it seems to be faster when i do anything thru ssh than in whm
thanks again
Shannon
can you restart services that are listed under restart services in whm thru ssh
or only thru whm
I am wanting to do restarts thru ssh it seems to be faster when i do anything thru ssh than in whm
thanks again
Shannon
Yes, you can. cPanel provide various scripts for restarting different services safely /scripts/restartsrv_*
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
In general, another easy way is to restard from the init.d directory.
For example, to reboot Apache (the web server, which is known as httpd), just su - to root and type:
/etc/init.d/httpd restart
Another example is Exim....
/etc/init.d/exim restart
There are numerous other ways to start, stop, and restart the servers, but the ones Chirpy and I offered are probably the easiest to begin with.
~ Dan
^--- I wrote that.
http://www.parasane.net/
<plug shame="no">
We also offercPanel/WHM hosting plans that include full PHP text-to-speech technology
We created it so that you can play with it!
</plug>
You can simply restart services by
service servicename stop/start
e.g
service httpd stop/start (WebServer Apache)
service mysql stop/start (MySQL Server)
service exim stop/start (Mailserver Exim)
service cpanel stop/start (CPanel)
service named stop/start (BIND)
.... and so on
I was going to mention that method, as well, but I figured for someone new to the game it may be easier for them to see a list of services that could be controlled by listing the directory. Still, by you leaving a list like that here, Web, that's a better idea than mine.
^--- I wrote that.
http://www.parasane.net/
<plug shame="no">
We also offercPanel/WHM hosting plans that include full PHP text-to-speech technology
We created it so that you can play with it!
</plug>
I think its better for the newbie to know how he can stop/start services.As there are three methods mentioned in this thread so its upto him which one he chooses but he must know by now that there are other methods too.![]()