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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...