nginx proxy failed to start


2016-11-16 13:15:31 UTC


2017-08-08 13:13:14 UTC


Was this article helpful?

Have more questions?

Submit a request

nginx proxy failed to start

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux


  1. nginx cannot be started the following error appears in /var/log/plesk/panel.log :
    [2016-05-09 04:38:36] ERR [util_exec] proc_close() failed
    enabling nginx proxy failed: getsebool: SELinux is disabled

    255 Service /etc/init.d/nginx failed to start
    getsebool: SELinux is disabled

    Nginx proxy changes had been reverted.


    [2016-11-20 17:17:41] ERR [panel] Unable to make action: Unable to manage service by nginxmng:  ('start', 'nginx'). Error: [2016-11-20 17:17:40] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code [255]
  1. The similar error can be found in /var/log/plesk/panel.log with enabled debug mode:

    [2016-05-09 04:38:13] DEBUG [util_exec] [61e00b70c97cbc7c15ef8e780a2b2d44][0] Starting: nginx_proxy --on --port-map 80:80,443:443
  2. Attempt to enable nginx fails with the error:

    nginx[31978]: nginx: [emerg] bind() to failed (98: Address already in use)


Wrong values for webProxy parameter in psa.ServiceNodeConfiguration table.


  1. Create backup of psa database before modify it:

    MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -uadmin psa > /root/psa_db_backup_`date +%F.%s`.sql
  2. Verify that psa.ServiceNodeConfiguration table contains correct values:

    mysql> SELECT * FROM ServiceNodeConfiguration WHERE section='webProxy' AND name LIKE '%ackendPort%';
    | serviceNodeId | section | name | value |
    | 1 | webProxy | backendPort | 7080 |
    | 1 | webProxy | sslBackendPort | 7081 |
    2 rows in set (0.00 sec)
  3. Change the values if it necessary using the following queries:

    UPDATE ServiceNodeConfiguration SET value=7080 WHERE section='webProxy' AND name='backendPort';
    UPDATE ServiceNodeConfiguration SET value=7081 WHERE section='webProxy' AND name='sslBackendPort';
Have more questions? Submit a request
Please sign in to leave a comment.