Security

/opt/splunk/bin/splunkd: error while loading shared libraries: libmongoc-1.0.so.0

rauldevilla
New Member

Hi Guys.

I just installed splunk into a server with Ubuntu 14 OS. When I run sudo ./splunk start --accept-license I get the exception:

/opt/splunk/bin/splunkd: error while loading shared libraries: libmongoc-1.0.so.0: cannot open shared object file: No such file or directory
/opt/splunk/bin/splunkd: error while loading shared libraries: libmongoc-1.0.so.0: cannot open shared object file: No such file or directory
/opt/splunk/bin/splunkd: error while loading shared libraries: libmongoc-1.0.so.0: cannot open shared object file: No such file or directory
Did not find "disabled" setting of "kvstore" stanza in server bundle.

Some ideas for solving my problem?

0 Karma

dperre_splunk
Splunk Employee
Splunk Employee

Just in case someone else comes across this issue, the way I fixed this was to run 'sudo chown -R splunk:splunk /opt/splunk.

The issue started when I ran a setcap command.

awkngrep
New Member

running splunkd start instead of splunk start can cause libmongoc errors, per the answer here: https://answers.splunk.com/answers/46123/unable-to-install-splunk-4-3-1-119532-linux-i686.html

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...