Page 1 of 1

How to fix nigix starting problem after change IPs

Posted: Thu Oct 22, 2015 3:20 pm
by protocore
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

Re: How to fix nigix starting problem after change IPs

Posted: Tue Oct 27, 2015 8:10 pm
by Govo
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