My Oracle Support Banner

OCI External Database Service : Discover External Database Fails With mgmt_agent User Permission Error (Doc ID 3005115.1)

Last updated on FEBRUARY 16, 2024

Applies to:

OCI Database Management Service - Version NA and later
Information in this document applies to any platform.

Symptoms

Trying to discover an External Database fails with the following error:
The mgmt_agent user doesn't have the permissions required to gather cluster information. If the permissions are already provided, restart the agent and the discovery process. If the problem persists, contact Oracle support.

The database user, grid user & mgmt_agent user are part of oinstall group. Still the permissions error is reported.

Trying to run the olsnodes command fails with following permission denied error.

# sudo -u mgmt_agent /bin/bash -c "/u01/app/19.0.0.0/grid/bin/olsnodes"
Oracle Clusterware infrastructure error in OLSNODES (OS PID 42895): CLSD/ADR initialization failed with return value -1
1: clskec:has:CLSU:910 4 args[clsdAdr_CLSK_err][mod=clsdadr.c][loc=(:CLSD00050:)][msg=2024-01-25 18:11:10.688 (:CLSD00050:) dbgc_init_all failed with return code 48141. Detected in function clsdAdrInit at line number 1834. ]
2: clskec:has:CLSU:910 4 args[clsdAdrInit_CLSK_err][mod=clsdadr.c][loc=(:CLSD00281:)][msg=clsdAdrInit: Additional diagnostic data returned by the ADR component for dbgc_init_all failure:
DIA-48141: error creating directory during ADR initialization [/u01/app/grid/diag/crs/gbdbsoamxr1pr1/crs_mgmt_agent]
DIA-48189: OS command to create directory failed
Linux-x86_64 Error: 13: Permission denied
Additional information: 2

 

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.