Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

not enogh space

doug mielke
Respected Contributor

not enogh space

I get the following error on an N class w/8 gig ram.

Below the error are parms from /stand/system and swapinfo.

There are many references on this site re: the error, but most point to swap or some of the mem parms. I doubled my swap, and raised a bunch more, a bunch.
I started with the tuned HP kernel for dbase servers, and have been raising some parms, but none have helped.

I'm assuming I should ignore the Java error, since the no space error occurs first, but our DBA's are looking into that one anyway.


Error shl_load failed for: /filer/PATO/u01/oracle/product/8.0.5/lib/, [errno 8: Exec format error]
/usr/lib/ Call to mmap() failed - TEXT /filer/PATO/u01/oracle/product/8.0.5/lib/
/usr/lib/ Not enough space
java.lang.UnsatisfiedLinkError: no oci805jdbc in shared library path
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at oracle.jdbc.oci7.OCIDBAccess.logon(
at oracle.jdbc.driver.OracleConnection.(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(
at oracle.apps.ak.Parameters.(Compiled Code)
at oracle.apps.ak.akload.main(
Exception in thread "main"


Tunable parameters

bufcache_hash_locks 256
bufpages (NPROC*4)
dbc_max_pct 2
dbc_min_pct 2
maxdsiz 0X040000000
maxfiles 4096
maxfiles_lim 4096
maxssiz 0X16000000
maxssiz_64bit 0X16000000
maxswapchunks 5000
maxtsiz 0X16000000
maxtsiz_64bit 0X0000000080000000
maxuprc ((NPROC*9)/10)
maxusers 250
maxvgs 80
modstrmax 900
msgmap (MSGTQL+2)
msgmax 32768
msgmnb 65535
msgmni (NPROC)
msgseg (MSGTQL*4)
msgssz 128
msgtql (NPROC*10)
nfile (15*NPROC+2048)
nflocks (NPROC)
ninode (8*NPROC+2048)
nproc ((MAXUSERS*3)+64)
nstrpty 60
nstrtel (MAXUSERS)
nswapdev 25
semmni (NPROC*5)
semmns (SEMMNI*2)
semmnu (NPROC-4)
semume 64
semvmx 32768
shmmax 0X160000000
shmmni 1024
shmseg 64
swapmem_on 0
timeslice 100
unlockable_mem (MAXUSERS*10)

dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 1024000 0 1024000 0% 0 - 0 /dev/vg01/lvoltmp
dev 4194304 0 4194304 0% 0 - 0 /dev/vg01/lvoltmp2
reserve - 1408988 -1408988
total 9412608 1408988 8003620 15% - 0 -

doug mielke
Respected Contributor

Re: not enogh space

...and, I'm not sure it matters, but this, like most of our other Oracle dbases are running on a NAS filer.
Steven E. Protter
Exalted Contributor

Re: not enogh space

Not suer ists a space problem.

Swap isn't bein used at all.

/usr/lib/ Not enough space

Is your SHLIB_PATH in the startup or java script right?

Is java fully patched?


Steven E Protter
Owner of ISN Corporation
Geoff Wild
Honored Contributor

Re: not enogh space

Your shmax seems a bit low - though I don't think it's the issue:

Mine is:

shmmax 0x400000000


maxssiz 0x800000
maxssiz_64bit 0x40000000
maxswapchunks 16384 maxtsiz 0x4000000
maxtsiz_64bit 0x40000000

It does sound like a java problem and/or patches - you sure you have the right java installed?

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
doug mielke
Respected Contributor

Re: not enogh space

uh oh. Am I sure we have the right Java installed?

Certainly not. Every time a DBA/consultant/vendor touches this system, they seem to 'need' a different version, so now, we have many stashed in various places.

I'll start looking at the path.
Honored Contributor

Re: not enogh space


check the permission of the file "/filer/PATO/u01/oracle/product/8.0.5/lib/".

It should have execute permissions (555).

Hope this helps.

Indira Aramandla
Honored Contributor

Re: not enogh space

Hi Doug,

For errors such as /usr/lib/ Call to mmap() failed - TEXT :Not enough space.

Check the SHLIB_PATH as it contains a reference to $ORACLE_HOME/lib. The problem could be due to the dependencies to the system libraries.

Have you relinked the executables after installing software. It is a good custom to relink the executables as part of the installation.

Oracle metalink says there are some issues with on HP system. Check to see if the shared library exists in $ORACLE_HOME/lib. On HP the files are compressed and need to be uncompressed using the utility 'oiuncomp'
% $ORACLE_HOME/orainst/oiuncomp liboci805jdbc.sl_

Check the kernel parameters

I hope this helps.

Indira A

Never give up, Keep Trying
Honored Contributor

Re: not enogh space


it must be related to the settings of your enviroment variables. Maybe you can post or review them them.

No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Kent Ostby
Honored Contributor

Re: not enogh space

The key error appears to be the "errno 8"

ENOEXEC 8 /* Exec format error */

[ENOEXEC] Exec format error. A request is made to execute a file
which, although it has the appropriate permissions,
does not start with a valid magic number (see
a.out(4)), or the file is too small to have a valid
executable file header.

So basically there is something wrong with this file .. do a checksum on it and compare it to the same file on another box if possible.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Ted Buis
Honored Contributor

Re: not enogh space

My read is that the JVM is running out of space. So the default amount of memory available to the JVM is too low. You can invoke more memory when you run JVM, but I don't know where it picks up the defaults if not specified.
Mom 6
Honored Contributor

Re: not enogh space

Hi Doug,

Check the permission on this file "/filer/PATO/u01/oracle/product/8.0.5/lib/"

It should have execute permissions (555).

Hope this helps.

T G Manikandan
Honored Contributor

Re: not enogh space

One of the oracle recommendations is to increase the

if you are running a 64 bit application increase maxdsiz_64.

Bump them to 256 MB.

T G Manikandan
Honored Contributor

Re: not enogh space

Look here the error messages are very clear.

OCI drivers are not available.

you are trying to use oci805jdbc and it is not available in the $ORACLE_HOME/lib or not linked properly.

Get those drivers from the CD and unload them to $ORACLE_HOME/lib