Technical article 126131

I see the error "value too large for defined data type".

OpenServer 6.0.0

Written · Last revised

Problem

Even though I have configured my system for large files, I still get the "value too large for defined data type" error when dealing with files larger than 2 Gig.

Solution

Only certain commands have been enhanced to deal with
large files.  To be certain that you are using the large
file aware versions of these commands, be sure that your
PATH is preceded by /u95/bin.

Also be certain that your ulimit for file creation is set to unlimited.

To see if this is the problem, you could try a test like this:

PATH=/u95/bin:$PATH;export PATH ulimit -f unlimted (then retest the same commands)

To make this change more permanent, be sure that /u95/bin
is listed first everywhere the PATH might be set.  Most
likely, the users' $HOME/.profile files, but possibly also
in /etc/profile or in the startup scripts for your
applications. Also set the `ulimit` in these same scripts.

To make the change for all new users the profile files in /usr/lib/mkuser/*/profile could be updated.

Update the file /usr/lib/cron/.proto to set the PATH and ulimit for cron jobs.

See also

http://osr600doc.xinuos.com/man/html.S/Intro.S.html#LargeFileSupport

The following set of system utilities have been made large-file aware, and a notice stating that has been added to each manual page.

cat(C) 	du(ADM) 	pathchk(C)
chgrp(C) 	ff(ADM) 	pax(C)
chmod(C) 	find(C) 	pwd(C)
chown(C) 	fsck(ADM) 	rcp(TC)
cksum(C) 	fsdb(ADM) 	rm(C)
cmp(C) 	ln(C) 	        rmdir(C)
compress(C) 	ls(C) 	        sum(C)
cp(C) 	mkdir(C) 	touch(C)
cpio(C) 	mkfs(ADM) 	ulimit(C)
dd(ADM) 	mv(C)           uncompress(C)
df(ADM) 	ncheck(ADM) 	zcat(C)

From the Xinuos technical article database, record 126131. Reproduced with permission. The original is at www.sco.com/ta/126131, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.