- Plesk for Linux
Plesk is not accessible with a "404 Not found nginx" error. Plesk services and command-line utilities are unavailable:
# service sw-engine start
Job for sw-engine.service failed because the control process exited with error code. See "systemctl status sw-engine.service" and "journalctl -xe" for details.
# service sw-engine start
Service is running, but Plesk shows 404 error;
# plesk bin domain -l
Unknown Plesk command-line utility: "domain"
The command below returns no output:
# rpm -qa | grep plesk-core
The following error messages appear in the logfile
CONFIG_TEXT: NOTICE: Terminating ...
NOTICE: exiting, bye-bye!
ERROR: No pool defined. at least one pool section must be specified in config file
ERROR: failed to post process the configuration
ERROR: FPM initialization failed
[crit] 42379#0: *372 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream
Plesk version cannot be retrieved:
# plesk -v
open /usr/local/psa/version: no such file or directory
Plesk packages were recently removed according to a package manager log:
On CentOS/RHEL-based distributions:
# grep Erased /var/log/yum.log | grep 'psa\|plesk'
Nov 01 10:00:00 Erased: psa-firewall-17.8.11-cos7.build1708180301.19.x86_64
Nov 01 10:00:00 Erased: psa-updates-17.8.11-cos7.build1708180326.12.noarch
Nov 01 10:00:00 Erased: psa-watchdog-17.8.11-cos7.build1708180828.15.x86_64
Nov 01 10:00:00 Erased: plesk-config-troubleshooter-17.8.11-cos7.build1708181025.16.x86_64
Nov 01 10:00:00 Erased: plesk-core-17.8.11-cos7.build1708180301.19.x86_64
On Debian/Ubuntu-based distributions:
# grep remove /var/log/dpkg.log | grep 'psa\|plesk'
2018-01-01 10:00:00 remove psa-ingo:all 3.2.16-debian8.0.build1708180425.15 <none>
2018-01-01 10:00:00 remove psa-mnemo:all 4.2.14-debian8.0.build1708180425.15 <none>
2018-01-01 10:00:00 remove psa-updates:all 17.8.11-debian8.0.build1708180326.12 <none>
2018-01-01 10:00:00 remove plesk-core:amd64 17.8.11-debian8.0.build1708180301.19 <none>
2018-01-01 10:00:00 remove libpam-plesk:amd64 17.8.11-debian8.0.build1708180301.19 <none>
The following messages may appear in
CONFIG_TEXT: The following packages from not selected components will be installed because they are required by other components' packages you selected for installation:
The following components should be removed due to packages dependencies: All language localization for Plesk (l10n), Plesk (panel)
The following components will be removed because they conflict with the components you selected to install or require the components you selected to remove:All language
localization for Plesk (l10n), Plesk (panel)
Plesk installation is corrupted: Plesk core packages have been removed.
Connect to the Plesk server via SSH.
Download Plesk Installer:
# wget http://autoinstall.plesk.com/plesk-installer
# chmod +x plesk-installer
Start Plesk Installer and install missing packages:
On the Main components list for Plesk page, select Plesk for installation and proceed further.
MYSQL_LIN: Main components list for Plesk
31 of 55 components selected
Please select the components of Plesk you want to install:
1. [*] Plesk
2. [=] BIND DNS server
On Debian/Ubuntu-based distributions, re-link Plesk installation directory using these commands:
# unlink /usr/local/psa
# rm -rf /usr/local/psa
# ln -s /opt/psa /usr/local/psa
Log in to Plesk. If Plesk does not operate properly, restore Plesk databases from a daily dump.
Note: In some cases, after reinstalling Plesk packages, security key might be regenerated. It will make decryption of old passwords impossible. Plesk passwords can be reset according to this KB article.