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 🙂
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.
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.
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?
zcat splunkforwarder-6.0-182037-SunOS-sparc.tar.Z | tar xvf -