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 – Error in dnf.log after OSMS to OSMH Migration

edited May 27, 2024 4:31AM in Linux

APPLIES TO:

Linux OS – Version Oracle Linux 8
Linux x86_64
Oracle Cloud Infrastructure

SYMPTOMS:

The following error is observed in /var/log/dnf.log:

ERROR There was an error communicating with OSMS server.
OSMS based repositories will be disabled.
HTTPConnectionPool(host='127.0.0.1', port=9003): Max retries exceeded with url: /XMLRPC (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f700d5b4588>: Failed to establish a new connection: [Errno 111] Connection refused',))

CAUSE:

The dnf OSMS plugin is enabled in /etc/dnf/plugins/osmsplugin.conf:

[main]
enabled = 1
gpgcheck = 1
timeout = 120

SOLUTION:

Disable the dnf OSMS plugin as it is no longer needed in OSMH:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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