OCI: Configure the Management Agent Step failed with Error "input.rsp file is either not present or not readable to mgmt_agent user"
(Doc ID 2816059.1)
Last updated on NOVEMBER 02, 2023
Applies to:
OCI Management Agent Service - Version N/A to N/AInformation in this document applies to any platform.
Symptoms
Case 1:
The Management Agent Installation completed successfully
# rpm -ihv oracle.mgmt_agent.rpm
Preparing... ################################# [100%]
Checking pre-requisites
Checking if any previous agent service exists
Checking if OS has systemd or initd
Checking available disk space for agent install
Checking if /opt/oracle/mgmt_agent directory exists
Checking if 'mgmt_agent' user exists
Checking Java version
JAVA_HOME is not set or not readable to root
Trying default path /usr/bin/java
Java version: 1.8.0_191 found at /usr/bin/java
Updating / installing...
1:oracle.mgmt_agent-200825.1615-1 ################################# [100%]
Executing install
Unpacking software zip
Copying files to destination dir (/opt/oracle/mgmt_agent)
Initializing software from template
Creating 'mgmt_agent' daemon
Agent Install Logs: /opt/oracle/mgmt_agent/installer-logs/installer.log.0
Setup agent using input response file (run as any user with 'sudo' privileges)
Usage:
sudo /opt/oracle/mgmt_agent/agent_inst/bin/setup.sh opts=[FULL_PATH_TO_INPUT.RSP]
Agent install successful
Created a input.rsp file with value for "managementAgentInstallKey" and "CredentialWalletPassword" parameters.
Configuring the Management Agent step failed:
input.rsp file is either not present or not readable to mgmt_agent user
Please make sure that the directory and parent directories also have the read permissions to make this file readable.
Missing mandatory properties opts
Usage: setup.sh opts=<> [propKey=propValue]
Executing configure
Prerequisite check failed
Pass opts=<> to application at the startup
Additional details are available in the configure logs at /opt/oracle/mgmt_agent/configure-logs
Agent configure failed.
Additional logs can be found at /opt/oracle/mgmt_agent/configure-logs/configure.log.0
Case 2:
Management Agent installation command fails at the Configure Step with this command output:
sudo sh /opt/oracle/mgmt_agent/agent_inst/bin/setup.sh opts=/home/opc/input.rsp
Prerequisite check failed
Pass opts=<> to application at the startup
Additional details are available in the configure logs at /opt/oracle/mgmt_agent/configure-logs
+ EXIT_CODE=1
+ ps --no-headers -o comm 1
+ processName=systemd
+ [ systemd '=' systemd ]
+ RUN_CMD='sudo systemctl start mgmt_agent'
+ [[ 1 -eq 0 ]]
+ printf '\nAgent configure failed.\n'
Agent configure failed.
+ printf 'Additional logs can be found at /opt/oracle/mgmt_agent/configure-logs/configure.log.0\n\n'
Additional logs can be found at /opt/oracle/mgmt_agent/configure-logs/configure.log.0
+ exit 1
[root@vm-osm-test opc]# more /opt/oracle/mgmt_agent/configure-logs/configure.log.0
[2021-10-12 13:06:06] [SEVERE] [oracle.polaris.configure.hook.UserInputHook] /home/opc/input.rsp file is either not present or not readable to mgmt_agent user
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |