Getting Data In

Issues Starting Splunk Universal Forwarder: /opt/splunkforwarder/bin/splunkd: error while loading shared libraries: libpcre2-8.so

alucarddjin
Path Finder

I'm trying to install a forwarder on a NAS box but everytime I try to start it I get the error:
/opt/splunkforwarder/bin/splunkd: error while loading shared libraries: libpcre2-8.so

I've extracted it 3 times now and I get the same issue every time. I've set the owner and group to splunk:splunk and I can see that the libpcre2-8.so is in the lib folder but everytime I run the splunk start I get asked to run the set up then I enter admin as my username then it gives me this error. Please help as it's driving me potty!!

0 Karma

PavelP
Motivator

There could be several possible explanations, but I'll ask from other perspective - can you disable autostart of splunk, remove you splunk folder, reboot you NAS box (this is mandatory step) and install a deb/rpm package instead of tgz archive? Just try it!

0 Karma

alucarddjin
Path Finder

There isn't a deb/rpm package for my os (ARM). Also I've not even got Splunk started never mind know how to disable autostart haha.

0 Karma

PavelP
Motivator

Nevermind, you can still configure syslog to send log from your NAS box to splunk. It is even better because you can save a bunch of RAM

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 ...