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 & Apache not starting after reboot.
-
- Posts: 5
- Joined: Mon Mar 09, 2015 12:30 pm
Nginx & Apache not starting after reboot.
Hi to all,
thanks for the awesome software Vesta CP.
easy to use for all newbies like me.
kindly help me. after reboot the nginx and apache modules are not starting.
i tried several things as said in forum.
i'm running an ubuntu 12.04 in azure VM - with 1.5GB of RAM.
running no other softwares.. fresh install. it worked fine yesterday. but after rebooting it gets this error.
any solutions.??
thanks in advance.
thanks for the awesome software Vesta CP.
easy to use for all newbies like me.
kindly help me. after reboot the nginx and apache modules are not starting.
i tried several things as said in forum.
i'm running an ubuntu 12.04 in azure VM - with 1.5GB of RAM.
running no other softwares.. fresh install. it worked fine yesterday. but after rebooting it gets this error.
any solutions.??
thanks in advance.
Re: Nginx & Apache not starting after reboot.
Show us error logs please from /var/log
And from screenshot you restart not system nginx/apache, but vesta nginx
And from screenshot you restart not system nginx/apache, but vesta nginx
-
- Posts: 5
- Joined: Mon Mar 09, 2015 12:30 pm
Re: Nginx & Apache not starting after reboot.
i saw the error log in which is shows its trying to bind to an ip, which is the ip address of yesterday.
apache2 also tries to bind to yesterdays ip.. so they are getting failed as todays ip is different,
kindly help me how to change an config file or something so that i can change the old ip address from the nginx and apache.
error.log below:
2015/03/10 04:53:48 [emerg] 1660#0: bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
2015/03/10 05:00:55 [emerg] 3619#0: bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
this 100.72.228.57:80 is yesterday's ip address.. todays is different.
help me
thanks in advance,.
apache2 also tries to bind to yesterdays ip.. so they are getting failed as todays ip is different,
kindly help me how to change an config file or something so that i can change the old ip address from the nginx and apache.
error.log below:
2015/03/10 04:53:48 [emerg] 1660#0: bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
2015/03/10 05:00:55 [emerg] 3619#0: bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
this 100.72.228.57:80 is yesterday's ip address.. todays is different.
help me
thanks in advance,.
Re: Nginx & Apache not starting after reboot.
In folders with apach2/httpd and nginx search for conf.d folder, in those folder find and remove/move files with old IP in name. Then you need restart nginx/apache services and check.
-
- Posts: 5
- Joined: Mon Mar 09, 2015 12:30 pm
Re: Nginx & Apache not starting after reboot.
root@fatert:/etc/nginx# /etc/init.d/nginx restart
* Restarting nginx nginx nginx: [emerg] bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed.
i'm getting this
* Restarting nginx nginx nginx: [emerg] bind() to 100.72.228.57:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed.
i'm getting this
-
- Posts: 5
- Joined: Mon Mar 09, 2015 12:30 pm
Re: Nginx & Apache not starting after reboot.
i had removed the ip conf in apache2.. its working now.
but in case of nginx its showing the same error above..
is it getting the ip address of yesterday from somewhere???
but in case of nginx its showing the same error above..
is it getting the ip address of yesterday from somewhere???
Re: Nginx & Apache not starting after reboot.
Check nginx folder /etc/nginx/conf.d/ and do the same as in apache folder, then restart service.
-
- Posts: 5
- Joined: Mon Mar 09, 2015 12:30 pm
Re: Nginx & Apache not starting after reboot.
Is there any solution to automatically change those ip address by itself.??
do i need to do it everytime.?? i'm running ubuntu vm in azure.. in which i shutdown the vm daily.. so daily i need to do it..
it will be better if VESTACP team give us a solution for this.
I even tried to jump to webmin.. but nothing is as good, easy, convient as this vestacp.
kindly help me. thank you team
do i need to do it everytime.?? i'm running ubuntu vm in azure.. in which i shutdown the vm daily.. so daily i need to do it..
it will be better if VESTACP team give us a solution for this.
I even tried to jump to webmin.. but nothing is as good, easy, convient as this vestacp.
kindly help me. thank you team
Re: Nginx & Apache not starting after reboot.
Solution for brave mans - viewtopic.php?f=10&t=5975
Not fully auto, but... better than nothing
Not fully auto, but... better than nothing
Re: Nginx & Apache not starting after reboot.
My logs any help
2015/10/22 15:20:44 [emerg] 2348#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 15:32:42 [emerg] 11344#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 15:46:15 [emerg] 12553#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:11:49 [emerg] 22110#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:11:58 [emerg] 22340#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:12:02 [emerg] 22570#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:12:04 [emerg] 22800#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:18:09 [emerg] 24591#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
My new IP
176.9.79.23
I changed all files
/etc/apache2/conf.d/your-old-ip.conf
/etc/nginx/conf.d/your-old-ip.conf
/usr/local/vesta/data/ips/your-old-ip
2015/10/22 15:20:44 [emerg] 2348#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 15:32:42 [emerg] 11344#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 15:46:15 [emerg] 12553#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:11:49 [emerg] 22110#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:11:58 [emerg] 22340#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:12:02 [emerg] 22570#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:12:04 [emerg] 22800#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
2015/10/22 16:18:09 [emerg] 24591#0: bind() to 176.9.79.15:80 failed (99: Cannot assign requested address)
My new IP
176.9.79.23
I changed all files
/etc/apache2/conf.d/your-old-ip.conf
/etc/nginx/conf.d/your-old-ip.conf
/usr/local/vesta/data/ips/your-old-ip