APMIA Linux not installing on 1 machine in particular

book

Article ID: 198839

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

Tried installing APMIA for Linux version 20.4.0.17.  It is showing an error
[[email protected] apmia]# ./APMIACtrl.sh install APM Infrastructure Agent Installation In Progress...

Installing Host Monitoring Agent on PORT 1691

CA SystemEDGE Version 5.9.25 - sysedge Job for apmia.service failed because the control process exited with error code. See "systemctl status apmia.service" and "journalctl -xe" for details.

APM Infrastructure Agent could not be installed/started, please check APMIA_install.log

Uninstalling HostMonitor APM Infrastructure Agent Uninstallation Completed. [[email protected] apmia]#.

The same binaries have been successfully installed on several other servers with no error.

The log showed below
[[email protected] apmia]# cat APMIA_install.log


[INFO] Current Shell: /bin/bash
[INFO] Home Directory: /root
[INFO] Your O/s Type: Linux
[INFO] Current directory: /apps/dem/apmia
[INFO] APM Infrastructure Agent user entered install
[INFO] APM Infrastructure Agent home /apps/dem/apmia
[INFO] APM Infrastructure Agent Installation In Progress...
[INFO] APM Infrastructure Agent installation mode is with Host Monitoring Agent.
[INFO] 1691 port is free
[INFO] Extracting tar files
[INFO] Calling installer to install sysedge
[INFO] Setting HOSTMONITOR_HOME to CA_SystemEDGE_Core
[INFO] ./ca-setup.sh install -p 1691
Starting CA SystemEDGE service.
[INFO] Host Monitoring Agent Installation is Completed with Exit Status as 0. If exit status is non zero please check CA_SystemEDGE_Core/sysedge_install.log and APMIA_install.log
[INFO] creating default service file for sysedge using systemd...
[INFO] Owner of apmia folder is root.
[INFO] Updating log4j in IntroscopeAgent.profile with logfile
Detected RHEL or Fedora:
Installing the APM Infrastructure Agent daemon using systemd...
creating default service file...
Starting APM Infrastructure Agent with systemd...
Failed to start service apmia
[INFO] APM Infrastructure Agent could not be installed/started.
[INFO] Uninstalling HostMonitor
[INFO] sh ca-setup.sh uninstall
Stopping CA-SystemEDGE service.
uninstall completed
[INFO] removing default service file for sysedge using systemd...
Detected RHEL or Fedora:
APM Infrastructure Agent is not running.
Removing APM Infrastructure Agent daemon from systemd...
Thu Aug 27 16:49:36 EDT 2020 [INFO] APM Infrastructure Agent Uninstallation Completed.
[[email protected] apmia]#

Cause

Insufficient user privileges 

Environment

Release : SAAS

Component : MOBILE API

Resolution

 Try with a different user has execute privileges:

e.g.

- sudo ./APMIACtrl.sh install user=xxxx