Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 11-06-2003, 12:52 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
Exclamation tar : directory checksum error in solaris2.6 while untaring tamcat

hello everybody!!
I'm trying to install tomcat4.1.29 in sun solaris2.6...but when i tried to untar the file jakarta-tomcat-4.1.29.tar.gz with the command:

tar xvf jakarta-tomcat-4.1.29.tar.gz

i got the error message:

tar : directory checksum error

i also tried this command:

gzip -dc jakarta-tomcat-4.1.29.tar.gz| tar xvf -

but this is also giving the same error:

tar : directory checksum error

how can i fix this?? Pls help me out...THANKS!!
Old 11-06-2003, 01:29 PM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You'll need to gunzip the file first, then untar it. Do it in two distinct steps so that you know whether it's the gunzip or the tar that is breading down.

Last edited by stickman; 11-06-2003 at 01:31 PM.
Old 11-07-2003, 01:15 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 10

Original Poster
Rep: Reputation: 0
i have done it in both the ways. it is giving error at the time of untaring. i think this is because of the version problem. yesterday i tried older version of tomcat, that was working fine. can u tell me any patch for this?
Old 11-07-2003, 07:31 AM   #4
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Try using GNU tar.
Old 11-12-2003, 08:51 AM   #5
LQ Newbie
Registered: Sep 2003
Location: Pasadena, MD
Distribution: Solaris, MacOS X, Linux
Posts: 27

Rep: Reputation: 15
I would try using GNU tar or it might be possible you do not have the entire package. The checksum error usually indicates the archive is not completely there.

Old 12-07-2003, 10:41 AM   #6
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
If you don't have GNU tar, then do this:

gzip -dv jakarta-tomcat-4.1.29.tar.gz
tar xfv jakarta-tomcat-4.1.29.tar

If you do have GNU tar, then do this:

tar xfvz jakarta-tomcat-4.1.29.tar.gz


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tar: directory checksum error desbyleo Solaris / OpenSolaris 1 12-18-2004 05:23 AM
CMOS checksum error? slackwarefan Slackware 13 09-16-2004 12:58 PM
checksum error, sorry i_want_help Linux - Software 1 03-30-2004 03:42 PM
checksum error hawk4eye Slackware 0 02-01-2003 11:53 AM
tar : checksum error in sun solaris katana Solaris / OpenSolaris 7 07-10-2001 03:44 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration