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.

etc/init.d/sw-cp-server restart

Email Services

If you are having email issues you can restart the email service by running the following commands.


etc/init.d/qmail restart


postfix stop
postfix start


/etc/init.d/courier-imap stop
/etc/init.d/courier-imap start


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.


/etc/init.d/apache2 restart


/etc/init.d/httpd restart

DNS Services

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.

/etc/init.d/bind9 restart

MySQL database Services

If you get any MySQL errors you can restart the service by using the following command.

/etc/init.d/mysql restart

Unsure what service to reset?

The following command will restart several services together.

/etc/init.d/psa restart