My Oracle Support Banner

Opam.sh Returns "Provided URL Is Not A Valid OPAM Server URL" For a Valid URL. (Doc ID 2170093.1)

Last updated on FEBRUARY 03, 2023

Applies to:

Oracle Privileged Account Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

opam.sh returns "Provided URL is not a valid OPAM Server URL" for a valid URL when running simple commands such as the getserverstatus command.

export ORACLE_HOME=/opt/oracle/middleware/Oracle_IDM1
cd $ORACLE_HOME/opam/bin
./opam.sh -x getserverstatus -u USERNAME -p PASSWORD -url https://HOSTNAME:PORT/opam

However, this returns the following output:
Using OPAM Server URL: https://HOSTNAME:PORT/opam


The server url is confirmed resolvable to an IP address and up, and the same connection information works in the OPAM console web page for server connection.  The IP address can also be pinged, and connection to port 18102 with a telnet client is successful, confirming the port is not blocked.

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


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