Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unrar is not working in Solaris 10.

379 views
Skip to first unread message

Solaris BD

unread,
May 12, 2009, 6:59:22 PM5/12/09
to
I have tried blastwave unrar which 3.51 version, tried sunfreeware's
unrar which is 3.60 version.

Also tried rarlab.com's unrar 3.10 version. None can extract password
protected rar archives though password is correct as it works in
Windows..

# unrar e test.rar
Encrypted file: CRC failed in test.rar (password incorrect ?)
No files to extract

# unrar e -p test.rar
Enter password (will not be echoed):

Reenter password:

UNRAR 3.51 freeware Copyright (c) 1993-2005 Alexander Roshal

Encrypted file: CRC failed in test.rar (password incorrect ?)
No files to extract


Am I only one to face this problem!

---------------------------------------------------------------
Solaris 10 update 6 on x86

Greg Andrews

unread,
May 12, 2009, 7:24:52 PM5/12/09
to
Solaris BD <Uni...@gmail.com> writes:
>
># unrar e test.rar
>Encrypted file: CRC failed in test.rar (password incorrect ?)
>No files to extract
>

How did you transfer the file from the Windows machine to the
Solaris 10 machine?

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.

Atiqur Rahman

unread,
May 13, 2009, 11:44:53 AM5/13/09
to
On May 13, 5:24 am, g...@panix.com (Greg Andrews) wrote:
> How did you transfer the file from the Windows machine to the
> Solaris 10 machine?

It's dual boot having both Solaris and Windows. Copied files from
Solaris to mounted fat32 partitions and Windows can extract those
archives.

Bartek

unread,
May 16, 2009, 3:14:05 PM5/16/09
to

I have same issue.

Message has been deleted

ThanksButNo

unread,
May 17, 2009, 3:24:30 AM5/17/09
to
On May 12, 3:59 pm, Solaris BD <Uni...@gmail.com> wrote:
> I have tried blastwave unrar which 3.51 version, tried sunfreeware's
> unrar which is 3.60 version.
>
> Also tried rarlab.com's unrar 3.10 version. None can extract password
> protected rar archives though password is correct as it works in
> Windows..
>

Look at the file's MD5 or PGP checksum on each host to
confirm that the files are actually identical, and not
corrupted somehow.

\:-\

Atiqur Rahman

unread,
May 17, 2009, 10:31:42 AM5/17/09
to
They are not corrupted.

Bartek

unread,
May 17, 2009, 2:53:45 PM5/17/09
to
ThanksButNo wrote:
> ===== HELLO ===== (knock knock knock)
>
> I believe Greg Andrews asked a question;

> "How did you transfer the file from the Windows machine
> to the Solaris 10 machine?"
>
> This is a very important question, which so far none of
> you have answered.
>
> The reason it's important is because, if you copied the
> files using FTP, then you need to remember that the
> default mode for Solaris among many other UNIX systems
> is to use ASCII transfer.
>
> What this does essentially is remove every byte that's
> equal to ASCII 0x0D (carriage return) to convert the
> DOS newline (CR-NL) to a UNIX newline (NL only).
>
> If you are using FTP, and not using BINARY, then it is
> virtually GUARANTEED that any binary file, such as a
> compressed RAR archive, is going to be corrupted.
>
> If you using FTP and you ARE using BINARY, then there is
> a different issue going on. If you are using some Windows
> GUI version of FTP that claims to be smart enough to tell
> when the file is ASCII or BINARY, I would double-check to
> make sure that program is as smart as it claims.
>
> What I would suggest, if at all possible, is to run some
> sort of checksum on the file, both on the original Windows
> system and on the Solaris system, if for no other reason
> than to assure yourself that the file you see on one box
> is indeed the same uncorrupted version that's on the other
> box.
>
> PGP has some freeware utilities available for checksumming
> files for this very purpose, or you can grab some freeware
> versions to take an MD5 checksum.
>
> Or, as a quick-and-dirty zeroth-level check, take a look
> at the file sizes at the byte level. If this indeed the
> situation, you'll find the disk size is *smaller* on the
> Solaris box -- the difference in size due to CR bytes
> having been removed during the FTP ASCII transfer.
>
> /:-/
I just saved password-protected RAR file from rapidshare.com to
OpenSolaris machine, and couldn't open it. Then copied this file to
Windows, using USB stick, and WinRAR extracted it easily (after
providing same password I tried in OpenSolaris).

ThanksButNo

