My Oracle Support Banner

OCI - Add External DB Fails : The operation failed due to an agent error (Doc ID 2792769.1)

Last updated on JULY 22, 2021

Applies to:

OCI External Database Management - Version NA to NA [Release NA]
Information in this document applies to any platform.

Symptoms

In OCI Console, trying to add an External Database fails with following error.

The operation failed due to an agent error. Try again, or contact Oracle Support and include work request.

Error stack from <Agent_Inst>/sysman/log/mgmt_agent.log file:

2021-06-28 16:01:03,465 [Commands.P2.26 (ws-1253343280061783<::>cdbSpecificDetails)-452868] WARN - ws-1253343280061783<::>cdbSpecificDetails
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
.
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
.
... 41 more
Caused by: java.net.UnknownHostException: <Hostname>
at java.net.InetAddress.getAllByName0(InetAddress.java:1281) ~[?:1.8.0_291]

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.