1753963 Members
7381 Online
108811 Solutions
New Discussion юеВ

call to mmap() failed

 
Santosh Kumar Lal
New Member

call to mmap() failed

Hi,

I am using one transformation A_MCD of firstlogic and getting the following error.

"MAPPING> EXP_19142 [Server Config Flag] AggregateTreatNullAsZero is on.
MAPPING> Fri Jan 21 12:05:28 2005
MAPPING> EP_13008 Cannot load external module.
EP_13008 [/var/informatica/firstlogic/libMCD_CX_Link.sl: Call to mmap() failed - TEXT /var/informatica/firstlogic/libMCD_CX_Link.sl]
MAPPING> Fri Jan 21 12:05:28 2005
MAPPING> EP_13007 Cannot create external module manager.
MAPPING> Fri Jan 21 12:05:28 2005
MAPPING> EP_13003 Cannot prepare common external procedure information.
EP_13003 [A_MCD1]
MAPPING> Fri Jan 21 12:05:28 2005
MAPPING> EP_13005 Cannot initialize Informatica-style external procedure.
EP_13005 [A_MCD1]
MAPPING> Fri Jan 21 12:05:28 2005
MAPPING> TE_7017 Failed to Initialize Server Transformation A_MCD1
"

Can anyone let me know any kind of solution for this. TIA.

Rgds,
Santosh
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: call to mmap() failed

First check that the file /var/informatica/firstlogic/libMCD_CX_Link.sl exists and has correct permissions. A quirk of HP-UX is that shared library code not only requires read permission but also execute permission.

Next, you are probably hitting a maxdsiz (or maxdsiz_64bit if this is 64-bit code) limit. Increase these and build a new kernel. Maxdsiz_64bit must be greater than or equal to maxdsiz. You might also be running out of virtual memory and need more swap space.
If it ain't broke, I can fix that.
Santosh Kumar Lal
New Member

Re: call to mmap() failed

Hi Clay,

777 permission has been given to all the shared libraries(*.sl) but we are using HPUX-32 bit not HPUX-64 bit.

So, could you please suggest any relevant solution for this.

TIA.

Rgds,
Santosh
A. Clay Stephenson
Acclaimed Contributor

Re: call to mmap() failed

In that case, your next step is to use sam to increase maxdsiz and create a new kernel. Even though this is 32-bit code you must make certain that maxdsix_64bit is larger than maxdsiz. Also check maxssiz and maxtsiz and make certain that their 64bit cousins exceed their 32-bit counterparts as well.
If it ain't broke, I can fix that.