unread,
May 17, 2009, 5:22:15 PM5/17/09
to
On May 12, 3:59 pm, Solaris BD <Uni...@gmail.com> wrote:

According to the Wikipedia:

Begin Quote-----
RAR files can be created ONLY [emphasis mine] with
commercial software WinRAR, RAR, and software that
has permission from the author, Alexander Roshal.
[1] RAR for Pocket PC is the only free software for
creating RAR files.

Squeez is commercial software available only for
Microsoft Windows that can read and write RAR files.
It can write RAR 1.5 and RAR 2.0 files and supports
basic encryption.[6]

Third party programs that can only read (unpack)
RAR files include 7-Zip (multiplatform), IZArc
(Windows), PeaZip (Windows, Linux), Zipeg (Windows,
MacOS), and ALZip (Windows), along with the free
version of unrar (which is also available for
Linux and FreeBSD). Mac OS X readers include
Stuffit Expander, The Unarchiver and Zipeg.
Stuffit Expander is also available for Mac OS
Classic with RAR support for this platform.
-----End Quote.

It is very possible that the implementation ported to
Solaris is not a complete implementation and does not
include any password features.

The version available on sunfreeware.com originated at
freshmeat.net. That is probably the place to direct
your questions in this regard.

Essentially, RAR is NOT free-of-charge Open Source software.
It uses proprietary algorithms and the authors hope to
make a profit from it. Any version on any platform that
you get for FREE should be immediately suspect.

I would suggest that, in lieu of using RAR, that you try
using gzip instead. It compresses slightly less than RAR,
but it IS 100% free to use and it IS available on every
known variant of Unix, Windows, Mac, etc.

\:-\

Dave

unread,
May 17, 2009, 6:16:38 PM5/17/09
to
Bartek wrote:

> I just saved password-protected RAR file from rapidshare.com to
> OpenSolaris machine, and couldn't open it. Then copied this file to
> Windows, using USB stick, and WinRAR extracted it easily (after
> providing same password I tried in OpenSolaris).

I'd avoid rar format myself. Why use a proprietary format, when open
ones exist? If possible, I'd send it back to someone and ask them to put
it in a format that is commonly used, like Zip for example.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.

Atiqur Rahman

unread,
May 18, 2009, 9:39:01 AM5/18/09
to
On May 18, 3:22 am, ThanksButNo <no.no.tha...@gmail.com> wrote:
> I would suggest that, in lieu of using RAR, that you try
> using gzip instead.  It compresses slightly less than RAR,
> but it IS 100% free to use and it IS available on every
> known variant of Unix, Windows, Mac, etc.

We can use open softwares in this purpose. But in case of extracting
rar files I have to use the Windows OS and winrar.

Crappy proprietar softwares!

Greg Andrews

unread,
May 18, 2009, 2:39:59 PM5/18/09
to
ThanksButNo <no.no....@gmail.com> writes:
>
>===== HELLO ===== (knock knock knock)
>
>I believe Greg Andrews asked a question;
>

Which was answered soon after. Relax.

ThanksButNo

unread,
May 18, 2009, 4:36:04 PM5/18/09
to
On May 18, 11:39 am, g...@panix.com (Greg Andrews) wrote:

> ThanksButNo <no.no.tha...@gmail.com> writes:
>
> >===== HELLO ===== (knock knock knock)
>
> >I believe Greg Andrews asked a question;
>
> Which was answered soon after. Relax.


Yah, I re-read where it was answered soon after,
and so I canceled that posting. (My wife always
complains that I don't "read", I "scan", which is
great for getting the gist of things quickly, but
you do occasionally miss important details.)

Unfortunately, canceled postings sometimes get read anyway.

<:-(

Bartek

unread,
May 18, 2009, 4:44:59 PM5/18/09
to
I did little test, and compiled unrar version 3.80 and guess what? It
worked. But I checked archive with very simple password like "aaa",
dunno if it is gonna work with more complex ones. But you should try
compiling latest version of unrar and then try opening your archives.
And if you want to open *.rar files with GNOME graphical frontend
archiver (File Roller - it is available in OpenSolaris, dunno about
Solaris), just place 'unrar' executable in /bin or whatever directory
that is in your $PATH ;).

Atiqur Rahman

unread,
May 19, 2009, 10:38:08 AM5/19/09
to
On May 19, 2:44 am, Bartek <bartek.p...@gmail.com> wrote:
> I did little test, and compiled unrar version 3.80 and guess what? It
> worked.

Kinda good news.

0 new messages