Symptoms
External and internal IP addresses were changed on PBA-E CP host from <old_ext_ip>, <old_int_ip> to <new_ext_ip>, <new_int_ip>.PBA-E failed to start and is unable connect to database.
Cause
PBA have IP addresses recorded in configuration files and it can not function properly if these files were not updated after IP addresses were changed.Resolution
1. On PBA-E CP host execute commands:# cd ~bm/conf
# for fn in "BM.conf amt/_amt_service_.res amt/ip_access.db www/stunnel-www.conf" ; do
sed -i "s/<old_int_ip>/<new_int_ip>/g" $fn ;
sed -i "s/<old_ext_ip>/<new_ext_ip>/g" $fn ;
done
# sed -i "/`hostname`/s/<old_ext_ip>/<new_ext_ip>/" /etc/hosts2. On PBA-E database host run the following query in 'bm4' database to grant access to database from new IP address:
# mysql -uroot mysql -e "GRANT ALL on bm4.* to 'bm4'@'<new_int_ip>' identified by '<password for bm4 user>';"