Deployment Architecture

Can't Install Splunk 6.2 on Amazon EC2 Linux

BrandSentiment
Explorer

I gave set up a Linux 64 instance on EC2. When I run-

wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.t...'

I get:

[ec2-user@ip-172-31-41-244 opt]$ sudo su
[root@ip-172-31-41-244 opt]# wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.t...'
--2014-11-09 08:33:24-- http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.t...
Resolving www.splunk.com (www.splunk.com)... 204.107.141.40
Connecting to www.splunk.com (www.splunk.com)|204.107.141.40|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /page/sign_up/splunk [following]
--2014-11-09 08:33:25-- http://www.splunk.com/page/sign_up/splunk
Connecting to www.splunk.com (www.splunk.com)|204.107.141.40|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.splunk.com/page/sign_up/splunk [following]
--2014-11-09 08:33:25-- https://www.splunk.com/page/sign_up/splunk
Connecting to www.splunk.com (www.splunk.com)|204.107.141.40|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘splunk-6.2.0-237341-Linux-x86_64.tgz’

[ <=>                                                                                  ] 79,132       468KB/s   in 0.2s   

2014-11-09 08:33:26 (468 KB/s) - ‘splunk-6.2.0-237341-Linux-x86_64.tgz’ saved [79132]

I then run

[root@ip-172-31-41-244 opt]# ls
aws splunk-6.2.0-237341-Linux-x86_64.tgz
[root@ip-172-31-41-244 opt]# tar xvzf splunk-6.2.0-237341-Linux-x86_64.tgz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[root@ip-172-31-41-244 opt]#

Tried everything I can think of but can't seem to install 6.2.
Please can you help. It is driving me cray!

0 Karma
1 Solution

MuS
Legend

Hi BrandSentiment,

If I check the wget URL from the download page I get something like this:

wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.tgz&ac=test_modal_enterprise&wget=true&name=wget&platform=Linux&architecture=x86_64&version=6.2.0&product=splunk&typed=release'

running a test on this works perfect:

wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.tgz&ac=test_modal_enterprise&wget=true&name=wget&platform=Linux&architecture=x86_64&version=6.2.0&product=splunk&typed=release'
--2014-11-09 10:15:57--  http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.t...
Resolving www.splunk.com (www.splunk.com)... 204.107.141.40
Connecting to www.splunk.com (www.splunk.com)|204.107.141.40|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.splunk.com/products/splunk/releases/6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86... [following]
--2014-11-09 10:15:58--  http://download.splunk.com/products/splunk/releases/6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86...
Resolving download.splunk.com (download.splunk.com)... 204.107.141.44
Connecting to download.splunk.com (download.splunk.com)|204.107.141.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 89995592 (86M) [application/x-gzip]
Saving to: ‘splunk-6.2.0-237341-Linux-x86_64.tgz’

100%[=======================================================================================================>] 89,995,592   385KB/s   in 3m 57s 

2014-11-09 10:19:55 (371 KB/s) - ‘splunk-6.2.0-237341-Linux-x86_64.tgz’ saved [89995592/89995592]

cheers, MuS

View solution in original post

MuS
Legend

Hi BrandSentiment,

If I check the wget URL from the download page I get something like this:

wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.tgz&ac=test_modal_enterprise&wget=true&name=wget&platform=Linux&architecture=x86_64&version=6.2.0&product=splunk&typed=release'

running a test on this works perfect:

wget -O splunk-6.2.0-237341-Linux-x86_64.tgz 'http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.tgz&ac=test_modal_enterprise&wget=true&name=wget&platform=Linux&architecture=x86_64&version=6.2.0&product=splunk&typed=release'
--2014-11-09 10:15:57--  http://www.splunk.com/page/download_track?file=6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86_64.t...
Resolving www.splunk.com (www.splunk.com)... 204.107.141.40
Connecting to www.splunk.com (www.splunk.com)|204.107.141.40|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.splunk.com/products/splunk/releases/6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86... [following]
--2014-11-09 10:15:58--  http://download.splunk.com/products/splunk/releases/6.2.0/splunk/linux/splunk-6.2.0-237341-Linux-x86...
Resolving download.splunk.com (download.splunk.com)... 204.107.141.44
Connecting to download.splunk.com (download.splunk.com)|204.107.141.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 89995592 (86M) [application/x-gzip]
Saving to: ‘splunk-6.2.0-237341-Linux-x86_64.tgz’

100%[=======================================================================================================>] 89,995,592   385KB/s   in 3m 57s 

2014-11-09 10:19:55 (371 KB/s) - ‘splunk-6.2.0-237341-Linux-x86_64.tgz’ saved [89995592/89995592]

cheers, MuS

BrandSentiment
Explorer

Hi MuS,

I have done the same and it is working fine now. Many thanks

Jonathan

0 Karma
Get Updates on the Splunk Community!

New Release | Splunk Enterprise 9.3

Admins and Analyst can benefit from:  Seamlessly route data to your local file system to save on storage ...

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...