My Oracle Support Banner

OCI: Management Agent Configuration Fails with Error: [SEVERE] [oracle.polaris.configure.hook.UserInputHook] /home/opc/input.rsp file is either not present or not readable to mgmt_agent user (Doc ID 2814172.1)

Last updated on MARCH 01, 2022

Applies to:

OCI Management Agent Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

The OCI 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


$/opt/oracle/mgmt_agent/configure-logs/configure.log.0 shows these errors:

[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
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.hook.UserInputHook] Property: [agentInst]
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.hook.UserInputHook] Property: [logDir]
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Applied UserInputHook ***
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Applied SkipStepsHook ***
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Applied ConfigWatchHook ***
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.common.AppContext] AGENT_INST=/opt/oracle/mgmt_agent/agent_inst

[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.common.AppContext] LOG_DIR=/opt/oracle/mgmt_agent/configure-logs

[2021-10-12 13:06:07] [WARNING] [oracle.polaris.configure.step.ConfigurationStep] Failed: Pass opts=<> to application at the startup
[2021-10-12 13:06:07] [SEVERE] [oracle.polaris.configure.ConfigEngine] *** Dryrun failed for State METADATA_GENERATION Exiting ... ***
[2021-10-12 13:06:07] [SEVERE] [oracle.polaris.configure.ConfigEngine] Pass opts=<> to application at the startup
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Cleanup UserInputHook ***
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Cleanup SkipStepsHook ***
[2021-10-12 13:06:07] [INFO] [oracle.polaris.configure.ConfigEngine] *** Cleanup ConfigWatchHook ***



Changes

 

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.