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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...