One of the oracle linux service is encountering error saying cannot file directory of the RPM packages.
# systemctl status snmpd
● snmpd.service - Simple Network
Management Protocol (SNMP) Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor
preset: disabled)
Active: active (running) since
2024-03-13 16:24:10 <Tz>; 4s ago
Main PID: 6061 (snmpd)
Tasks: 1 (limit: 10913)
Memory: 11.1M
CPU: 61ms
CGroup: /system.slice/snmpd.service
└─6061 /usr/sbin/snmpd -LS0-6d -f
Mar 13 16:11:25 <hostname>
systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon....
Mar 13 16:11:25 <hostname>
snmpd[6061]: Can't find directory of RPM packages
Mar 13 16:11:25 <hostname> snmpd[6061]: NET-SNMP
version 5.9.1
Mar 13 16:11:25 <hostname> systemd[1]: Started Simple
Network Management Protocol (SNMP) Daemon..
OEL 9, the RPM database switched from Berkeley DB to SQLite. The snmpd still
searches for /var/lib/rpm/Packages which
doesn’t exists on the system.
Conclusion:
This error can be safely ignored and this issue has been fixed in net-snmp package version 5.9.1-11.0.3.el9_3.1 or higher.
Thanks for reading :)
regards,
ZAHEER
Comments