Closed (fixed)
Project:
Barracuda
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2012 at 14:47 UTC
Updated:
15 Mar 2013 at 14:54 UTC
Hey, when updating barracuda i run into this issue which I pretty sure created myself. When installing the BOA stack for the first time i ignored the DNS lookup check because the DNS records had a long expiration time and i didn't want to wait. Than i "fixed" the IP adress in the important config files which works fine until i update BOA than this drushrc.php files get generated:
drushrc.php: '@server_master' => 'WRONG.IP.ADDRESS',
Where do i need to reset the IP?
Comments
Comment #1
omega8cc commentedFirst, you have to replace IPs in all server config files where they are used:
Now type "mysql" as root and do the same for db server grants:
Now you will need two scripts we have used to fix the problem. Note that
octopusXdbnameis a placeholder for your real dbnames of satellite hostmasters to fix. You could avoid adding moreelifif all hostmasters share some specific string in the dbname.$ nano fix-hosting_ip_addresses$ bash fix-hosting_ip_addressesThen:
$ nano fix-server_master$ bash fix-server_masterComment #3
AntiNSA commentedsed -i "s/106.187.42.64/106.187.37.184/g" /data/disk/*/clients/*/*/*.php
no such file or directory on latest head////
Comment #4
AntiNSA commentedsed -i "s/106.187.42.64/106.187.37.184/g" /data/disk/*/.drush/provision/http/nginx/*.conf
no such file or directory on latest head////
Comment #5
AntiNSA commentedUPDATE `mysql`.`db` SET Host = REPLACE(Host, '106.187.42.64', '106.187.37.184');
changed: 0
Comment #6
omega8cc commented