Operating System - HP-UX
1833788 Members
2651 Online
110063 Solutions
New Discussion

dld.sl permission denied message

 
Bob Moore_1
Advisor

dld.sl permission denied message

I'm trying to get unidata to run correctly on this system and when i try to run the udt process i get the following message:
/usr/lib/dld.sl: Call to mmap() failed - TEXT /ud/unidata-5.2.29/lib/libodbc.sl
/usr/lib/dld.sl: Permission denied
I've compared the the perms of the files it's complaining about to other working systems, and they are all correct.

Any help would be greatly appreiciated.

Thanks,
Bob Moore
4 REPLIES 4
John Poff
Honored Contributor

Re: dld.sl permission denied message

Hi,

How much memory does this system have compared to your other working systems? Also, how do the kernel parameters compare? What does 'swapinfo' report on this box?

You could be running out of swap space and or memory.

JP
James Murtagh
Honored Contributor

Re: dld.sl permission denied message

Hi Bob,

In this kind of problem you would ideally use tusc to trace the process. Look for the last open() before the mmap fails, or track back using the file descriptor - this should show the file that is causing the problem. Also remember the userid on the system may not have the same priveldges/access rights than on the working system.

If you don't have tusc installed it is available here:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.3/

Regards,

James.
T G Manikandan
Honored Contributor

Re: dld.sl permission denied message

The error is sure of a permission problem.

You need to also check the directory level permissions.

It should be
$ ll -d /
drwxr-xr-x 45 root root 2048 Nov 8 12:34 /
$ ll -d /lib
dr-xr-xr-x 4 bin bin 1024 Oct 23 12:11 /lib
$ ll -d /lib/dld.sl
-r-xr-xr-x 1 bin bin 69632 Nov 17 1994 /lib/dld.sl
Steve Steel
Honored Contributor

Re: dld.sl permission denied message

Hi


Could be the the file you try to mmap() does not have either read access or execute permission for the user of the process trying to perform the mmap() .

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

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)