Operating System - HP-UX
1753796 Members
6771 Online
108799 Solutions
New Discussion юеВ

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

 
SOLVED
Go to solution
Mohamed AbdelMoneim
Honored Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

Hi..
I can log to single user mode with out any problem..
can provide me with the details of how to fix the problem.
because swverify -F /* not wotk in single user mode
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

>can provide me with the details of how to fix the problem.

I already mentioned:
mount /usr and then use /sbin/chmod to fix those files/directories.
Mohamed AbdelMoneim
Honored Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

Dear,
Thank you again.
but i am asking about the permissions i should correct to make this problem solved.
Dennis Handly
Acclaimed Contributor
Solution

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

>I am asking about the permissions I should correct to make this problem solved.

As MK said, the files and directories need to all be: r-xr-xr-x, bin:bin.

Once you get the permissions right, and you get out of single user mode, you can use swverify.
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

The most important thing to do now is to check the current permissions of the files/directory so we can make sure our assumptions are correct about permissions.
/sbin/ls -ld / /usr usr/lib /usr/lib/hpux32
/sbin/ls -ld /usr/lib/hpux32/uld.so /usr/lib/hpux32/dld.so
Mohamed AbdelMoneim
Honored Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

Hi again.
I check the permission and it is all right as mentioned !
what is to do ?
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

>I check the permission and it is all right as mentioned!

Please list all of them so we can make sure.
Also do:
/sbin/ls -ld /usr/lib/hpux32/*uld.so* /usr/lib/hpux32/*dld.so*

These two files must be in sync.
Unfortunately we can't run cksum so we can make sure the files aren't corrupted.
Mohamed AbdelMoneim
Honored Contributor

Re: /usr/lib/hpux32/uld.so: Mmap failed due to errno: 13

the permission as follow
-r-xr-xr-x bin:bin for all
/
/usr/lib
/usr/lib/hpux64
/usr/lib/hpux64/uld.so
/usr/lib/hpux64/dld.so