WebHost Manager 11 Documentation
Restart Services
Overview
You can restart any of the available services on the web server at any time. You can restart the following services:
- Mail Server (Exim)
- DNS/Name Server (BIND)
- FTP Server (ProFTPd)
- SQL Server (MySQL)
- SSH Server (OpenSSH)
- HTTP/Web Server (Apache)
- POP3 Server (cppop)
- IMAP Server (uwimap)
- E-Commerce Server (interchange)
- Postgresql Server
- Servlet Server (tomcat)
Refer to the Service Manager if you need to start or stop a service.
To access the Restart Services Menu, click on Restart Services, on the main screen of your WebHost Manager interface.
Click on the required link in the Restart Services menu. This immediately attempts to restart the service and displays that serviceamp;s status.
Troubleshooting (advanced users only)
If a service will not restart, you may want to try and restart it from the command line. For this you can use:
/scripts/restartsrv serviceReplace "service" with the name of the service: exim, named, proftpd, httpd, etc)
You can also restart a service through the system. This depends on the OS you are using as to where the files are located. For many distributions they are located in /etc/rc.d/init.d/
To restart this way instead, you can use:
/etc/rc.d/init.d/serviceReplace "service" with the name of the service: exim, named, proftpd, httpd, etc)
You can use the following command to list all the services that can be restarted by the system:
cat /etc/rc.d/init.d/If the service fails when restarting (or at all), you should check the error log. For example, to check apache's error log, use:
tail /usr/local/apache/logs/error_logThe error log can be very useful for tracking down issues.
If you cannot determine the cause of the issue from the error log, you should contact your host or cPanel for support.
