Issues on EXC server after upgrade
search cancel

Issues on EXC server after upgrade

book

Article ID: 133076

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

I have upgraded RA UAT  NAC with 6.6 base build of 6.6.0.9640. NAC is running as expected. But in NES, we are  getting below error as "unsupported operating system Linux" when trying to execute command "./nolio_server.sh status".

Environment

Release : 6.6.0.9640

Component : CA RELEASE AUTOMATION EXECUTION SERVER

Operating System: Redhat 7.4 [ Kernel version r.10.0-693.e17.x86_64]

Cause

There is an issue in we identified in the script nolio_server.sh where we are trying to compare the distribution operating system. 

if [ "$DIST_OS" != "linux" -a "$DIST_OS" != "solaris" ]

We during our analysis identified that for some reason the distribution operating system returned in the environment is in title notation "Linux" and hence the check is failing as we are trying to compare the captured distribution OS name with lower case match.

Command in script capturing DIST_OS: uname -s | tr [A-Z] [a-z] | tr -d ' ' 

Resolution

We are going to handle the case-sensitivity issue in our script, please follow instruction below.


1: Please create a back up of nolio_server.sh file 

2: Now open the nolio_server.sh file in edit mode and find the below line

        DIST_OS=`uname -s | tr [A-Z] [a-z] | tr -d ' '`

3: Now add the below line below above line

        DIST_OS=${DIST_OS,,}

4: The final file will be having appended text like below

        DIST_OS=`uname -s | tr [A-Z] [a-z] | tr -d ' '`

        DIST_OS=${DIST_OS,,}

5: Save this file

6: Run sh nolio_server.sh and it should go through and start your service.