CA Performance Center (CAPC) fails to install

Document ID : KB000006398
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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

Environment:
CAPM 2.8 on Centos 6
Cause:

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

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

 

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