2016-01-28 06:42 PM
I just got done performing an upgrade across all SA components from 10.5.1.1 to 10.5.1.2 and wanted to give everyone a heads up if they run into an issue where the collectd service fails to start and ultimately neither will the rsa-esa service. The error message I recieved running puppet agent -t returned:
lt_dlopen ("/usr/lib64/collectd/java.so") failed: file not found. The most common cause for this problem are missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object
After doing some digging in the knowledge base I found Article 000029746.
One or more of the following problems have been observed with this issue:
# service collectd restart
Stopping collectd: [ OK ]
Starting collectd: ERROR: lt_dlopen ("/usr/lib64/collectd/java.so") failed: file not found. The most common cause for this problem are missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object.
[ OK ]
collectd[2419]: lt_dlopen ("/usr/lib64/collectd/java.so") failed: file not found. The most common cause for this problem are missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object.
collectd[2419]: plugin_load: Load plugin "java" failed with status 1.
collectd[2419]: Found a configuration for the `java' plugin, but the plugin isn't loaded or didn't register a configuration callback.
This issue can be resolved by removing the incorrect link and recreating the link. Follow the steps below on any host reporting the issue.
rm /usr/lib64/libjvm.so
ln -svf /usr/lib/jvm/jre/lib/amd64/server/libjvm.so /usr/lib64/libjvm.so
service collectd restart
In my SA deployment the directory has for the symlink has changed from:
/usr/lib/jvm/jre/lib/amd64/server/libjvm.so
to
If you notice this issue the full command to update the link is:
Hopefully this isn too confusing. I'm terrible at documentation!!
2016-01-28 09:32 PM
Thank you for sharing this, James!