Pr Shadoko
Pr Shadoko

Reputation: 1708

Librato installation fail with "Error: Reading the config file failed!"

The "Easy install" isn't working, no data are sent to Librato I followed step by instructions for "Advanced" and end up with this error :

Error: Reading the config file failed! Read the logs for details. not restarting due to configuration error

And nothing in /var/log/messages Any clue?

Upvotes: 0

Views: 96

Answers (2)

Pr Shadoko
Pr Shadoko

Reputation: 1708

To install librato on Amazon Linux AMI release 2018.03, here is what worked for me :

If you tried your luck with "Easy install", first remove it as it is a collectd brought by Amazon and it will never work with Librato

sudo yum remove collectd

Go to integrations, select Amazon Linux and then Advanced. There is nothing for 2018.03, so take the latest one wich is 2017.03. It workd for me. Follow step 1 to 4 then type those 2 commands :

sudo ldconfig

sudo ln -svf /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.181.x86_64/jre/lib/amd64/server/libjvm.so /usr/lib64/libjvm.so

The 1st one cleans stuff from collectd provided by Amazon and the second one is necessary because librato collectd plugins are using java and expects the library in a certain place.

Then you can go to step 5 :

sudo service collectd restart

Hope this will save you some time!

Upvotes: 0

Nik
Nik

Reputation: 39

Did you contact [email protected]? You can also contact support via live chat in-app.

Upvotes: 1

Related Questions