I downloaded Nagios Core 4.2.1 (nagios-4.2.1.tar.gz) when I tried to extract it I got this message.
tar xzf nagios-4.2.1.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Is there and MD5 hash that I can verify that file is good or not and has anyone else run into this issue yet?
Ngios Core 4.2.1 corrupt
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Ngios Core 4.2.1 corrupt
It works for me:
You might need to gunzip it first and then untar it.
Code: Select all
wget https://github.com/NagiosEnterprises/nagioscore/releases/download/4.2.1/nagios-4.2.1.tar.gz
--2016-10-10 17:36:45-- https://github.com/NagiosEnterprises/nagioscore/releases/download/4.2.1/nagios-4.2.1.tar.gz
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-cloud.s3.amazonaws.com/releases/16119670/077d7804-741b-11e6-866c-c6df16c4d398.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161010%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161010T063647Z&X-Amz-Expires=300&X-Amz-Signature=5f53d9d49f54e02875f058fa619b9385e06b0395df46da6283f280b56fd40858&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnagios-4.2.1.tar.gz&response-content-type=application%2Foctet-stream [following]
--2016-10-10 17:36:46-- https://github-cloud.s3.amazonaws.com/releases/16119670/077d7804-741b-11e6-866c-c6df16c4d398.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161010%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161010T063647Z&X-Amz-Expires=300&X-Amz-Signature=5f53d9d49f54e02875f058fa619b9385e06b0395df46da6283f280b56fd40858&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnagios-4.2.1.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 54.231.40.35
Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|54.231.40.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11155576 (11M) [application/octet-stream]
Saving to: 'nagios-4.2.1.tar.gz’
100%[===========================================================================>] 11,155,576 916KB/s in 16s
2016-10-10 17:37:05 (662 KB/s) - 'nagios-4.2.1.tar.gz’ saved [11155576/11155576]
tar xzf nagios-4.2.1.tar.gz
ls -la nagios-4.2.1
total 580
drwxr-xr-x 18 troylea troylea 4096 Sep 7 00:59 .
drwxrwxrwt 16 root root 40960 Oct 10 17:37 ..
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 base
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 cgi
-rw-r--r-- 1 troylea troylea 16399 Sep 7 00:59 Changelog
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 common
-rwxr-xr-x 1 troylea troylea 44483 Sep 7 00:59 config.guess
-rwxr-xr-x 1 troylea troylea 32619 Sep 7 00:59 config.sub
-rwxr-xr-x 1 troylea troylea 205086 Sep 7 00:59 configure
-rw-r--r-- 1 troylea troylea 25142 Sep 7 00:59 configure.ac
drwxr-xr-x 4 troylea troylea 4096 Sep 7 00:59 contrib
-rw-r--r-- 1 troylea troylea 7343 Sep 7 00:59 daemon-init.in
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 docs
-rw-r--r-- 1 troylea troylea 886 Sep 7 00:59 doxy.conf
-rwxr-xr-x 1 troylea troylea 7025 Sep 7 00:59 functions
-rw-r--r-- 1 troylea troylea 373 Sep 7 00:59 .gitignore
drwxr-xr-x 11 troylea troylea 4096 Sep 7 00:59 html
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 include
-rwxr-xr-x 1 troylea troylea 77 Sep 7 00:59 indent-all.sh
-rwxr-xr-x 1 troylea troylea 161 Sep 7 00:59 indent.sh
-rw-r--r-- 1 troylea troylea 422 Sep 7 00:59 INSTALLING
-rwxr-xr-x 1 troylea troylea 5869 Sep 7 00:59 install-sh
-rw-r--r-- 1 troylea troylea 841 Sep 7 00:59 LEGAL
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 lib
-rw-r--r-- 1 troylea troylea 18002 Sep 7 00:59 LICENSE
-rw-r--r-- 1 troylea troylea 13787 Sep 7 00:59 Makefile.in
-rwxr-xr-x 1 troylea troylea 461 Sep 7 00:59 make-tarball
-rwxr-xr-x 1 troylea troylea 818 Sep 7 00:59 mkpackage
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 module
-rw-r--r-- 1 troylea troylea 9064 Sep 7 00:59 nagios.spec
-rw-r--r-- 1 troylea troylea 244 Sep 7 00:59 nagios.sysconfig
-rw-r--r-- 1 troylea troylea 210 Sep 7 00:59 pkginfo.in
-rw-r--r-- 1 troylea troylea 15 Sep 7 00:59 README
-rw-r--r-- 1 troylea troylea 3157 Sep 7 00:59 README.asciidoc
drwxr-xr-x 3 troylea troylea 4096 Sep 7 00:59 sample-config
-rwxr-xr-x 1 troylea troylea 1284 Sep 7 00:59 subst.in
drwxr-xr-x 5 troylea troylea 4096 Sep 7 00:59 t
drwxr-xr-x 4 troylea troylea 4096 Sep 7 00:59 tap
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 test
-rw-r--r-- 1 troylea troylea 5293 Sep 7 00:59 THANKS
drwxr-xr-x 4 troylea troylea 4096 Sep 7 00:59 t-tap
-rwxr-xr-x 1 troylea troylea 2621 Sep 7 00:59 update-version
-rw-r--r-- 1 troylea troylea 331 Sep 7 00:59 UPGRADING
drwxr-xr-x 3 troylea troylea 4096 Sep 7 00:59 worker
drwxr-xr-x 2 troylea troylea 4096 Sep 7 00:59 xdataYou might need to gunzip it first and then untar it.
Code: Select all
gunzip nagios-4.2.1.tar.gz
tar xf nagios-4.2.1.tarAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Ngios Core 4.2.1 corrupt
Was this your precise command? It's got to behbackus wrote: tar xzf nagios-4.2.1.tar.gz
Code: Select all
tar -xzf...
Hulluna humpasta taas
Minä olen hulluna humpasta taas
Minen toivu koskaan, luotan voimaan votkan
Hulluna humpasta taas
Minä olen hulluna humpasta taas
Minen toivu koskaan, luotan voimaan votkan
Hulluna humpasta taas
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Ngios Core 4.2.1 corrupt
That is going to depend on the version, but in this case that does look like a possibility. On that note, @hbackus, can you tell us the version of tar you are using (tar --version)?mksmr wrote: Otherwise it would try to process an archive or file named "xzf" which obviously can't be found.
Also, on what OS are you running Nagios Core?
Lastly, if you haven't already, please see @Box293's comment about using gunzip first.
Re: Ngios Core 4.2.1 corrupt
To all those who replied, thank you.
For anyone else that has the problem
– FYI –
The download from the Nagios website is a few bytes short of the download from a “wget” command line download.
The hash on the files is different also.
The tar from a “wget” works OK. The tar from the website gives the error I listed in the original post.
Consequently don’t use the website for the 4.2.1 release.

