LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   tar : directory checksum error in solaris2.6 while untaring tamcat (https://www.linuxquestions.org/questions/solaris-opensolaris-20/tar-directory-checksum-error-in-solaris2-6-while-untaring-tamcat-112926/)

ambuj 11-06-2003 12:52 AM

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!!

stickman 11-06-2003 01:29 PM

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.

ambuj 11-07-2003 01:15 AM

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?

stickman 11-07-2003 07:31 AM

Try using GNU tar.

mmars 11-12-2003 08:51 AM

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.

--Matt

DirtDart 12-07-2003 10:41 AM

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


All times are GMT -5. The time now is 09:42 PM.