caperfcenter_sso.service won't start after upgrade
search cancel

caperfcenter_sso.service won't start after upgrade

book

Article ID: 220988

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

Successully upgraded the Data repository and the CA performance console from 3.7 to 21.2.

However, when trying to start the caperfcenter_sso.service the following message is displayed:

[root@xxxxxxx ~]# service caperfcenter_sso start
Redirecting to /bin/systemctl start caperfcenter_sso.service
Job for caperfcenter_sso.service failed because the control process exited with error code. See "systemctl status caperfcenter_sso.service" and "journalctl -xe" for details.
[root@xxxxxxx ~]# systemctl status caperfcenter_sso.service
● caperfcenter_sso.service - Performance Center SSO
   Loaded: loaded (/etc/systemd/system/caperfcenter_sso.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2021-07-27 11:02:48 BST; 10s ago
  Process: 3666 ExecStart=/opt/CA/PerformanceCenter/sso/bin/caperfcenter_sso start sysd (code=exited, status=1/FAILURE)
  Process: 3663 ExecStartPre=/opt/CA/PerformanceCenter/Tools/bin/checkMySQL.sh localhost 3306 (code=exited, status=0/SUCCESS)

Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: condrestart  Restart only if already running.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: status       Query the current status.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: install      Install to start automatically when system boots.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: installstart Install and start running as a daemon process.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: remove       Uninstall.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx caperfcenter_sso[3666]: dump         Request a Java thread dump if running.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx systemd[1]: caperfcenter_sso.service: control process exited, code=exited status=1
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx systemd[1]: Failed to start Performance Center SSO.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx systemd[1]: Unit caperfcenter_sso.service entered failed state.
Jul 27 11:02:48 xxxxxxx.xxxxxxx.xxxxxxx systemd[1]: caperfcenter_sso.service failed.

Also trying to use "systemctl" does not work:

[root@xxxxxxx tmp]# systemctl start caperfcenter_sso

Job for caperfcenter_sso.service failed because the control process exited with error code. See "systemctl status caperfcenter_sso.service" and "journalctl -xe" for details.

 

Obs: This problem was observed for upgrade activities only (not for new installs).

 

Environment

Releases : 20.2.1, 21.2

Component : PERFORMANCE MANAGEMENT INSTALLATIONS/UPGRADES

Cause

CAPC services installed/running as non-root user.

defect # DE510691

Resolution

The fix for this issue is currently targeted for DX Netops Performance Management 21.2.2.

Note that this is subject to change and there are no release dates that can be provided at this time.

For version prior to the release this is fixed in, there is a workaround as follows to correct this after the upgrade:

==========================

The PC services must be removed and rebuilt in PC machine.

Logged as root user in PC machine, please execute the commands below exactly in the sequence mentioned:

/opt/CA/PerformanceCenter/PC/bin/caperfcenter_console remove
/opt/CA/PerformanceCenter/sso/bin/caperfcenter_sso remove
/opt/CA/PerformanceCenter/DM/bin/caperfcenter_devicemanager remove
/opt/CA/PerformanceCenter/EM/bin/caperfcenter_eventmanager remove

/opt/CA/PerformanceCenter/PC/bin/caperfcenter_console install
/opt/CA/PerformanceCenter/sso/bin/caperfcenter_sso install
/opt/CA/PerformanceCenter/DM/bin/caperfcenter_devicemanager install
/opt/CA/PerformanceCenter/EM/bin/caperfcenter_eventmanager install

systemctl start caperfcenter_sso
systemctl start caperfcenter_eventmanager
systemctl start caperfcenter_devicemanager 
systemctl start caperfcenter_console
===============================================