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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...