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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...