Support / KnowledgeBase

 
Search the KnowledgeBase Search

Restarting services in Plesk

  • Applies to: (dv) 3.5, (dv) 4.0

  • Difficulty: Easy

  • Time needed: 10 minutes

  • Tools needed: Plesk administrator access

 
  • Applies to: (dv) 4.0
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Plesk administrator access, SSH, root or sudo access
  • Applies to: (dv) 3.5
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Plesk administrator access, SSH, root or sudo access

Overview

You may need to restart one of your system services, such as Apache or MySQL, on your (dv) Dedicated-Virtual Server. This can be for a variety of reasons.

  • You may have updated a configuration for the service, and you need to restart the service for your changes to take effect.
  • A service may be malfunctioning and require a restart.
  • A service may have crashed and require a start or restart.

Restarting only the relevant process is more graceful than rebooting your server.

End of Life Warning

This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.

Plesk instructions

  1. Sign into Plesk Server Administration Panel as the admin or root user.


    Figure 1. Plesk Server Administration Panel

  2. Under "Server Management," click on "Tools & Utilities."


    Figure 2.

  3. Click on "Services Management."
  4. Click the button for your desired action.
    • Start - green arrow
    • Stop - red square
    • Restart - yellow circle
    If an option is grayed out, that means the service is either already running, or already stopped.

Plesk instructions

  1. Sign into Plesk as the admin or root user.
  2. Click on Virtuozzo in the column on the left.

    Plesk_virtuozzo.png

  3. Click on System Services.

    Plesk_virtuozzo_services.png

    You will see a list of services available on your system, and their current status.

    Plesk_virtuozzo_services_list.png

  4. Select the appropriate service by checking the box on the right. Then click Restart at the top.

    Plesk_virtuozzo_services_restart.png

  5. Check on the status of the restart by clicking on Details on the left.

    Plesk_virtuozzo_services_details.png

    A new window will open. If the restart finishes successfully, all steps will say "Completed." If not, you will receive a warning with details on why the service did not restart. Read the warning carefully, or search for the text of the warning, for information on how to proceed.

That's it! Your service has now been restarted.

Alternate Plesk method

You can also access a quick list of the more common services in Plesk.

  1. Sign into Plesk as the admin or root user.
  2. Click on Server in the column on the left.

    Plesk_server.png

  3. Click on Service Management.

    Plesk_server_service.png

    You will see a short list of system services, with options to Start, Stop, and Restart.

    Plesk_virtuozzo_service_list.png

  4. Click the button for your desired action.
    • Start - green arrow
    • Stop - red square
    • Restart - yellow circle
    If an option is grayed out, that means the service is either already running, or already stopped.

SSH instructions

  1. Log into your server as a root or sudo user via SSH.
  2. Execute the following command. This example is for Apache, or httpd. Please substitute the name of the service you are trying to restart.
    
    /etc/init.d/httpd restart
    
    

    You should see output like:

    
    Stopping httpd:                                            [  OK  ]
    Starting httpd:                                            [  OK  ]
    
    

    Any errors will also appear in the output. Read them carefully, or perform a search on the text of the error, for information on how to proceed.

That's it! Your service has now been restarted.

List of services

  • Cron: crond
    • Runs scheduled tasks on your server, such as backups and log rotations.
  • Apache: httpd
    • Runs your web server, including serving all HTML and PHP pages.

TIP:

You can restart Apache gracefully to provide a seamless user experience. Run this command:

/etc/init.d/httpd restart graceful

This will not work if you are trying to kill a runaway process. In that case, restart normally. For more information on graceful restarts, see Apache.org.

  • Firewall: iptables
    • Your firewall rules.
  • MySQL: mysqld
    • Runs your MySQL database server. Needed for many common content management systems.
  • Nameservers: named
    • Runs private nameservers. Can safely be disabled if you are not running private nameservers.
  • Plesk: psa
    • The Plesk interface.
  • Mail: qmail
    • Sends and receives email.
  • Samba: smb
    • Allows sharing of files with Windows file systems. Can safely be disabled if you are not trying to connect to a Windows file system.
  • SSH: sshd
    • Allows SSH or Terminal access to your server.
  • Logs: syslog
    • Logs system data, including access and error logs.
  • FTP: xinetd
    • Allows file transfers via FTP.

User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue