My Oracle Support Banner

OCI Management Agent Service : Agent Installation Fails - Expected RUN_AGENT_AS_USER value to be root (Doc ID 3012563.1)

Last updated on MARCH 26, 2024

Applies to:

OCI Management Agent Service - Version N/A and later
Information 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
RUN_AGENT_AS_USER=mgmt_agent contains an unexpected value
Expected RUN_AGENT_AS_USER value to be root, exiting
error: %pre(oracle.mgmt_agent-240229.1733-1.x86_64) scriptlet failed, exit status 1
error: oracle.mgmt_agent-240229.1733-1.x86_64: install 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.