Installation

AIX upgrade fails with error - Dependent module /usr/local/splunkforwarder/lib/libpcre.a(libpcre.so.1) could not be loaded

sat94541
Communicator

Splunk Universal forwarder upgrade from version 5.0.4 to any 6.x on 'AIX' failed.

-The upgrade failed exactly the same way on two different systems - one was AIX 6.1 and the other was AIX 5.3.

-All of the following upgrade attempts failed
Upgrade from Splunk Universal Forwarder 5.0.4 > Splunk Universal Forwarder 6.0.1
Upgrade from Splunk Universal Forwarder 5.0.4 > Splunk Universal Forwarder 6.0.2
Upgrade from Splunk Universal Forwarder 5.0.4 > Splunk Universal Forwarder 6.0.3
Impact : Customer has over 100 Splunk Universal Forwarder to be upgraded, so impact is widespread.

This worked:
-In the past, they have upgraded ‘Splunk Universal Forwarder’ from 5.0.2 to 5.0.4 without issue.
-Fresh install of Splunk Universal forwarder 6.x works fine
-Full Instance of Splunk upgraded fine from 5.0.4 to 6.0.x

Below are the error messages when starting Splunk post-upgrade.

********** BEGIN PREVIEW OF CONFIGURATION FILE MIGRATION **********

Could not load program /usr/local/splunkforwarder/bin/splunkd:
Dependent module /usr/local/splunkforwarder/lib/libpcre.a(libpcre.so.1) could not be loaded.
Member libpcre.so.1 is not found in archive

********** END PREVIEW OF CONFIGURATION FILE MIGRATION **********

dmr2o@xxxx[QA-ILMT][/usr/local/splunkforwarder]ls -l total 232
-r--r--r-- 1 root system 510 Dec 13 16:25 README-splunk.txt
drwxr-xr-x 3 root system 4096 Dec 13 16:36 bin
-r--r--r-- 1 root system 57 Dec 13 16:28 copyright.txt
drwxr-xr-x 12 root system 4096 Dec 13 16:36 etc
-rw-r--r-- 1 root system 0 Dec 13 16:28 ftr
drwxr-xr-x 2 root system 256 Dec 13 16:36 include
drwxr-xr-x 3 root system 4096 Dec 13 16:36 lib

………….

Labels (1)
Tags (4)
0 Karma

sat94541
Communicator

Try following steps

---Delete the $SPLUNK_HOME/lib
--untar the 6.1 and upgrade.
--After taking the above steps you wil lneed to restart the host box , we believe it to be some cache maintained by AIX.

Hope it helps.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...