1824880 Members
3838 Online
109675 Solutions
New Discussion юеВ

unzip problem

 
SOLVED
Go to solution
Donald Thaler
Super Advisor

unzip problem

system is hpux 11.23 on an rx6600

i'm trying to unzip a file and i'm getting the following error:
Archive: p4898608_10204_Generic.zip
caution: filename not matched: //u01/app/oracle/product/10.2.0

the unzip command is :unzip p4898608_10204_Generic.zip /u01/app/oracle/product/10.2.0

I noticed the the path that is shown after 'not matched', contains 2 // characters , yet when i echo the ORACLE_PATH
it shows the path with only 1 / in the beginning.

what does the error message mean and how can i correct it ??
3 REPLIES 3
Michael Steele_2
Honored Contributor

Re: unzip problem

a) What is the command syntax that you're using?

b) Use cksum on the uploaded and downloaded copies of the file that you're trying to unzip. Verfiy they match.

c) If the cksum's don't match then make sure you're ftping within binary and not ascii modes.
Support Fatherhood - Stop Family Law
Hein van den Heuvel
Honored Contributor

Re: unzip problem

What unzip are you using? UnZip 5.32 provided by Oracle?http://updates.oracle.com/unzips/unzips.html

How about just going to the target directory and using: unzip -j

fwiw,
Hein.
Steven Schweda
Honored Contributor
Solution

Re: unzip problem

"unzip -v"?

> [...] UnZip 5.32 [...]

UnZip 5.52 is the current released version,
and I would avoid anything older.

What makes you think that UnZip cares even a
little about ORACLE_PATH?

> what does the error message mean and how
> can i correct it ??

It means, I believe, that UnZip was looking
in the archive for the file you specified,
but didn't find it. (Why the name in the
message differs from the name on the command
line is a mystery, but without knowing the
program version, it's hard to say where to
look for an answer.)

What does this tell you about the files in
the archive?:

unzip -l p4898608_10204_Generic.zip

Is what you're specifying in there?

I would not expect a Zip archive to include a
file name with a leading slash (like
"/u01/app/oracle/product/10.2.0"). Plain
"u01/app/oracle/product/10.2.0" would seem
more likely (to me).


> b) Use cksum [...]

I wouldn't bother. UnZip has a pretty good
idea of whan it's dealing with a corrupt
archive, and I'd expect it to let you know.