For anyone else that has the problem
– FYI –
The download from the Nagios website is a few bytes short of the download from a “wget” command line download.
The hash on the files is different also.
The tar from a “wget” works OK. The tar from the website gives the error I listed in the original post.
Consequently don’t use the website for the 4.2.1 release.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Ngios Core 4.2.1 corrupt
We need to get that fixed! Is https://www.nagios.org/downloads/nagios-core/ the URL you are using? If not, could you please tell use which URL so we can fix the link? Thanks!
Re: Ngios Core 4.2.1 corrupt
here you go
https://www.nagios.org/downloads/core-stay-informed
https://assets.nagios.com/downloads/nag ... 1475876589
96A71803C10AFE1A7D2B05E61E35578A *nagios-4.2.1.tar (2).gz
5CC60E374D61BDE0E506D67FD52EF776 *nagios-4.2.1.tar.gz
a little more info
the bad file came down 10,891 KB
Its' MD5 checksum is 5CC60E374D61BDE0E506D67FD52EF776
The good tar file that I used to upgrade Nagios came down with 10,895 KB
It's checksum is 96A71803C10AFE1A7D2B05E61E35578A
Let me know if you need more info.
https://www.nagios.org/downloads/core-stay-informed
https://assets.nagios.com/downloads/nag ... 1475876589
96A71803C10AFE1A7D2B05E61E35578A *nagios-4.2.1.tar (2).gz
5CC60E374D61BDE0E506D67FD52EF776 *nagios-4.2.1.tar.gz
a little more info
the bad file came down 10,891 KB
Its' MD5 checksum is 5CC60E374D61BDE0E506D67FD52EF776
The good tar file that I used to upgrade Nagios came down with 10,895 KB
It's checksum is 96A71803C10AFE1A7D2B05E61E35578A
Let me know if you need more info.
-
jfrickson
Re: Ngios Core 4.2.1 corrupt
I'll get a new one uploaded there as soon as possible. Thank you!