1830207 Members
1859 Online
109999 Solutions
New Discussion

Directory CheckSum Error

 
Bill Brutzman
Frequent Advisor

Directory CheckSum Error

I tried to download Geronimo from Apache.org and when I do a...

tar -xf geronimo-tomcat...(file name)

I get "Directory CheckSum Error". I tried this on several other files to several HP-Ux directories and I obtain the same error.

Apache indicates that I am required to do a md5 or md5Sum thing, but the steps are not clear to me.

Suggestions would be appreciated.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: Directory CheckSum Error

I just downloaded the non-tomcat version yesterday because of your other thread. I noticed all the documentation about checksums but I ignored it. I did extract the files with no problems.

Right now I downloaded it and used md5sum and the value matched the .gz file:
c732a87f4088202da3c8bae4cc7279d5

I downloaded it from the suggested:
http://mirrors.24-7-solutions.net/pub/apache/geronimo/2.0.2/geronimo-tomcat6-jee5-2.0.2-bin.tar.gz
Dennis Handly
Acclaimed Contributor

Re: Directory CheckSum Error

(A follow up.)

A tar -tvf works fine but using -xf gets your error:
tar: ././@LongLink creating as regular file.
tar: geronimo-tomcat6-jee5-2.0.2/repository/org/apache/geronimo/configs/connecto
r-deployer/2.0.2/connecto - cannot create
...
tar: ././@LongLink creating as regular file.
directory checksum error

GNU tar seems to work fine except for this message:
/usr/local/bin/tar: A lone zero block at 142602

pax -r gives some messages like:
pax: geronimo-tomcat6-jee5-2.0.2/repository/org/apache/geronimo/modules/geronimo-connector-builder/2.0.2 : The filetype is unknown.

So you need GNU tar:
/usr/local/bin/tar
Bill Brutzman
Frequent Advisor

Re: Directory CheckSum Error

1. tar -tvf results in the same error. I
tried this command in two different
directories.

2. RIght now GNU tar is not
in /usr/local/bin, that directory is
empty. Should I download from someplace?
I fear that I will get the same error.
Steven Schweda
Honored Contributor

Re: Directory CheckSum Error

> Should I download from someplace?

This new Inter-Web thing is a miracle. A
Google search for:
gnu tar
leads to:
http://www.gnu.org/software/tar/

Throw in "hp-ux", and you can probably find a
binary kit, too.

> I fear that I will get the same error.

Same as which? GNU "tar" should resolve any
"@LongLink" complaints.
Bill Brutzman
Frequent Advisor

Re: Directory CheckSum Error

1. The tar tech manual on tar helps; I will try to look at it later today.

2. It was not clear to me that gnu is sympatico with hp-ux. I am delighted that gnu has been blessed by HP.

3. I have an inkling about a "binary kit" but I could use a particular file and some instructions.

4. Of course if tar does not work locally, downloading an archived tar file does not help.
Steven Schweda
Honored Contributor

Re: Directory CheckSum Error

> 2. It was not clear to me that gnu is
> sympatico with hp-ux. I am delighted that
> gnu has been blessed by HP.

GNU "tar" working on HP-UX does not imply a
blessing from HP. Nor the converse. But it
should work, with or without blessings.

> 3. I have an inkling about a "binary kit"
> but I could use a particular file and some
> instructions.

Perhaps if you disclosed your HP-UX version
and hardware type, someone could suggest a
specific kit. For instructions, I'd tend to
consult the kit's source.

> 4. Of course if tar does not work locally,
> downloading an archived tar file does not
> help.

It might not help if the "tar" kit used the
same troublesome format extensions as were
used in that Geronimo kit. In fact, this
won't happen. (If normal "tar" programs
couldn't cope with a GNU "tar" kit, they'd
probably offer GNU "tar" in a Zip archive, or
some other format. Don't worry. Be happy.)


Next time, when you have a "tar" problem,
mentioning "tar" in the Subject could have
benefits.