We are unable to install APMIA agent on this server mbsep1.
Below is the OS details:
uname -a
SunOS mbsep1 5.10 Generic_Virtual sun4v sparc sun4v
cat /etc/release
Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Assembled 17 January 2013
Please fidn below APMIA_Install_log from the server.
********************Saturday, July 23, 2022 12:59:11 PM EDT [INFO]*********************
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Current Shell: /bin/ksh
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Home Directory: /
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Your O/s Type: SunOS
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Current directory: /opt/apmuser/apmia
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] APM Infrastructure Agent user entered install
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] APM Infrastructure Agent home /opt/apmuser/apmia
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] APM Infrastructure Agent Installation In Progress...
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] APM Infrastructure Agent installation mode is without Host Monitoring Agent.
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Host Monitor tar file is not found for installation.
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] Updating log4j in IntroscopeAgent.profile with logfile
Install not currently supported for SunOS
Saturday, July 23, 2022 12:59:11 PM EDT [INFO] APM Infrastructure Agent could not be installed/started.
Release : 2022.6
Component : Introscope
In the APMIACtrl.sh script, it turns out that the Solaris tr command is not translating the SunOS to sunos on the server that its failing on. However on another Solaris server they have, the tr command successfully converts it to lower case and the installation worked on that server.
DIST_OS=uname -s | $TR_BIN "[A-Z]" "[a-z]" | $TR_BIN -d ' '
case "$DIST_OS" in
'sunos')
DIST_OS="solaris"
Please note that this does not happen on all Solaris SPARC servers but seems to be happening on a few. We have checked in the fix and it will be in the next release. Until then, please use this workaround.
In the APMIACtrl.sh script, make the change below. Then reinstall the APMIA Agent.
case "$DIST_OS" in
'sunos' | 'SunOS' )