Restarting services using command line

This article applies to 123-reg Linux VPS hosting

This article will explain how to restart some services using command line services on your 123-reg Linux VPS server.

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.

qmail

etc/init.d/qmail restart

Postfix

postfix stop
postfix start

IMAP

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


Webservices

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.

Ubuntu

/etc/init.d/apache2 restart

CentOS

/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

Offer

Answer options

Your feedback was successfully added.

Answer tracking

Track

Watch the content of this article for changes.