DE484555 - New Install Perfortance Center Service Failing to Start
search cancel

DE484555 - New Install Perfortance Center Service Failing to Start

book

Article ID: 206483

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

wget is installed. However the startup of the console fails on wget call. 

wget is not installed and is required, exit starting Console...




----------------------------------------------------------------------

sudo systemctl status caperfcenter_console.service

  • caperfcenter_console.service - Performance Center Console

   Loaded: loaded (/etc/systemd/system/caperfcenter_console.service; enabled; vendor preset: disabled)

   Active: failed (Result: exit-code) since Tue 2020-11-10 09:56:08 EST; 13s ago

  Process: 8074 ExecStart=/opt/CA/PerformanceCenter/PC/bin/caperfcenter_console start sysd (code=exited, status=1/FAILURE)

 

systemd[1]: Starting Performance Center Console...

caperfcenter_console[8074]: error: cannot open Packages index using db5 - Permission denied (13)

caperfcenter_console[8074]: error: cannot open Packages database in /var/lib/rpm

caperfcenter_console[8074]: error: cannot open Packages database in /var/lib/rpm

caperfcenter_console[8074]: wget is not installed and is required, exit starting Console...

systemd[1]: caperfcenter_console.service: control process exited, code=exited status=1

systemd[1]: Failed to start Performance Center Console.

systemd[1]: Unit caperfcenter_console.service entered failed state.

systemd[1]: caperfcenter_console.service failed.

 

-------------------------------------------------------------------------

 

service caperfcenter_console status

Redirecting to /bin/systemctl status caperfcenter_console.service

  • caperfcenter_console.service - Performance Center Console

   Loaded: loaded (/etc/systemd/system/caperfcenter_console.service; enabled; vendor preset: disabled)

   Active: failed (Result: exit-code) since Tue 2020-11-10 09:39:13 EST; 13min ago

  Process: 7493 ExecStart=/opt/CA/PerformanceCenter/PC/bin/caperfcenter_console start sysd (code=exited, status=1/FAILURE)

 

systemd[1]: Starting Performance Center Console...

caperfcenter_console[7493]: error: cannot open Packages index using db5 - Permission denied (13)

caperfcenter_console[7493]: error: cannot open Packages database in /var/lib/rpm

caperfcenter_console[7493]: error: cannot open Packages database in /var/lib/rpm

systemd[1]: caperfcenter_console.service: control process exited, code=exited status=1

systemd[1]: Failed to start Performance Center Console.

systemd[1]: Unit caperfcenter_console.service entered failed state.

systemd[1]: caperfcenter_console.service failed.

 

Environment

Release : 20.2

Component : IM Reporting / Admin / Configuration

Cause

To check the wget we are using the call rpm -q wget this fails since the owner of the install is not root and does not have access to the rpm command.

This issue has been logged with engineering no current fix date at this time. 

Resolution

Workaround - change the check to not use rpm command:

In:

/opt/CA/PerformanceCenter/PC/bin/caperfcenter_console

Change

# Check if wget is installed and exit if it isn't
        wget_install_ok=$(rpm -q wget)

To (changes highlighted):

# Check if wget is installed and exit if it isn't
        #wget_install_ok=$(rpm -q wget)
        wget_install_ok="wget"