APMIA agent installation failure using non root user
search cancel

APMIA agent installation failure using non root user

book

Article ID: 244599

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

We are installing latest APMIA agent on the below two servers for monitoring MQ, but unable to do so and and getting errors.

 

Here's the APMIA install log


********************Thu Jun 9 11:21:58 EDT 2022 [INFO]*********************
Thu Jun 9 11:21:58 EDT 2022 [INFO] Current Shell: /bin/bash
Thu Jun 9 11:21:58 EDT 2022 [INFO] Home Directory: /root
Thu Jun 9 11:21:58 EDT 2022 [INFO] Your O/s Type: Linux
Thu Jun 9 11:21:58 EDT 2022 [INFO] Current directory: /opt/apmuser/apmia
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent user entered install
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent home /opt/apmuser/apmia
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent Installation In Progress...
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent installation mode is without Host Monitoring Agent.
Thu Jun 9 11:21:58 EDT 2022 [INFO] Host Monitor tar file is not found for installation.
Thu Jun 9 11:21:58 EDT 2022 [INFO] Updating log4j in IntroscopeAgent.profile with logfile
Detected RHEL or Fedora:
Installing the APM Infrastructure Agent daemon using upstart...
creating default upstart conf file...
Starting APM Infrastructure Agent with upstart...
apmia1 start/running, process 21408
Waiting for APM Infrastructure Agent..................
WARNING: APM Infrastructure Agent may have failed to start.
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent could not be installed/started.
Detected RHEL or Fedora:
APM Infrastructure Agent is not running.
Removing APM Infrastructure Agent daemon from upstart...
Thu Jun 9 11:21:58 EDT 2022 [INFO] APM Infrastructure Agent Uninstallation Completed.
Wed Jun 15 14:18:11 EDT 2022 [INFO] Host Monitoring Only : flag 0.
Wed Jun 15 14:18:11 EDT 2022 [INFO] Host Monitoring Only : flag 0.

Environment

Release : SAAS

Component : Integration with APM

Resolution

Needed to add /bin/bash to non-root user fixed the issue.