The CAPC install is failing.
We see these fatal errors in the log;
Custom Action: com.ca.im.installanywhere.action.GenerateUUID
Status: FATAL ERROR
Additional Notes: FATAL ERROR - class com.ca.im.installanywhere.action.GenerateUUID FatalInstallException: Error executing command: INSERT INTO general (Attribute, Value) VALUES ('ProductID', '240d1d372ecb4ff5b527bc1a02a709d9'): Unable to open database connection: (jdbc:mysql://localhost:3306/em?jdbcCompliantTruncation=false with root/) Communications link failure
Status: FATAL ERROR
Additional Notes: FATAL ERROR - class com.ca.im.installanywhere.action.MigrateDb FatalInstallException: Unable to open database connection: (jdbc:mysql://localhost:3306/em?useUnicode=true&characterEncoding=UTF-8 with root/) Communications link failure
And in the Performance_Center_Install_05_23_2016_19_49_28.log
Error: Failure to detect datasource: EVENT_MANAGERException: Server returned HTTP response code: 503 for URL: http://localhost:8181/pc/center/webservice/datasources/
When we try to start mysql we see:
[root@<hostname>. InstallLogs]# service mysql start
Starting MySQL. ERROR! The server quit without updating PID file (/opt/CA/MySql/data/<hostname>.pid).
[root@<hostname> InstallLogs]#
I checked the mysql error log in /opt/CA/MySql/data/less <hostname>.err
[root@<hostname>. data]# less <hostname>.err
160523 19:42:11 mysqld_safe Starting mysqld daemon with databases from /opt/CA/MySql/data
/opt/CA/MySql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
160523 19:42:11 mysqld_safe mysqld from pid file /opt/CA/MySql/data/hostname.pid ended
160523 19:42:13 mysqld_safe Starting mysqld daemon with databases from /opt/CA/MySql/data
/opt/CA/MySql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Release:20.2
Component: CAPRFC
Missing libraries on linux
in this example, specifically:
libaio.so.1
Check for the missing library referenced in the error
rpm -qa | grep libaio
results should include:
libaio-0.3.107-10.el6.x86_64
libaio-devel-0.3.107-10.el6.x86_64
If you do not see these listed, use yum to install them.
yum install -y libaio
next you need to uninstall CAPC
next you need to reinstall CAPC in order to install mysql correctly