• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

11.5.30 update and nginx - now no sites load

mikcanavan

Basic Pleskian
I was hoping to reduce Apache CPU usage by installing the nginx component, which installed fine... however after installing "php-fpm support for nginx" I was unable to get back on to Plesk and sites would not load. Plesk login error showed :

ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)

I carried out a yum update, and then a server reboot - and I can now get back into Plesk, but no sites are loading - all cannot connect.

I'm stuck... can anyone throw me some ideas?
 
Odd... looks like I have found it (2 hours of trying, then as soon as I post I spotted it!)

When restarting the nginx service via 'service nginx restart' I got :
Not starting nginx as it is disabled in config

Google'ing the error took me here : http://forum.parallels.com/showthread.php?260371-Nginx-Does-not-Start

I then tried : /usr/local/psa/admin/bin/nginxmng --enable and I'm back up and running.

Now to get back to reducing the Apache CPU load...
 
Back
Top