Operating System - HP-UX
1834287 Members
2271 Online
110066 Solutions
New Discussion

Can't run modprpw in single user mode

 
SOLVED
Go to solution
Matt Rutledge
Occasional Contributor

Can't run modprpw in single user mode

I am working with HP-UX 11.23 on a rx3600. The server is booted into single user mode to change the root password. The /usr and /var filesystems have been mounted, but when I try
# /usr/lbin/modprpw -k root
it returns the following error
/usr/lib/hpux32/dld.so: Unable to find library 'libxti.so.l'.
Killed

Any advice would be helpful.
7 REPLIES 7
Jaime Bolanos Rojas.
Honored Contributor

Re: Can't run modprpw in single user mode

Matt,

My simple solution: do a mount -a to mount everything and see if the system is able to find the library that is missing!

Regards,

Jaime.
Work hard when the need comes out.
Matt Rutledge
Occasional Contributor

Re: Can't run modprpw in single user mode

The last time I booted I tried a mount -a and the server hung during the process.
Doug Burton
Respected Contributor

Re: Can't run modprpw in single user mode

Try mounting only the filesystem needed. You probably have some filesystems off a SAN or some such thing that isn't "connected" yet.
Peter Nikitka
Honored Contributor
Solution

Re: Can't run modprpw in single user mode

Hi,

you need /opt mounted as well:

root@hp1[265] ldd /usr/lbin/modprpw
libsec.so.1 => /usr/lib/hpux32/libsec.so.1
libnsl.so.1 => /usr/lib/hpux32/libnsl.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libxti.so.1 => /usr/lib/hpux32/libxti.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
root@hp1[266] ls -l /usr/lib/hpux32/libxti.so.1
lrwxr-xr-x 1 root sys 54 May 24 09:54 /usr/lib/hpux32/libxti.so.1 -> /opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Matt Rutledge
Occasional Contributor

Re: Can't run modprpw in single user mode

Thanks to everyone. You were on the right track, but /opt was the necessary filesystem missing. Appreciate the help Peter.
Matt Rutledge
Occasional Contributor

Re: Can't run modprpw in single user mode

Thread Closed
Dennis Handly
Acclaimed Contributor

Re: Can't run modprpw in single user mode

Why run modprpw? Just use /sbin/passwd.
(I don't think it works trusted?)