OCI Management Agent Service : Agent Installation Fails - JavaHome is not set aborting agent install
(Doc ID 3012818.1)
Last updated on MARCH 26, 2024
Applies to:
OCI Management Agent Service - Version N/A and laterInformation in this document applies to any platform.
Symptoms
Installing a Management Agent fails with following error:
# rpm -ivh oracle.mgmt_agent.240229.1733.Linux-x86_64.rpm
Preparing... ################################# [100%]
Checking pre-requisites
Checking available disk space for agent upgrade
Current agent run-as-user is root
Current user group is root
root is not the default user, checking if required environment variables are set
Checking agent version
Updating / installing...
1:oracle.mgmt_agent-240229.1733-1 ################################# [100%]
Failed to get unit file state for mgmt_agent.service: No such file or directory
Executing install
JavaHome is not set aborting agent install
warning: %post(oracle.mgmt_agent-240229.1733-1.x86_64) scriptlet failed, exit status 1
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 |
References |