• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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