Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: Commands to restart services on Linux server  (Read 1824 times)
« on: July 20, 2009, 09:52:54 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



Hi,

Some commands to restart services on Linux server:

DNS start/restart/stop/check current status:
starting: /etc/rc.d/init.d/named start
stopping: /etc/rc.d/init.d/named stop
restarting: /etc/rc.d/init.d/named restart
check status: /etc/init.d/named status

Restart/Start/stop MySQL:
/etc/init.d/mysql start
/etc/init.d/mysql stop
/etc/init.d/mysql restart

Start/Stop Spamassassin:
/etc/init.d/spamassassin start
/etc/init.d/spamassassin stop

Regards,

Kailash

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Logged

« Reply #1 on: November 07, 2009, 12:53:37 PM »
digitalpoint Offline
Newbie

View Profile
*

iTrader: 0
Posts: 46



Really useful commands. Thanks for sharing this!!

Digitalpoint
Logged
« Reply #2 on: November 25, 2009, 06:25:20 AM »
kvchosting Offline
Newbie

View Profile
*

iTrader: 0
Posts: 17



if you want to restart all cpanel services

run service cpanel restart

/scripts/restartsrv_http   this is for apache

/etc/init.d/named reload  remember named should not be restarted it needs to be reloaded.


Logged
« Reply #3 on: July 20, 2010, 11:03:00 PM »
webhosting.am Offline
Newbie

View Profile
*

iTrader: 0
Posts: 16



adorable information, thanks
Logged
« Reply #4 on: September 15, 2010, 03:42:51 AM »
Web Hosting In India
brainpulse Offline
Newbie

View Profile WWW
*

iTrader: 0
Posts: 14



thanks,

interesting commands, This will helpful in reseller a/c........
Logged
« Reply #5 on: December 22, 2011, 02:38:11 AM »
demanwyngaert Offline
Newbie

View Profile
*

iTrader: 0
Posts: 2



[root@root ~]# reboot

i think this is the best command ..
Logged

Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap