Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to fix nigix starting problem after change IPs

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
protocore
Posts: 26
Joined: Thu Sep 24, 2015 1:10 pm

How to fix nigix starting problem after change IPs
  • Quote

Post by protocore » Thu Oct 22, 2015 3:20 pm

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 has been change is all files below

/etc/apache2/conf.d/your-old-ip.conf
/etc/nginx/conf.d/your-old-ip.conf
/usr/local/vesta/data/ips/your-old-ip

New IP
176.9.79.15
Top

Govo
Posts: 26
Joined: Mon Oct 26, 2015 4:04 pm

Re: How to fix nigix starting problem after change IPs
  • Quote

Post by Govo » Tue Oct 27, 2015 8:10 pm

Hi

Did you try and rename the file and edit the ip then remove the old file ?

cd /etc/nginx/conf.d/
cp your-old-ip.conf your-old-ip.conf.backup
cp your-old-ip.con 176.9.79.15.conf

nano 176.9.79.15.conf then replace the oldip with 176.9.79.15

rm your-old-ip.con

then restart nigix in the admin section under server OR just type reboot to reboot the whole server

Cheers
Govo
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password