CAPC install fails with error: Status: FATAL ERROR
search cancel

CAPC install fails with error: Status: FATAL ERROR

book

Article ID: 43287

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction

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

 

Environment

Release:20.2
Component: CAPRFC

Cause

 Missing libraries on linux

in this example, specifically:

libaio.so.1

Resolution

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

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/20-2/installing/uninstall-ca-performance-management/uninstall-performance-center.html

next you need to reinstall CAPC in order to install mysql correctly

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/20-2/installing/review-installation-requirements-and-considerations.html