Having issue with starting kvstore on 9.4.3 on RHEL8.x
Error seen:
ERROR CertStorageProvider [1067727 KVStoreConfigurationThread] - CertificateDatabase is not ready. Cannot sync the certificates stored in CertificateDatabase with the local filesyste
mongod: /opt/splunk/lib/libcrypto.so.10: no version information available (required by mongod)
mongod: /opt/splunk/lib/libcrypto.so.10: no version information available (required by mongod)
mongod: /opt/splunk/lib/libssl.so.10: no version information available (required by mongod)
# sudo ls -l $SPLUNK_HOME/bin/mongod
lrwxrwxrwx. 1 140653 65536 10 May 27 19:01 /opt/splunk/bin/mongod -> mongod-7.0
It is not starting mongo server and hence.
ERROR KVStorageProvider [1067727 KVStoreConfigurationThread] - An error occurred during the last operation ('getServerVersion', domain: '15', code: '13053'): No suitable servers found (`serverSelectionTryOnce` set): [connection closed calling hello on '<mysearchheadhost>:8191']
This looks to be issue with
KV Store server version 7.0 introduces several CPU architecture requirements for the computers that run Splunk Enterprise. Any of these computers must use a CPU that supports Advanced Vector Extensions (AVX), Streaming SIMD
I will close this thread, after testing to a different host.
Hi @sushilkar ,
libcrypto.so.10 and libssl.so.10 is missing after the RHEL upgrade that is the actual issue from the logs.
Mongod is not able to find those libraries, that's the cause for the KVstore issue.
Installing the libraries will fix the issue.
This looks to be issue with
KV Store server version 7.0 introduces several CPU architecture requirements for the computers that run Splunk Enterprise. Any of these computers must use a CPU that supports Advanced Vector Extensions (AVX), Streaming SIMD
I will close this thread, after testing to a different host.
Unfortunately the test host was in old micro architecture with no avx support
Yes that is correct. RHEL8.x has later openssl libraries as default and for splunk and mongodb it need the specific version, so it is shipped along with $SPLUNK_HOME/lib directory with the splunk_enterprse package. Ideally $ SPLUNK_HOME=/opt/splunk
$ LD_LIBRARY_PATH=$SPLUNK_HOME/lib:$LD_LIBRARY_PATH $SPLUNK_HOME/bin/mongod --version this should work but in my case:
$ SPLUNK_HOME=/opt/splunk
$ LD_LIBRARY_PATH=$SPLUNK_HOME/lib:$LD_LIBRARY_PATH $SPLUNK_HOME/bin/mongod --version
/opt/splunk/bin/mongod: /opt/splunk/lib/libcrypto.so.10: no version information available (required by /opt/splunk/bin/mongod)
/opt/splunk/bin/mongod: /opt/splunk/lib/libcrypto.so.10: no version information available (required by /opt/splunk/bin/mongod)
/opt/splunk/bin/mongod: /opt/splunk/lib/libcrypto.so.10: no version information available (required by /opt/splunk/bin/mongod)
/opt/splunk/bin/mongod: /opt/splunk/lib/libssl.so.10: no version information available (required by /opt/splunk/bin/mongod)
Illegal instruction (core dumped)
$ ll /opt/splunk/lib/libcrypto.so.10
lrwxrwxrwx. 1 140653 65536 18 May 27 19:01 /opt/splunk/lib/libcrypto.so.10 -> libcrypto.so.1.0.0
Your main error highlights missing libcrypto.so.10 and libssl.so.10 libraries.
Is this(9.4.3) fresh installation or upgraded from older version? Also RHEL upgrade happened?
Regards,
Prewin
Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!
It is an upgrade.
There is OS upgrade. to RHEL 8.x
Splunk SH is 3 node cluster. out of 2 are 9.2.6(RHEL7.x) yet to finish upgrade and upgraded one where I see the issue is 9.4.3 on RHEL8.x. SH cluster status is up. But the kvstore isn't coming up, the mongodb process itself is not starting. When I attempted to run manually, it is segfaulting probably lib issue.
RHEL8.x doesn't have older openSSL versions, and with that already fix is there in 9.4.3 I believe.
9.2.6 Run KV store with mongo 4.2
9.4.3 on /RHEL8.x is trying to run on mongodb 7.0
@sushilkarCould you please run the following command and share the output?
/opt/splunk/bin/splunk show kvstore-status --verbose
Also, have you recently upgraded Splunk? If yes, please specify the version you upgraded from and the version you upgraded to.
There is base os upgrade as well. New OS is RHEL8.x
and Splunk Version 9.4.3. This is trying to start and mongod.log has the library issues.
Other nodes in the SH cluster is 9.2.6 (on RHEL7.x) in the process of upgrade running kvstore mongo with 4.2 which is showing file.