• 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.

enabling nginx proxy failed

Peter_R

Basic Pleskian
hello

here is my setup
Centos6.6 x86_64 Minimal install + Plesk12 installation completed without problem.

however when i logged in to Plesk Panel i get this message.

ERROR: PleskException
Up Level
Unable to configure control panel: nginxmng failed: [2014-12-02 07:32:44] ERR [util_exec] proc_close() failed
enabling nginx proxy failed:
255 Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

Nginx proxy changes had been reverted.

everything seems to work but i would like to have it enabled for performance reasons
when i check it

# /etc/init.d/nginx status
nginx is stopped

then i try to start it manualy
/etc/init.d/nginx start
Not starting nginx as it is disabled in config

then i try to force it
/usr/local/psa/admin/bin/nginxmng --enable

[2014-12-02 08:19:48] ERR [util_exec] proc_close() failed
enabling nginx proxy failed:
255 Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
Nginx proxy changes had been reverted.


Please Advise how to fix that issue ...


Thanks
 
Hi Peter_R,

one reason might be, that FastCGI is not correctly configured/installed. You could always try to use the bootstrapper repair for such issues and could as well make sure, that all Plesk updates/patches are installed:

/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base


Your issue might as well be caused by SELinux and/or missing policies, so it might be a good idea to check this.
You can mostly find issues by investigating error - logs on your system, which mostly point directly to the specific error.

 
thank you i tried the suggested commands

problem still not resolved

however you were right about SELinux this seems to be a problem. funny thing is that
Plesk 12 Installation Guide does not say anything about it but they do mention about AppArmor which seems to be in Ubuntu only... i assume it does not show as enabled in centos.

So i disabled SELinux for the duration of a New Installation and will post the update here if that resolved it..
but i have feelings that it will...

thanks
 
update:
yes SELInux was at fault , and preventing to start up the nginx service
when i did fresh install and used command before plesk install
setenforce 0
to temporaily disable SELinux abd that worked
that resolved the problem .

all services are running..
i wish there was some installation notice about in Plesk 12 Installation.
 
Another Update:
to confirm you have to Completely Disable SELInux on linux.
If not disabled it will prevent from running certain Plesk Services and do proper update
so make sure its disabled.
Now my problem is fixed. I Hope that helps others
 
Back
Top