[SOLVED] Bugs found when changing site IP
[SOLVED] Bugs found when changing site IP
Changing hosting today. New IP was created in VestaCP and assigned to domain. I've bump up system config items where Vesta doesn't change.old ip. It made impossible to connect to server with 502 Bad gateway from nginx until I've found old ip with grep and fix manually.
Items are:
/etc/iptables.rules
-A INPUT -s XXX.XXX.XXX.XXX/32 -j ACCEPT
/ipt
same string
/etc/vsftpd.conf
pasv_address
new IP appears in single quotes: pasv_address='xxx.xxx.xxx.xxx'
causing error
500 OOPS: invalid pasv_address
and subsequent
500 OOPS: priv_sock_get_cmd
while connecting ftp. After removing quotes and vsftpd restart ftp connection was restored
Hope it would be helpful for users and developers
Debian 7 32-bit
vestacp 0.9.8 (i386)
vesta-php 0.9.7 (i386)
vesta-nginx 0.9.7 (i386)
Items are:
/etc/iptables.rules
-A INPUT -s XXX.XXX.XXX.XXX/32 -j ACCEPT
/ipt
same string
/etc/vsftpd.conf
pasv_address
new IP appears in single quotes: pasv_address='xxx.xxx.xxx.xxx'
causing error
500 OOPS: invalid pasv_address
and subsequent
500 OOPS: priv_sock_get_cmd
while connecting ftp. After removing quotes and vsftpd restart ftp connection was restored
Hope it would be helpful for users and developers
Debian 7 32-bit
vestacp 0.9.8 (i386)
vesta-php 0.9.7 (i386)
vesta-nginx 0.9.7 (i386)
Re: Bugs found when changing site IP
Thanks, Ted B
No such thing in newer versions.
No such thing in newer versions.