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

Errors after Onyx update

Takis

New Pleskian
Hi guys, i just update my plesk to onyx and i get these errors :

Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2017-07-31 22:35:23] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2017-07-31 22:35:40] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2017-07-31 22:35:53] ERR [panel] Apache config (15015333140.64610000) generation failed: Template_Exception: nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/conf.d/phusion-passenger.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/conf.d/phusion-passenger.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

And

Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/conf.d/phusion-passenger.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed. Search in KB
I have no idea what to do. Any help appreciated.

Thanks
 
Hi, UFHH01

thanks for reply, i follow the suggestions

1) Add the following directive into /etc/nginx/nginx.conf

include /etc/nginx/modules.conf.d/*.conf;

2) Restart nginx:


service nginx restart

Result :

[info] Not starting NGINX as it is disabled in config.
 
I did what you say (i thing) i am not expert.. :) please check and tell me where i am wrong.

f082f157-3852-420d-b252-9c0235754ea4

Imgur: The most awesome images on the Internet

thanks you.
 
Hi Takis,

your "root" password should be the same, as for your "admin" password. OR ( if this differs! ), you should have an eMail from your server hosting provider with the credentials. :)

Pls. don't forget to check your "nginx.conf" ( /etc/nginx/ ), if you experience further issues/errors/problems.

To check your status for "nginxmng", you might use the command:
Code:
/usr/local/psa/admin/bin/nginxmng -s
 
I have my root pass, and i am logged in as root via ssh. You did not see the image?

08.01.2017-13.24.png


08.01.2017-13.25.png


Thank you for you patience as i said i am not familiar with this process.
 
Last edited:
Now nginx is running i think, the error message is :

Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/conf.d/phusion-passenger.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed

I see another post of you that you ask these details another user with the same problem.

More details.


System : Debian 7

the output of "nginx -V"

nginx version: nginx/1.11.10
built with OpenSSL 1.0.1t 3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-ipv6 --with-file-aio --with-http_v2_module --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --add-dynamic-module=/usr/share/passenger/ngx_http_passenger_module
root@vmi33622:~#

\
 
Hi Takis,

as you now fixed the non-working nginx, pls. rebuild the webserver configuration files with the command:
Code:
plesk repair web -y -v
 
Back
Top