"This platform is not supported" error during PAMSC Linux Installation
search cancel

"This platform is not supported" error during PAMSC Linux Installation

book

Article ID: 270422

calendar_today

Updated On:

Products

CA Threat Analytics for PAM CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Access Manager (PAM) CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

While installing PAM Server Control (PAMSC) on a Linux server, the following error is observed. The kernel is listed as supported on the PAMSC Compatibility Matrix.

root@<hostname>:/tmp$ ./install_base
/tmp/pre_install/getvar.sh: line 2550: [: O: integer expression expected
/tmp/pre_install/getvar.sh: line 2535: [: O: integer expression expected
./install_base: line 2464: [: O: integer expression expected
This platform is not supported.

Environment

PAM Server Control (PAMSC) endpoints

  • Versions: All 14.x builds
  • Operating Systems: All Linux distributions

Cause

The getvar.sh script, which is called by install_base, parses the /etc/os-release file to identify the OS version. If the /etc/os-release file is formatted unexpectedly or contains non-standard version strings, the script fails to parse the integers required for platform validation.

For example, here is the output from a working environment.

+ '[' -f /etc/os-release ']'
++ awk -F= '/^VERSION_ID/ {print $2}' /etc/os-release
++ awk -F. '{print $1}'
++ tr -d '"'
+ OSMAJ=8
++ awk -F= '/^VERSION_ID/ {print $2}' /etc/os-release
++ awk -F. '{print $2}'
++ tr -d '"'
+ OSMIN=6

And here is the output from a non-working environment.

+ '[' -f /etc/os-release ']'
++ awk -F= '/^VERSION_ID/ {print $2}' /etc/os-release
++ tr -d '"'
++ awk -F. '{print $1}'
+ OSMAJ=049-202
++ awk -F= '/^VERSION_ID/ {print $2}' /etc/os-release
++ tr -d '"'
++ awk -F. '{print $2}'
+ OSMIN=git20260511

Resolution

To resolve the issue, ensure that the os-release file stores the operating system version information in a standard format using one of the following options.

  • Copy the os-release file from a working system with the same version and kernel level
  • Create a symbolic link between /etc/os-release and /usr/lib/os-release