You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux – OSMS – Error Communicating with OSMS Server

APPLIES TO:

Linux OS – Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]

Linux x86_64 on Oracle Public Cloud

 

GOAL:

Fix communication to OSMS Server.

This instance has been patched multiple times, out of the sudden OSMS is throwing communication errors.

Symptoms

[root@ ~]# yum repolist
There was an error communicating with OSMS server.
OSMS based repositories will be disabled.
HTTPSConnectionPool(host='enter.your.server.url.here', port=443): Max retries exceeded with url: /XMLRPC (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f073d221f98>: Failed to establish a new connection: [Errno -2] Name or service not known',))
No repositories available
 
[root@ ~]# rpm -qa | grep oracle-cloud-agent
oracle-cloud-agent-1.35.0-9912.el8.x86_64      # <- Latest package available at the time of writing this document
 
[root@ ~]# netstat -plant | grep :9003
tcp       0     0 127.0.0.1:9003         0.0.0.0:*              LISTEN     1038174/osms-agent 
 
[root@
~]# curl https://ingestion.osms.us-ashburn-1.oci.oraclecloud.com/
<html>
<head><title>403 Forbidden</title></head>      # <- 403 is expected, Communication path was successful
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>
[root@ ~]# 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!