Getting Data In

How can I install a forwarder on a Sun Solaris 5.10?

ddrillic
Ultra Champion

I did the following -

bash-3.2$ uname -a
SunOS <host name> 5.10 Generic_Virtual sun4v sparc sun4v
bash-3.2$ tar -xvzf splunkforwarder-6.4.1-debde650d26e-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}...

What can be done?

The following speaks about the tar -z option in Solaris - Extract and Uncompress tar.Z file, One Command (Solaris)

It suggests trying uncompress -c foo.tar.Z | tar xv -....

And, uncompress -c splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z uncompresses it to stdout...

0 Karma
1 Solution

woodcock
Esteemed Legend

Try this:

gunzip splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z
tar xvf splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar

View solution in original post

woodcock
Esteemed Legend

Try this:

gunzip splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z
tar xvf splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar

ddrillic
Ultra Champion

Perfect - that works as well!!!!

0 Karma

tmarlette
Motivator

I take it you can't use a .rpm on solaris right?

0 Karma

ddrillic
Ultra Champion

I haven't tried an rpm on solaris... what would be the command?

0 Karma

ddrillic
Ultra Champion

With some help from the SA and zcat splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z | tar -xf - did it.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...