• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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