Deployment Architecture

Converting from Solaris to Linux, splunk start libc.so.1: cannot open shared object file

tschminke
New Member

My old Splunk server is Solaris 10 running splunk-6.5.0-59c8927def0f-SunOS-x86_64-manifest
My new Splunk server is CentOS7 running splunk-7.0.0-c8a78efdd40f-linux-2.6-x86_64-manifest

I copied the old /opt/splunk to /opt/splunk on the new CENTOS7 server and installed it using an RPM
rpm -ivh splunk-7.0.0-c8a78efdd40f-linux-2.6-x86_64.rpm

Everything looked good and it does start up, but I see these errors during stop/start

Waiting for web server at https://127.0.0.1:8000 to be availablesed: error while loading shared libraries: libc.so.1: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.1: cannot open shared object file: No such file or directory
.sed: error while loading shared libraries: libc.so.1: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.1: cannot open shared object file: No such file or directory
.. Done

I tried just making a link from libc.so.6 to libc.so.1 but then it just tells me it cannot load because it is looking for the SUNW version.

Suggestions?
... for converting from Solaris to Linux

0 Karma

MuS
Legend

Hi tschminke,

Usually you just copy the following directories from the old server onto a fresh install to migrate :

  • $SPLUNK_HOME/etc/system/local
  • $SPLUNK_HOME/etc/users
  • $SPLUNK_HOME/etc/apps Your mileage may vary if your are using some special apps and maybe you need to copy splunk.sercret as well.

Hope this helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...