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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...