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 (3)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...