Shut down server
I'm getting ready to permanently take my old server offline, but want to do a test run to make sure there aren't any problems with the new server.
How do I shut it down without it restarting?
I found this command in older threads:
service chkservd stop
But all I get from that is that chkservd is not found. I tried
service cpanel stop
Which worked fine at first, but then it restarted itself shortly thereafter.
-
Put it to bed with this: [QUOTE]shutdown -h now
Google to find out more about this: shutdown command linux0 -
Thanks, Info. I had searched before and actually found that command, but since it's a remote server I'm concerned that I'll shut it down, find a problem, and not have a way to turn it back on. Is there a way to disable all web access, but still allow SSH? 0 -
Hello, You could first go into WHM => Service Configuration => Service Manager and uncheck all services (except ssh). Then save those settings. This should shutdown all the services (httpd, dovecot, named, exim etc...) If after that is done those services are still up, you will then need to shut them all down manually. # service httpd stop # service exim stop # service dovecot stop etc... They won't restart since you will have disabled them in the Service Manager. 0
Please sign in to leave a comment.
Comments
3 comments