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

OSMS: 'No OS Management information is available for this resource' due to RPM DB corruption

edited Jan 26, 2024 5:56PM in Linux

Applies  to :  

Oracle Linux - Version 7 and later 

Symptoms

OSMS stop working.

OCI Web Console shows a message:

No OS management information  is available for this resource

It was working before  and  no  change  was made in OCI

The log /var/log/oracle-cloud-agent/plugins/osms/agent.log shows :

2024-01-23 08:59:44,336 - ERROR - Error checking actions (next check in 960 seconds): Command: ['osms', '--log-level', 'INFO', 'register', '--server-url', 'http://127.0.0.1:9003/XMLRPC'] failed (1): stderr: b'error: rpmdb: BDB0113 Thread/process 2327194/139817221843840 failed: BDB1507 Thread died in Berkeley DB library\nerror: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery\nerror: cannot open Packages index using db5 -  (-30973)\nerror: cannot open Packages database in /var/lib/rpm\n' stdout: b'Command failed: rpmdb open failed\n'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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