I am trying to install Apache Cassandra that is a tar.gz file. The following is the output I am getting.
1st instance:
tar -zxvf apache-cassandra-2.0.3-bin.tar.gz
tar (child): apache-cassandra-2.0.3-bin.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
2nd instance:
tar -zxvf apache-cassandra-2.0.3-bin.tar.gz.gitignore
tar (child): apache-cassandra-2.0.3-bin.tar.gz.gitignore: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
What to do?
The files I need to install are in a disk and not copied to the machine. Does that matter?
Best Answer
Reason for your problem is in the error report.
cd
ed into the directory on which theapache-cassandra-2.0.3-bin.tar.gz
file is located and then run the below command to extract it's content.