IBM Support

Agent installation script fails

Troubleshooting


Problem

Running the installAPMAgents.sh script might fail to install any APM agent, even though all the prerequisites are present.

Symptom

Depending on the shell and the type of Linux, the script output might show an error like:
./installAPMAgents.sh: line 193: [: -gt: unary operator expected
./installAPMAgents.sh: line 196: [: -eq: unary operator expected
Installing Monitoring Agent for Linux OS.
ERROR: Failed to install Monitoring Agent for Linux OS.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVJUL","label":"IBM Application Performance Management"},"ARM Category":[{"code":"a8m50000000Kz6AAAS","label":"APM Agents-\u003EDownload Install Config"}],"ARM Case Number":"TS005840737","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 June 2021

UID

ibm16462903