Installation

How to resolve error while loading shared libraries: libjemalloc.so.2:

Ahiory125
Explorer

Good day 

I have a splunk 8.2.3 onpremise instance, apparently my system does not want to start, when I execute manual start it gives me the following

[root@srvsplunk ~]# systemctl status -l splunk
● splunk.service - SYSV: Splunk indexer service
Loaded: loaded (/etc/rc.d/init.d/splunk; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2022-07-06 16:23:25 -05; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 1495 ExecStart=/etc/rc.d/init.d/splunk start (code=exited, status=127)

Jul 06 16:23:25 srvsplunk splunk[1495]: Checking kvstore port [8191]: /opt/splunk/bin/splunkd: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory
Jul 06 16:23:25 srvsplunk splunk[1495]: /opt/splunk/bin/splunkd: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory
Jul 06 16:23:25 srvsplunk splunk[1495]: open
Jul 06 16:23:25 srvsplunk splunk[1495]: /opt/splunk/bin/splunkd: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory
Jul 06 16:23:25 srvsplunk splunk[1495]: /opt/splunk/bin/splunkd: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory
Jul 06 16:23:25 srvsplunk splunk[1495]: SSL certificate generation failed.
Jul 06 16:23:25 srvsplunk systemd[1]: splunk.service: control process exited, code=exited status=127
Jul 06 16:23:25 srvsplunk systemd[1]: Failed to start SYSV: Splunk indexer service.
Jul 06 16:23:25 srvsplunk systemd[1]: Unit splunk.service entered failed state.
Jul 06 16:23:25 srvsplunk systemd[1]: splunk.service failed.

how can i fix my splunk system??

Thanks

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...