Gunzip: File too large error


 
Thread Tools Search this Thread
Operating Systems Solaris Gunzip: File too large error
# 1  
Old 01-07-2016
Gunzip: File too large error

Hello All,

I'm trying to write a script to load the MySQL DB from a dump file but the unzipping doesnt seem to work, not sure whats the issue, i get below error

Code:
bash>gunzip mysql2-dump.gz

gunzip: mysql2-dump: File too large
bash >

can anyone pls let me know how to sort this out?

Thanks!!
# 2  
Old 01-07-2016
Try
Code:
gunzip < mysql2-dump.gz  > mysql2-dump

Be sure there is enough free space where you are placing mysql2-dump
# 3  
Old 01-07-2016
Thanks a lot, it works fine Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Gunzip a file in UNIX

hi All, i have a file called rsync-3.0.9.tar.gz, i have to unzip and then uncompress it. but at first while i am trying to unzip this file, it is giving me following error: -rw-r--r-- 1 bravodba bravodba 7278458 Aug 19 08:26 rsync-3.0.9.tar.gz bash-3.2$ unzip rsync-3.0.9.tar.gz Archive: ... (12 Replies)
Discussion started by: lovelysethii
12 Replies

2. AIX

Gunzip tar A directory checksum error on media

Hi, what is the directory checksum error ? # sed 's/^M$//' test4_bkp_19Jan13.tgz | tar -tvf - tar: 0511-169 A directory checksum error on media; -265745505 not equal to 76225. # mv test4_bkp_19Jan13.tgz test4.gz # gunzip < /ebs2/test4.gz | tar -xvf - tar: 0511-169 A directory checksum... (4 Replies)
Discussion started by: filosophizer
4 Replies

3. Shell Programming and Scripting

Not able to gunzip a .gz file, in ksh

i am working on unix - ksh trying to unzip a .gz file and when i executed the below, in my command prompt in ksh gunzip abc.gz it was throwing the message below: gunzip: abc.gz: unexpected end of file - pls advise what is the reason for it..i am pretty sure the .gz file had no issues. (3 Replies)
Discussion started by: billpeter3010
3 Replies

4. Shell Programming and Scripting

Searching inside a .gz file without gunzip

I have a set of folders inside which there may be n number of files. All those files are in .gz extension. Now I need to search all the files without gunzip them. Also I need to read the content of a file if the search pattern is found without gunzip them. (3 Replies)
Discussion started by: realspirituals
3 Replies

5. UNIX for Dummies Questions & Answers

gunzip error - not in gzip format

Hi, I am getting this error gunzip file1.tar.Z gunzip: file1.tar.Z: not in gzip format Any clues? This goes bad only in some recent installations of ids (5 Replies)
Discussion started by: eagercyber
5 Replies

6. Shell Programming and Scripting

Error transferring large file using sftp protocol

Hello All, I am not able to transfer large file completely (more than 60 MB) through automated SFTP script. It transfers only the partial file (approximately 55 MB) and it stops. I use "expect" command to transfer file in a automatic mode through script. The file transfer rate i get is around... (0 Replies)
Discussion started by: prashant.patel
0 Replies

7. HP-UX

error using gunzip

Good day, Recently I zipped an oracle export file task123.dmp using gzip. And now I am trying to unzip it using gunzip task123.dmp.gz but am unable to do so. It keeps on giving the following error; > gunzip task123.dmp.gz gunzip: task123.dmp: File too large The task123.dmp.gz file... (3 Replies)
Discussion started by: Keyser Soze
3 Replies

8. AIX

RS/6000 gcc compile large file error

hi, everybody£º i have a question, pls help me¡£ OS : RS/6000 AIX 4.3.3 cPU : Powerpc,POWER3 compiler : gcc 3.2.3 source file £º 8M OS kernel : 32 bit (selecting at installing operating system, the hardware support 64 bit) when i compiling the large source file (8 M), i... (3 Replies)
Discussion started by: q30
3 Replies

9. UNIX for Dummies Questions & Answers

gunzip error

While trying to gunzip afile I get the following error message ls -l UK_US_02310.dat.gz -rwxrwxrwx 1 imis abint 348854527 Jan 8 00:17 UK_US_02310.dat.gz gunzip UK_US_02310.dat.gz gunzip: UK_US_02310.dat.gz: invalid compressed data--format violated I can gzcat the file and pipe to... (3 Replies)
Discussion started by: mccoubreyr
3 Replies

10. UNIX for Dummies Questions & Answers

gunzip error

I am trynig to unzip a file with gunzip, and am getting an error 'File too large'. Any ideas on how to get around this? (2 Replies)
Discussion started by: pkappaz
2 Replies
Login or Register to Ask a Question