We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Nginx and named doesnt start at boot
Nginx and named doesnt start at boot
I have installed the VestaCP.
After about 3 days the nginx(frontend) and named stopped starting on boot. i have to manually open terminal and start it.
2016/02/29 20:08:33 [emerg] 719#0: bind() to x.x.x.x:80 failed (99: Cannot assign requested address)
Is there something i can do to try to fix this?
I have read loads of posts here but cant find a solution.
Is there a possibility to reset some settings to make it work?
After about 3 days the nginx(frontend) and named stopped starting on boot. i have to manually open terminal and start it.
2016/02/29 20:08:33 [emerg] 719#0: bind() to x.x.x.x:80 failed (99: Cannot assign requested address)
Is there something i can do to try to fix this?
I have read loads of posts here but cant find a solution.
Is there a possibility to reset some settings to make it work?
Re: Nginx and named doesnt start at boot
Check if you dont lost any IP on reboot
ifconfig
And check if nginx not runing
ps aux |grep nginx
If runing kill pid or killall nginx
Then service nginx start
If you lost IPs, or remove ip from server and dont remove it from vesta nginx dont start.
ifconfig
And check if nginx not runing
ps aux |grep nginx
If runing kill pid or killall nginx
Then service nginx start
If you lost IPs, or remove ip from server and dont remove it from vesta nginx dont start.
Re: Nginx and named doesnt start at boot
When testing ifconfig i get this:
Last edited by leisegang on Mon Feb 29, 2016 8:21 pm, edited 1 time in total.
Re: Nginx and named doesnt start at boot
Yes there is one IP.
You need check if nginx try listing on same IP than you have venet0:0 or in orther one your x.x.x.x -> bind() to x.x.x.x:80 failed (99: Cannot assign requested address)
You need check if nginx try listing on same IP than you have venet0:0 or in orther one your x.x.x.x -> bind() to x.x.x.x:80 failed (99: Cannot assign requested address)
Re: Nginx and named doesnt start at boot
How do i do that?
Re: Nginx and named doesnt start at boot
Check if x.x.x.x:80 is same IP ad you have on vnet0:0
Re: Nginx and named doesnt start at boot
The venet and nginx ip is the same
Re: Nginx and named doesnt start at boot
CHeck if you have runing apache or other nginx
is use centos
on debian
Or check if you dont have any orther application on port 80
is use centos
Code: Select all
ps aux |grep httpd
Code: Select all
ps aux |grep apache2
ps aux |grep nginx
Code: Select all
netstat -plnt