Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Public beta releases for RAIDar posted here.

Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby CharlesLaCour » Sat May 22, 2010 10:11 am

I have tried downloading the RAIDar_Linux_4_3_0-T8.sh file a number of times on various Linux boxes and when I run it I get the error:
Code: Select all
gunzip: sfx_archive.tar.gz: not in gzip format

I am sorry, but the installer file seems to be corrupted.
If you downloaded that file please try it again. If you
transfer that file with ftp please make sure that you are
using binary mode.


The sha256sum of the downloaded file is:
a4b9d92ae07903bc008b152e8d1a6c261651bd88cfa242acb8a8137bcbfc57a3 RAIDar_Linux_4_3_0-T8.sh

Also the md5sum on it is:
6b10bc50c675c0b7fdd0f82be7045098 RAIDar_Linux_4_3_0-T8.sh
Charles LaCour
clacour_AT_gmail.com
User avatar
CharlesLaCour
ReadyNAS Expert
 
Posts: 473
Joined: Thu May 04, 2006 6:45 pm
Location: Northern San Diego, California
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby WhoCares? » Sat May 22, 2010 11:00 am

I think the problem is that the ReadyNAS.com server sends out the file using a content type of "text/sh". This results in the file being converted (mime-encoded I'd guess) "over the wire" and thus is received in a broken state by any application.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby CharlesLaCour » Mon May 24, 2010 10:10 am

The first part of the file, 439 lines, is a recognizable shell script and then it switches to binary, it is not MIME encoded.
Charles LaCour
clacour_AT_gmail.com
User avatar
CharlesLaCour
ReadyNAS Expert
 
Posts: 473
Joined: Thu May 04, 2006 6:45 pm
Location: Northern San Diego, California
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby WhoCares? » Mon May 24, 2010 12:11 pm

CharlesLaCour wrote:The first part of the file, 439 lines, is a recognizable shell script and then it switches to binary, it is not MIME encoded.

So you're saying you were able to download and install it?

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby CharlesLaCour » Mon May 24, 2010 12:41 pm

No.

I download the file, change the permissions on the file to make it executable and then execute it as root and I get the error in my original post.

Here is a transcript of what I have tried on an Ubuntu 10.04 system: (The host name and loginhave been changed)
Code: Select all
me@host:~/Downloads$ wget http://www.readynas.com/download/beta/raidar/4.3.0/RAIDar_Linux_4_3_0-T8.sh--2010-05-24 12:26:54--  http://www.readynas.com/download/beta/raidar/4.3.0/RAIDar_Linux_4_3_0-T8.sh
Resolving www.readynas.com... 207.211.82.151
Connecting to www.readynas.com|207.211.82.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22056443 (21M) [text/x-sh]
Saving to: `RAIDar_Linux_4_3_0-T8.sh'

100%[====================================================================================>] 22,056,443  1.47M/s   in 14s     

2010-05-24 12:27:09 (1.47 MB/s) - `RAIDar_Linux_4_3_0-T8.sh' saved [22056443/22056443]

me@host:~/Downloads$ sha256sum RAIDar_Linux_4_3_0-T8.sh
a4b9d92ae07903bc008b152e8d1a6c261651bd88cfa242acb8a8137bcbfc57a3  RAIDar_Linux_4_3_0-T8.sh
me@host:~/Downloads$ md5sum RAIDar_Linux_4_3_0-T8.sh
6b10bc50c675c0b7fdd0f82be7045098  RAIDar_Linux_4_3_0-T8.sh
me@host:~/Downloads$ ls -l
total 770216
-rw-r--r-- 1 me me  22056443 2010-05-13 16:02 RAIDar_Linux_4_3_0-T8.sh
me@host:~/Downloads$ chmod +x RAIDar_Linux_4_3_0-T8.sh
me@host:~/Downloads$ ls -l
total 770216
-rwxr-xr-x 1 me me  22056443 2010-05-13 16:02 RAIDar_Linux_4_3_0-T8.sh
me@host:~/Downloads$ sudo ./RAIDar_Linux_4_3_0-T8.sh
[sudo] password for me:

gzip: sfx_archive.tar.gz: not in gzip format

I am sorry, but the installer file seems to be corrupted.
If you downloaded that file please try it again. If you
transfer that file with ftp please make sure that you are
using binary mode.
me@host:~/Downloads$


I also tried the "sudo bash ./RAIDar_Linux_4_3_0-T8.sh" reported in other posts and it gives the same results. I have also used "sudo su -" to change to root and then run the RAIDar_Linux_4_3_0-T8.sh directly and same result.
Charles LaCour
clacour_AT_gmail.com
User avatar
CharlesLaCour
ReadyNAS Expert
 
Posts: 473
Joined: Thu May 04, 2006 6:45 pm
Location: Northern San Diego, California
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby WhoCares? » Mon May 24, 2010 2:29 pm

Well, it looks like there's more broken in that file. I took a deeper look at it and found that
- it tries to extract the archive from offset 259892 to the end of the file. The .gz archive header actually starts at offset 262014
- even when extracted from the correct offset, the resulting tar.gz archive is still broken.

So in a nutshell: Yes, the download .sh file is broken ;)

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

Re: Is the RAIDar_Linux_4_3_0-T8.sh corrupt?

Postby chirpa » Thu May 27, 2010 4:54 pm

Let me know if T9 helps this situation: viewtopic.php?f=129&t=34051
User avatar
chirpa
Jedi Council Alumni
 
Posts: 15489
Joined: Mon Sep 24, 2007 11:52 am
Location: San Jose, CA
ReadyNAS: Repertoire


Return to Public RAIDar Beta



Who is online

Users browsing this forum: No registered users and 1 guest