Plesk offers a lot of useful options for managing your VPS. However, it might happen that a mistake in your configuration creates a problem. In this article we look at some of the common questions we receive and at the frequently used solutions.
The Plesk repair tool
Most problems in Plesk can easily be solved with the Plesk Repair tool which automatically checks and fixes almost all aspects of Plesk. Connect via commandline or the VPS console and use the following command:
sudo plesk repair all -y -v
Nginx / Apache doesn’t start automatically
This problem can occur with VPSs using Plesk that have been installed before April 2018. We have implemented the following solution in our Plesk image so installations from April 2018 will no longer experience this problem.
Nginx / Apache does not start after restarting a VPS. This is usually noticed after performing an automatic update and then restarting the VPS.
We have examined this problem in detail and consulted with Plesk. The problem is related to DAD as far as we can determine (see this link for an explanation about DAD). Your OS (in this case CentOS 7) does not have an ‘is an ipv6 address assigned’ service in systemd. What happens is that your network service starts, then Nginx / Apache starts, but your IPv6 address is not actually ready for use, so Nginx / Apache cannot connect to it and the service crashes (you will see an error message in journalctl -xe).
Create the following configuration file:
sudo nano /usr/lib/sysctl.d/60-transip.conf
Add the following line to turn off DAD and save the file (ctrl + x> y> enter)
net.ipv6.conf.eth0.accept_dad = 0
Open the nginx / apache configuration file (replace nginx.service with httpd.service if you use Apache):
sudo nano /usr/lib/systemd/system/nginx.service
At the beginning of the file, adjust the section behind 'After' so the line looks like this:
After a restart of your VPS the problem should no longer occur.
Underscore in DKIM records
If you manage the DNS of your domain in Plesk and you want to add a DKIM record with an underscore _ in the name you get an error message. This is the result of a bug in Plesk and can be solved by using the following command via commandline or the VPS console:
plesk bin dns --add jedomein.nl -cname transip-A._domainkey -canonical _dkim-A.transip.email
- Replace ‘yourdomain.com’ by your actual domain name.
- Replace 'transip-A._domainkey' by the name of the subdomain you want to add.
- Replace '_dkim-A.transip.email' by the value of the record you want to add.
The Plesk DNSSEC extension doesn’t work
Problems with the Plesk DNSSEC extension are usually caused by a mistake in the license key file on your VPS. You solve this by retrieving the license key file again as follows:
Log in to Plesk and go to 'Tools & Settings'> 'License Management'.
Click on 'Retrieve Keys'. You can now use the DNSSEC extension from 'Extension Settings'> 'Plesk DNSSEC'.
Above we have covered some problems that we get asked from time to time. Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.
If you want to discuss this article with other users, please leave a message under 'Comments'.