Could not upgrade to 3.6

book

Article ID: 129092

calendar_today

Updated On:

Products

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

Issue/Introduction

After running the install to upgrade to 3.6  we see the following:

Log File: logs/install_log_install_03-07-2019_20-27-57.log
Not a Linux release this script can run on. Please see documentation for supported releases.[FAIL]

Cause

passwordless ssh disabled for root

Environment

CAPM 3.x

Resolution

We print the above message if the following fails: 

ssh [email protected]$2 [ -f /etc/oracle-release ] && OS_DIST='ORACLE' 
if [[ -z $OS_DIST ]];then 
ssh [email protected]$2 [ -f /etc/redhat-release ] && OS_DIST='RHEL' 
fi 
if [[ -z $OS_DIST ]];then 
ssh [email protected]$2 [ -f /etc/SuSE-release ] && OS_DIST='SUSE' 
fi 
if [[ -z $OS_DIST ]];then 
printFAIL "Not a Linux release this script can run on. Please see documentation for supported releases." 
printScriptDone $0 
exit 0 

The install ssh's to localhost as root, and check if the /etc/*release file exists, to determine what version of linux we are on

... so ssh to localhost as root must be failing.

Resolve any security related issues that might be blocking passwordless ssh as root, and make sure you run the dr_validate script (see documentation) before running the install as it will attempt to set passwordless ssh for you

The upgrade should now work

Additional Information

See the following knowledge article for further information on passwordless ssh: http:// https://comm.support.ca.com/kb/is-passwordless-ssh-a-requirement-for-root-when-installing-the-data-repository/KB000013983