05-29-2008
The only possibility I feel is the file is coorupt. maybe when it was compressed , it gave out an error which was missed.
If you used a log file while compressing the file, maybe you should check in the log.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. HP-UX
Hello evrebody ,
I have HPUX-11, i try to install "Mozilla" and "unzip utillity"
I cannot decompress file (F.tar.gz) or file(F.gz) by commandes:
gunzip -dv F.tar.gz | tar -xvf
gunzip F.tar.gz
or
gzip -dv F.tar.gz |tar -xvf
gzip F.gz
maybe someone know What's the reason?
maybe i... (1 Reply)
Discussion started by: yanly64
1 Replies
4. HP-UX
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
5. UNIX for Dummies Questions & Answers
Environment:
ServerA - IBM AIX 5.2
ServerB - IBM AIX 5.2
I want to clone one of my oracle installation. The easiest way is to ZIP(possibly use gzip) the installed folder from the ServerA (Here Oracle is installed and working fine) , FTP to the ServerB(Here I want to have the installation... (4 Replies)
Discussion started by: aixhp
4 Replies
6. Solaris
Hi,
Can anyone let me explain the difference between tar , uncompress,gzip and gunzip commands.
both gzip and gunzip are same i think correct me if am wrong. (1 Reply)
Discussion started by: rogerben
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
i have a gzipped file. <file_name>.gz . when i try gunzip this file i get,
invalid compressed data--format violated
this file gzipped like gzip -f -S <file_name> 2 > <error_log_file>
there is no error in log. it seems that the file gzipped properly. how this
... (3 Replies)
Discussion started by: dummydba
3 Replies
8. AIX
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
9. Solaris
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
bash>gunzip mysql2-dump.gz
gunzip: mysql2-dump: File too large
bash >
can anyone pls let me know how to sort this out?
... (2 Replies)
Discussion started by: Mahesh_RPM
2 Replies
10. Shell Programming and Scripting
Hi All
I am trying to use a hard coded script into shell scripting but I am unable to .
Kindly find the Script below along with the command Please help
gunzip -c FilePath/FileName_*.gz | awk '$0 > "" && $0 < ""'|\
gzip >> FilePath/Outputfile.log.gz
I Am trying to use this... (9 Replies)
Discussion started by: pulkitbahl
9 Replies
LEARN ABOUT DEBIAN
ns_zlib
ns_zlib(3aolserver) AOLserver Zlib Extension ns_zlib(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_zlib - Zlib compression support
SYNOPSIS
ns_zlib compress string
ns_zlib gunzip file
ns_zlib gzip string
ns_zlib gzipfile file
ns_zlib uncompress string
_________________________________________________________________
DESCRIPTION
The ns_zlib command enables compressing and uncompressing of strings or files. The command is available if the nszlib.so module is loaded
into AOLserver or the libnszlib.so, nszlib.dll, or libnszlib.dylib dynamic library is loaded using the load command in a suitable tclsh
such as nstclsh.
ns_zlib compress string
This command compresses the given string and returns a Tcl byte array object with the compressed data.
ns_zlib gunzip file
This command uncompresses the contents of the given gzipped file and returns a string as the result.
ns_zlib gzipfile file
This command is similar to the gzip shell routines, compressing the given file into a new file with the .gz extension. If success-
ful, the original uncompressed file is deleted.
ns_zlib uncompress bytearray
This command takes a byte array object which includes compressed data and returns an uncompressed string object.
EXAMPLES
The following examples demonstrate compressing and uncompressing a string;
# Compress Tcl string
set test "This is test string"
set data [ns_zlib compress $test]
set test [ns_zlib uncompress $data]
--> returns "This is test string"
# Compress the string into gzip format
set gzip [ns_zlib gzip $test]
# Save as gzip file
set fd [open /tmp/test.gz w]
fconfigure $fd -translation binary -encoding binary
puts -nonewline $fd $gzip
close $fd
# Uncompress gzipped file
set test [ns_zlib gunzip /tmp/test.gz]
--> returns "This is test string"
SEE ALSO
ns_adp_ctl(n), load(n)
KEYWORDS
GZIP, compress, uncompress
AOLserver 4.5 ns_zlib(3aolserver)