• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Pesk interface on port 8443 does not work (ERR_CONNECTION_REFUSED) after nginx purge and reinstall

Thabet

New Pleskian
Hello,

After executing this command "sudo apt-get remove nginx* --purge", plesk interface does not work anymore on my ip address on port 8443.
I saw in the terminal during the execution of "sudo apt-get remove nginx* --purge" that it was removing alot of components related to plesk itself.
Here's the list of commands I executed:

service apache2 stop
apt-get remove nginx* --purge
apt-get install nginx-common
apt-get install nginx
sudo service nginx restart
service apache2 start

Here's the logs of "service apache2 start":
"
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
"

Apache2 Logs:
● (red) apache2.service - LSB: Apache2 web server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: failed (Result: exit-code) since Thu 2021-06-24 13:28:57 CEST; 56s ago
Process: 12279 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Jun 24 13:28:57 ocr-immowiin systemd[1]: Starting LSB: Apache2 web server...
Jun 24 13:28:57 ocr-immowiin apache2[12279]: Starting web server: apache2 failed!
Jun 24 13:28:57 ocr-immowiin apache2[12279]: The apache2 configtest failed. ... (warning).
Jun 24 13:28:57 ocr-immowiin apache2[12279]: Output of config test was:
Jun 24 13:28:57 ocr-immowiin apache2[12279]: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 5 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Syntax error on line...
Jun 24 13:28:57 ocr-immowiin apache2[12279]: Action 'configtest' failed.
Jun 24 13:28:57 ocr-immowiin apache2[12279]: The Apache error log may have more information.
Jun 24 13:28:57 ocr-immowiin systemd[1]: apache2.service: control process exited, code=exited status=1
Jun 24 13:28:57 ocr-immowiin systemd[1]: Failed to start LSB: Apache2 web server.
Jun 24 13:28:57 ocr-immowiin systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Plesk error:
1624534490729.png

I don't know what is going on and i'm afraid I broke plesk GUI interface.

Please help me.
 
Have you tried to fix it with

# plesk repair all

or

# plesk repair installation

?
 
Unfortunately it didn't work for me.

I made a backup and reverted to a last snapshot.

Unfortunately, the last Plesk update is not perfect either, subdomains are also created with 500.

However, these can be used if you deactivate the proxy in the hosting settings. At least temporarily
 
I added the following manually. Now the subdomain is also running in proxy mode

Connect to the server using SSH
Change to user root:

plesk sbin httpdmng --reconfigure-all
 
Back
Top