CA Performance Center (CAPC) fails to install

book

Article ID: 6398

calendar_today

Updated On:

Products

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

Issue/Introduction

The CAPC installation fails with the following fatal errors seen in the install logs:

 

Custom Action:            com.ca.im.installanywhere.action.MigrateDb

                          Status: FATAL ERROR

                          Additional Notes: FATAL ERROR -     class com.ca.im.installanywhere.action.MigrateDb FatalInstallException: Unable to open database connection: (jdbc:mysql://localhost:3306/mysql?useUnicode=true&characterEncoding=UTF-8 with root/) Communications link failure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

 

 

Custom Action:            com.ca.im.installanywhere.action.MigrateDb

                          Status: FATAL ERROR

                          Additional Notes: FATAL ERROR -     class com.ca.im.installanywhere.action.MigrateDb FatalInstallException: Unable to open database connection: (jdbc:mysql://localhost:3306/mysql?useUnicode=true&characterEncoding=UTF-8 with root/) Communications link failure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

 

 

Custom Action:            com.ca.im.installanywhere.action.MigrateDb

                          Status: FATAL ERROR

                          Additional Notes: FATAL ERROR -     class com.ca.im.installanywhere.action.MigrateDb FatalInstallException: Unable to open database connection: (jdbc:mysql://localhost:3306/netqosportal?useUnicode=true&characterEncoding=UTF-8 with root/) Communications link failure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server

Cause

Perl was not installed.  This can be confirmed by running the following commands:

  • /bin/perl -v
  • /usr/bin/perl -v

 

Environment

CAPM 2.8 on Centos 6

Resolution

The resolution would be to do the following:

  • Install Perl 
  • Uninstall the existing failed installation
  • Reboot the system
  • Then reinstall CAPC

Additional Information

3.0 + have a different mysql install methods that don't require perl.  So this should not be an issue in versions 3.0 and above