CAPC install fails with error: Status: FATAL ERROR

book

Article ID: 43287

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling

Issue/Introduction

Symptoms:

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:

 

[[email protected]<hostname>. InstallLogs]# service mysql start

Starting MySQL. ERROR! The server quit without updating PID file (/opt/CA/MySql/data/<hostname>.pid).

[[email protected] InstallLogs]#

 

 

I checked the logs in /opt/CA/MySql/data/less <hostname>..err

 

[[email protected]<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/oat-lin-caucm-app-01.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

CAPC 2.7 on Linux

 

Cause:

 missing libraries on linux

 

Resolution:

Check for the missing library referenced in the error

rpm -qa|grep libaio

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.

 

1.     Clean uninstall of CAPC.

2.     Reinstall CAPC

 

 

Additional Information:

 

https://communities.ca.com/thread/241737923

Environment

Release:
Component: CAPRFC