Nginx failed to start: 99: Cannot assign requested address

Follow

Comments

6 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

  • Avatar
    Andreas Loefke

    The only way I can run my Apache is without Nginx. There is no way, that I can get it running Plesk always says, that it can't be enabled because two IP addresses. One, the secondary IPV4 I have removed for the moment, but the IPV6 I can't remove as I always get the error message, that it is the last IP address for the interface. What is wrong as IPV4 and IPV6 are both configured on the same interface.

    I have tried to reinstall Nginx several times, to no use at all. The error message is always the same and it messes up Apache totally as websites (not using Nginx) vanish and only a message page comes up saying that the debian server is newly configured and the website haven't set up by now.

    Deinstalling Ngionx at least brings back everything as it was before, but that way I'm not able to install HTML/2.

    I made a full update before I tried to Nginx again to enable HTML/2. I'm using Plesk for several years now, but Nginx never worked. If I was able to start it (in older versions) it crashes websites often, overloaded the server or killed Apache. Now I decided to give it a try again and it seems to be still the same rubbish program as before.

  • Avatar
    Pavel Mikhaylov

    Hello Andreas,

    I recommend contacting our technical support for a proper investigation and assistance: https://support.plesk.com/

  • Avatar
    Andreas Loefke

    I tried that before, but they turned me down, because my license isn't directly by Plesk. It's via the provider of my dedicated server. They say I need to contact their support.
    So I'm forced to find a solution by my own somehow. I have absolutely no clue or idea as the error message is absolutely idiotic, as I removed the IP V6 from everything. I just can't uninstall it and I'm not willing to fully reinstall my server just to get rid of the IP V6 address, activate NGinx and then get in trouble again, when I activate it again or the secondary V4 address, as the provider of the server know shit about Plesk.

    But thanks anyway.

  • Avatar
    Ivan Postnikov

    Hello @Andreas, 

    According to the agreement between Plesk and our partners in such cases support should be provided by partners. They are well-trained and should provide support on their own.

    It is also possible to receive support even with such type of license, use this instruction.

Please sign in to leave a comment.

Have more questions? Submit a request