1833494 Members
2696 Online
110052 Solutions
New Discussion

Re: Call to mmap failed.

 
Johan den Boer
Occasional Contributor

Call to mmap failed.

Hi,

Does anyone know what the error message below
means.

I checked the permissions and everyone has
read and access rights.

Thanks

Error loading /opt/var/verkoop/alg/a9300000.gnt, errno = 13
/usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/var/verkoop/alg/a9300000.gnt
/usr/lib/dld.sl: Permission denied
3 REPLIES 3
Magdi KAMAL
Respected Contributor

Re: Call to mmap failed.

Hi Johan,


I have got errors since installing hp-ux 11.0 with the mmap() function, and the reason was that the swap space was small.

Verify weather the following formula on your system match :

swap space = 3 * Physical memory.

Magdi

Erich Noll_1
Occasional Advisor

Re: Call to mmap failed.

The file you're trying to mmap() is not open for read access or the file does not have execute permission for the user of the process trying to perform the mmap() .

See the mmap() man page, in the ERRORS section as well as /usr/include/sys/errno.h

HTH
"It's better to remain silent and be thought a fool than to speak and remove all doubt" - Samuel Clemens