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

Issue Nginx error

bokken

Basic Pleskian
Hello, i having problems with my nginx in plesk.

I installed the nginx but i have this error:

[root@server bin]# /usr/local/psa/admin/sbin/nginxmng -e
[2016-06-28 12:52:58] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2016-06-28 12:52:59] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2016-06-28 12:53:00] ERR [panel] Apache config (14671111780.84528000) generation failed: Template_Exception: nginx: [emerg] bind() to [2a01:4f8:xxxxxxxxxxx]:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
nginx: [emerg] bind() to [2a01:4f8:172:22d2::2]:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed



/etc/init.d/nginx start

messages log:

Jun 28 12:54:12 server systemd: Starting Startup script for nginx service...
Jun 28 12:54:12 server test: /usr/bin/test: missing argument after ‘yes’
Jun 28 12:54:12 server systemd: nginx.service: control process exited, code=exited status=2
Jun 28 12:54:12 server systemd: Failed to start Startup script for nginx service.
Jun 28 12:54:12 server systemd: Unit nginx.service entered failed state.
Jun 28 12:54:12 server systemd: nginx.service failed.

What its the problem?
 
If you try to use "99: Cannot assign requested address" phrase for KB search, you will see a lot of related articles. Have you tried?
 
Make sure that nginx is completely stopped. After that check output of the following command:

# lsof -i tcp:80
 
Back
Top