My Oracle Support Banner

OCI: Management Agent Installation Fails Using RPM Method (Doc ID 2952688.1)

Last updated on JUNE 06, 2023

Applies to:

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

Symptoms

OCI: Management Installation on Linux 64-bit platform using RPM method fails with errors below.

# yum install -v -y oracle.mgmt_agent.230427.2233.Linux-x86_64.rpm

Running transaction
Preparing : 1/1
Running scriptlet: oracle.mgmt_agent-230427.2233-1.x86_64 1/1
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
'mgmt_agent' user already exists, the agent will proceed installation without creating a new one.
Checking Java version
JAVA_HOME is not set or not readable to root
Trying default path /usr/bin/java
Agent only supports JDK 8 with a miniumum upgrade version JDK 8u281 -b02. Please set your preferred path in JAVA_HOME
error: %prein(oracle.mgmt_agent-230427.2233-1.x86_64) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package oracle.mgmt_agent
Errors occurred during transaction.
Verifying : oracle.mgmt_agent-230427.2233-1.x86_64 1/1
Completion plugin: Generating completion cache...
Failed: oracle.mgmt_agent-230427.2233-1.x86_64

Failed:
oracle.mgmt_agent-230427.2233-1.x86_64

Error: Transaction failed

 

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


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