Getting Data In

Unable to install splunk forwarder on SOLARIS SPARC

kollampalli
Engager

hi,
I am trying to install splunk forwarder solaris package but getting checksum error and not able to untar it.

Package name: splunkforwarder-6.0-182037-SunOS-sparc.tar.Z

Server OS details : SunOS Generic_144488-10 sun4v sparc SUNW,SPARC-Enterprise-T5220

1st try--->>> $ tar xvfz splunkforwarder-6.0-182037-SunOS-sparc.tar.Z
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile][size] [exclude-file...] {file | -I include-file | -C directory file}...

2nd try----->>> $ gzip -d splunkforwarder-6.0-182037-SunOS-sparc.tar.Z
$ tar -xvf splunkforwarder-6.0-182037-SunOS-sparc.tar
tar: directory checksum error

3rd try------>>> $ uncompress splunkforwarder-6.0-182037-SunOS-sparc.tar.Z
splunkforwarder-6.0-182037-SunOS-sparc.tar.Z: not in compressed format

Can anyone advice me on this?
Thanks 🙂

Tags (2)
0 Karma

dsoni_splunk
Splunk Employee
Splunk Employee

I am able to install Splunk by using below command in Solaris 10

mv splunk-6.6.6-ff5e72edc7c4-SunOS-x86_64.z splunk-6.6.6-ff5e72edc7c4-SunOS-x86_64.tar.Z
uncompress -v splunk-6.6.6-ff5e72edc7c4-SunOS-x86_64.tar.Z | tar -xvf splunk-6.6.6-ff5e72edc7c4-SunOS-x86_64.tar

Try it out.

cousinm
New Member

Hi,
My issue appears to have been caused by the web proxy at work. When I downloaded the file from my home PC and transferred it accross, I was able to uncompress and extract the files successfully.

0 Karma

cousinm
New Member

Hi, I'm having the exact same issue as the OP. I'm using SunOS 5.8 Generic_117350-45 sun4u sparc SUNW,Sun-Fire-V240 and I uploaded the install file to the device via FTP in binary mode.

I tried the suggested resolution above, but I get the following...

zcat splunkforwarder-6.0-182037-SunOS-sparc.tar.Z | tar xvf -

splunkforwarder-6.0-182037-SunOS-sparc.tar.Z: not in compressed format

tar: blocksize = 0

zcat splunkforwarder-6.0-182037-SunOS-sparc.tar.Z

splunkforwarder-6.0-182037-SunOS-sparc.tar.Z: not in compressed format

Has anyone managed to get this working?

0 Karma

ggiessen
Explorer

zcat splunkforwarder-6.0-182037-SunOS-sparc.tar.Z | tar xvf -

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...