Nginx failed to start: 99: Cannot assign requested address

Follow

Comments

2 comments

  • Avatar
    Mark Verbeeck

    I had the same problem . After few days of troubleshooting :

    Problem :

    Could  been a problems with vhosting and nginx construction in certain Linix virtual environnements.

    Solution :

    Switch NGINX service off and remove NGINX from Plesk .

     - Go to  'Tools & Settings' , ' Instal and Update Plesk' , 'Add and Remove Product Components',

     - Go to 'Web hosting' , (push on ¨'+')  , 

    -  'Nginx web server and reverse proxy server' , and select 'REMOVE'

    Fixed :

    nginx settings are removed from Plesk and no other errors seen .

    Vhosting problem also fixed  (causesd by uncompleted nginx rules )

     

    ( work now under Apache HTTPD service and works 100% )

    Problem not with Plesk but with the Virtual Machine Environnement he is working in .

    You can later 'install' 'Nginx web server and reverse proxy server' in Plesk back if needed .

    Version :

    Plesk Version 17.0.17 Update #52 ( upgrades and updates same problems ) 

     

     

     

  • Avatar
    Ivan Postnikov

    Hello @Mark,

    Thank you for the feedback.

    In your case by removing Nginx you have regenerated Apache configuration.

    The same may be achieved by just disabling Nginx using the command:

    /usr/local/psa/admin/bin/nginxmng -d

    After that to enable Nginx again (the configuration of Nginx will be regenerated) use the command:

    /usr/local/psa/admin/bin/nginxmng -e

Please sign in to leave a comment.

Have more questions? Submit a request