Restarting services using command line
This article will explain how to restart some services using command line services on your 123 Reg Linux VPS server.
Please note: this article was originally created for our previous generation of Virtual Private Servers. As such, these instructions may not be relevant to our current generation of Virtual Private Servers.
Plesk Control Panel
If Plesk Panel is not displaying in a browser when you go to https://[[IP Address]]:8443 or http://[[IP Address]]:8880, gives page errors or you are unable to access some pages. You can restart the Plesk interface by logging into your server using SSH and using the following command.
If you are having email issues you can restart the email service by running the following commands.
If your websites are not displaying, emails are not sending, port 80 is not responding or issues relating to httpd or apache2 are received. You can restart your webservices by using the following command for your particular distro.
If your websites are not being displayed, subdomains not displaying, issues with IPv4 and IPv6 address or getting error messages relating to dnsmg. You can restart your DNS services by running the following command.
MySQL database Services
If you get any MySQL errors you can restart the service by using the following command.
Unsure what service to reset?
The following command will restart several services together.