upgraded PC to 21.2.6, but upgrade failed due to the following error
Custom Action: com.ca.im.installanywhere.action.GenerateInstallFailure
Status: FATAL ERROR
Additional Notes: FATAL ERROR - class com.ca.im.installanywhere.action.GenerateInstallFailure FatalInstallException: MySql is not running.
Release : 21.2
Component :
The /etc/redhat-release file was missing
since redhat-release was missing the needed data.
we thought it was non-6.x... so that resulted in:
1. removal /etc/init.d/mysql
2. installation of systemd service but 6.x doesn't support
3. inability to stop/start mysql, due to no /etc/init.d/mysql
4. so no upgrade could be performed
/bin/cp -f /opt/CA/MySql/support-files/mysql.server /etc/init.d/mysql
chkconfig mysql --add
service mysql stop (this stopped the service but also said [Failed]
put set -x in the mysql script, and found it was looking for /data/opt/CA/MySql/data/spm5630.lexisnexis.com.pid
The pid in /data/opt/CA/MySql/data was spm5630.pid, so we renamed it to spm5630.lexisnexis.com.pid
We were able to stop mysql, but it also said [Failed] - but the process was stopped
mv /opt/CA/MySql/data/spm5630.err /opt/CA/MySql/data/spm5630.err.bak
service mysql start
/opt/CA/MySql/bin/mysql_upgrade -uroot -pPASSWORD --force > /opt/CA/MySql/mysql_upgrade_results.txt 2>&1
UPGRADE SUCCESSFUL
Reran the Performance Center installer and the system came up fine