gzip:Value too large for defined data type


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers gzip:Value too large for defined data type
# 1  
Old 10-14-2003
gzip:Value too large for defined data type

SunOS machinename 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-Enterprise-10000


I am gzipping a file over 2GB and get this error message:
Filename :Value too large for defined data type

Is this because the file is over 2GB?
# 2  
Old 10-14-2003
Found the answer on SunSolve:

Document ID: ID50483
Synopsis: ADMIN: gzip, gunzip is not largefile aware in Solaris 8

--------------------------------------------------------------------------------

Keyword(s):gzip, gunzip, largefile, large file, too large
Applies to: Solaris 8 and earlier Solaris versions Last Updated: 2/12/2003

Problem Statement Top

ADMIN: /usr/bin/gzip, gunzip is not largefile aware in Solaris 8. Attempting to compress a file larger than 2Gb with gzip results in error: Value too large for defined data type Attempting to uncompress a file larger than 2GB with gunzip results in error: File too large The Solaris 8 version of gzip/gunzip is 1.2.4 which is not large file aware. See man largefile(5) for more details on which Solaris utilities are largefile aware and largefile safe. However, the Solaris 9 version of gzip/gunzip is 1.3 which IS largefile aware. The version of gzip can be seen with the command: On Solaris 8:

# gzip -V
gzip 1.2.4 (18 Aug 93)

On Solaris 9:

# gzip -V
gzip 1.3

Gzip 1.3 for Solaris 8 can be downloaded from: http://sunfreeware.com Note: Software downloaded from sunfreeware.com is not supported by Sun. Note: gzip, gunzip was not bundled in Solaris 7 and earlier releases. Solaris 8 is the first version of Solaris to include gzip, gunzip.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

MIME type for sending gzip file as attachment in email

Hello, I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt. mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file file name is ... (1 Reply)
Discussion started by: tushar.modgil
1 Replies

2. AIX

AIX and Value too large to be stored in data type.

root@test8:/config1>oslevel -s 5300-01-00-0000 root@test8:/config1>oslevel -r 5300-01 while moving a file sized 9GB i got this message root@test8:/configapp>mv bkp_14JUN16_oraapp_2.tgz /oraapp bkp_14JUN16_oraapp_2.tgz: Value too large to be stored in data type. possibly need APAR... (2 Replies)
Discussion started by: filosophizer
2 Replies

3. HP-UX

struct utsname throwing error : Value too large to be stored in data type

Hi, I am trying to fetch sysname and nodename using struct utsname. I have two HP-UX servers on with 10 characters and other with 13 characters host name. For the first one I am getting truncated 8 characters as output but for the second one i am getting "Value too large to be stored in data type"... (1 Reply)
Discussion started by: shivarajbm
1 Replies

4. Programming

help with data type sizes

i'm using a C program and running it on a linux server, i got 2 adressess of 2 variables, and 2 addresses of 2 chars, and compared it. and got the size of a int and the size of a char. why is a size of a int (4 bytes) bigger then the size of a char (1 byte)? also if i do &a-&b i get 1, but if i... (30 Replies)
Discussion started by: omega666
30 Replies

5. SCO

Error: Value too large for defined data type

Hi all, I have this problem in one of the SCO UNIXWare 7.1.4. We have an application which is working on hundreds of machines. When we try to install the same application on a new machine, the executable/binary gives the following error and exits... "xxx startup failure: Value too large for... (1 Reply)
Discussion started by: chava01
1 Replies

6. AIX

Value too large to be stored in data type???

Hello, I get this message : "Value too large to be stored in data type" when I try to open a 3Gb file. Can someone helps me to resolve the problem. Thank you very much (5 Replies)
Discussion started by: limame
5 Replies

7. Programming

data type limitation

I am writing some code to do analysis on the file system (HP-UX 11.11). I am using stat(..) to get file information. My problem is that the file-size may exceed the data types defined in 'sys/stat.h' & 'sys/types.h' respectively. Thus file-sizes in the Giga-byte range are not read correctly.... (2 Replies)
Discussion started by: ALTRUNVRSOFLN
2 Replies

8. UNIX for Dummies Questions & Answers

Need to gzip LARGE files

The windows version of gzip supports pretty much unlimited file sizes while the one we have in solaris only goes up to a set size, one or two gigs I think. Is there a new version of gzip I can put on our systems that supports massive file sizes? (2 Replies)
Discussion started by: LordJezo
2 Replies

9. Programming

FILE data type

Hi all, Can anyone tell me a little about the datatype FILE, which represents stream. What does its structure look like, and in which header file is it defined and so on... Ex : FILE *fp ; fp = fopen("filename", "w") ; (6 Replies)
Discussion started by: milhan
6 Replies
Login or Register to Ask a Question