• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk 12.5 Nginx starting failure in OpenVZ VM

nethubonline

Regular Pleskian
Under OpenVZ VM, Nginx starts getting failure because cannot bind to IP port 80, the reason is that the network is not yet fully started so that no IP configured during Nginx starting.

Apr 6 15:45:43 c9 systemd: Starting Startup script for nginx service...
Apr 6 15:45:43 c9 nginx: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Apr 6 15:45:43 c9 nginx: nginx: [emerg] bind() to 1.2.3.4:80 failed (99: Cannot assign requested address)
Apr 6 15:45:43 c9 nginx: nginx: configuration file /etc/nginx/nginx.conf test failed
Apr 6 15:45:43 c9 systemd: nginx.service: control process exited, code=exited status=1
Apr 6 15:45:43 c9 systemd: Failed to start Startup script for nginx service.
Apr 6 15:45:43 c9 systemd: Unit nginx.service entered failed state.
Apr 6 15:45:43 c9 systemd: nginx.service failed.


After system fully start up, systemctl restart nginx can start the nginx without problem because at this time IP exists already.
Tested that modify /usr/lib/systemd/system/nginx.service which fix the problem, but I am not sure whether this is good to start after network-online.target :

[old]
After=network.target remote-fs.target nss-lookup.target
[new]
After=network-online.target remote-fs.target nss-lookup.target

Confirmed that no this problem in non OpenVZ VM, because NetworkManager starts eariler than Nginx
 
Back
Top