Operating System - HP-UX
1833582 Members
3620 Online
110061 Solutions
New Discussion

Re: /usr/lib/dld.sl: Permission denied

 
Srivania
Occasional Advisor

/usr/lib/dld.sl: Permission denied

Hello

While installing jdk1.5 on HPUX operating system the following error is thrown.

/usr/lib/dld.sl: Call to mmap() failed - TEXT /home/user1/../../jre/lib/PA_RISC2.0/server/libjvm.sl

/usr/lib/dld.sl: Permission denied

Can anyone please point me where the problem is?

Thanks in advance.
13 REPLIES 13
Ivan Krastev
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

Check the permissions on parrent dir - /usr/lib/ .

# ll -d /usr/lib/
dr-xr-xr-x 44 bin bin 12288 Aug 17 09:39 /usr/lib/

regards,
ivan
Srivania
Occasional Advisor

Re: /usr/lib/dld.sl: Permission denied

Thanks for the reply. Below is the permissions value


[13] % ll -d /usr/lib
dr-xr-xr-x 41 bin bin 12288 Nov 14 2005 /usr/lib


Do I need any modifications for permissions to proceed?
Ivan Krastev
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

Check and the perms of file.

ll /usr/lib/dld.sl
-r-xr-xr-x 1 bin bin 258048 Mar 24 09:02 /usr/lib/dld.sl

read and execute from all.

ivan
Srivania
Occasional Advisor

Re: /usr/lib/dld.sl: Permission denied

Yes, I have read and execute permission even for /usr/lib/dld.sl .

[21] % ll /usr/lib/dld.sl
-r-xr-xr-x 1 bin bin 188416 Jul 17 2002 /usr/lib/dld.sl


Is this related to memory issue?
Srivania
Occasional Advisor

Re: /usr/lib/dld.sl: Permission denied

I am getting the above mentioned error on HPUX B.11.11 version and trying to install jre 1.5.0.02 . Some of the links from forum suggested to install patches. Can you please point out the links where they are available and the exact patch information.

Thanks.
Arunvijai_4
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

Hi Srivania,

Have you installed recommended patches prior to installing JDK 1.5 ? it is important to patch your system and continue with installation.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ivan Krastev
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

V. Nyga
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

Hi,

have you checked this site:
http://h18012.www1.hp.com/java/patches/index.html

from Ivan's link - you should go to the latest patch: PHSS_33037

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Srivania
Occasional Advisor

Re: /usr/lib/dld.sl: Permission denied

Thanks all of you for the information. I'll get back you after I am done with installation of patch.
ranganath ramachandra
Esteemed Contributor

Re: /usr/lib/dld.sl: Permission denied

make sure that the library in question has the proper permissions (at least 555). it seems that you have a copy of it under a user's home directory. if you had got it there by ftp, chances of wrong permissions are high.

if its a problem of file permissions, i dont think the latest linker/loader patch will help.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Srivania
Occasional Advisor

Re: /usr/lib/dld.sl: Permission denied

The required patch is installed. Still getting Permission denied error, but this time for another file.


Cannot exec - /home/../../jre/bin/PA_RISC2.0/java
execvp(): Permission denied


By changing jre/bin/PA_RISC2.0/java to 555, getting old error

(usr/lib/dld.sl: Call to mmap() failed - TEXT /home/user1/../../jre/lib/PA_RISC2.0/server/libjvm.sl

/usr/lib/dld.sl: Permission denied) .

And /usr/lib/dld.sl have 555 by default.

Could you please suggest me where the problem lies?
ranganath ramachandra
Esteemed Contributor

Re: /usr/lib/dld.sl: Permission denied

dld.sl is reporting an error about the library libjvm.sl, so you should check whether libjvm.sl has the correct permissions.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Victor Fridyev
Honored Contributor

Re: /usr/lib/dld.sl: Permission denied

Hi,

It looks like some of applications tries to use 64 bit library from 32 bit environment or vice verse.
Check all libraries with chatr command.

HTH
Entities are not to be multiplied beyond necessity - RTFM