Operating System - HP-UX
1753320 Members
6361 Online
108792 Solutions
New Discussion юеВ

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

 
SOLVED
Go to solution
dictum9
Super Advisor

Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library


rx2620 running 11.23

At the console, using dumb terminal, after trying to log in as root, hit enter and get this. So never actually log in. Doesn't even boot up, any idea what to do?
The last thing I did before reboot, I installed Mirror-UX.


/usr/lib/hpux32/dls.so: Unable to find library 'libxti.so.1'
11 REPLIES 11
Robert Salter
Respected Contributor
Solution

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

Can you boot into single user? Then see if you can mount /usr, and the other root file systems. If everything mounts okay, edit the /etc/fstab and comment out any non root file systems and try going to run level 2 and see if you can log in normally. And trouble shoot the missing library file. Might be missing a link.
Time to smoke and joke
dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

I got it into single user mode... troubleshooting why it cannot find the library.



# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 311384 731488 30% /
/dev/vg00/lvol1 1540096 160464 1368960 10% /stand
/dev/vg00/lvol4 1048576 153408 888208 15% /tmp
/dev/vg00/lvol8 16777216 8658544 8060112 52% /var
/dev/vg00/lvol7 8404992 2650704 5709360 32% /usr
/dev/vg00/lvol6 4194304 585720 3580464 14% /opt
/dev/vg00/lvol5 10485760 4376368 6061672 42% /home
#
# ksh
/usr/lib/hpux32/dld.so: Unable to find library 'libxti.so.1'.
Killed
#

dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

No idea why it cannot find the library, it's on the system.
Could it be the path to to it is not correct?



# find / -name libxti.so.1 -print
/home/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
/home/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
/usr/lib/hpux32/libxti.so.1
/usr/lib/hpux64/libxti.so.1
/var/adm/sw/save_custom/PHNE_33732/usr/lib/hpux32/libxti.so.1
/var/adm/sw/save_custom/PHNE_33732/usr/lib/hpux64/libxti.so.1
/var/adm/sw/save/PHKL_31500/STREAMS-64SLIB/usr/lib/hpux64/libxti.so.1
/var/adm/sw/save/PHKL_31500/STREAMS-MIN/usr/lib/hpux32/libxti.so.1
/var/adm/sw/save/PHNE_33732/STREAMS-64SLIB/opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
/var/adm/sw/save/PHNE_33732/STREAMS-MIN/opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
/var/adm/sw/save/PHNE_36575/STREAMS-64SLIB/opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
/var/adm/sw/save/PHNE_36575/STREAMS-MIN/opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
#

James R. Ferguson
Acclaimed Contributor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

Hi:

On a rx2660 running 11.23 I show:

# find /usr /opt \( -type f -o -type l \) -name libxti.so.1 -exec ls -l {} +
-r-xr-xr-x 1 bin bin 302908 Jan 4 2008 /opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
-r-xr-xr-x 1 bin bin 312440 Jan 4 2008 /opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
lrwxr-xr-x 1 root sys 54 Sep 9 10:33 /usr/lib/hpux32/libxti.so.1 -> /opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
lrwxr-xr-x 1 root sys 54 Sep 9 10:38 /usr/lib/hpux64/libxti.so.1 -> /opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1


...which means that you need to have '/opt' mounted.

The library (if missing on your server) was last updated (delivered) by PHNE_36575:

# swlist -l file|grep libxti.so.1
PHKL_31500.STREAMS-64SLIB: /usr/lib/hpux64/libxti.so.1
PHKL_31500.STREAMS-MIN: /usr/lib/hpux32/libxti.so.1
PHNE_36575.STREAMS-64SLIB: /opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
PHNE_36575.STREAMS-MIN: /opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
Streams.STREAMS-64SLIB: /opt/star-ncf-prod/ep_patch/usr/lib/hpux64/libxti.so.1
Streams.STREAMS-64SLIB: /usr/lib/hpux64/libxti.so.1
Streams.STREAMS-MIN: /opt/star-ncf-prod/ep_patch/usr/lib/hpux32/libxti.so.1
Streams.STREAMS-MIN: /usr/lib/hpux32/libxti.so.1


What patching have you done? Did you install without enforcing dependency checking? (I hope not).

Regards!

...JRF...
dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library


#
# find /opt /usr -name libxti.so.1 -exec "ls -l" {} \;
# find /opt /usr -name libxti.so.1 -print
/usr/lib/hpux32/libxti.so.1
/usr/lib/hpux64/libxti.so.1
#
dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

I installed Mirror-UX using reinstall=true

without it, it wasn't going to install Mirror-UX.
dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library


#
# swlist -l file | grep libxti.so.1
2010-02-01-20:06:25.804+00:00I----- PID#243 ERROR rpc general dceipv6.c 52 0x7fffdb14 Cannot create socket
ERROR: Could not contact host "unknown" because of an invalid
protocol sequence. Protocol sequences are specified with the
"-x rpc_binding_info" option. Make sure this option is
specified correctly.
ERROR: More information may be found in the daemon logfile on this
target (default location is unknown:/var/adm/sw/swagentd.log).
#

James R. Ferguson
Acclaimed Contributor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library

Hi (again):

> Cannot create socket

You need networking up to use the SD tools:

Why did you choose to reinstall MirrorDisk/UX?

You might try doing:

# swverify \*

...and look for errors.

Regards!

...JRF...
dictum9
Super Advisor

Re: Unable to log in: /usr/lib/hpux32/dls.so: Unable to find library


# swverify \*

======= 02/01/10 15:27:05 EST BEGIN swverify SESSION
(non-interactive) (jobid=saptstap-0184)

* Session started for user "root@saptstap".

* Beginning Selection
2010-02-01-20:27:05.256+00:00I----- PID#280 ERROR rpc general dceipv6.c 52 0x7fffdae4 Cannot create socket
ERROR: Could not contact host "saptstap" because of an invalid
protocol sequence. Protocol sequences are specified with the
"-x rpc_binding_info" option. Make sure this option is
specified correctly.
* Target connection failed for "saptstap:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
saptstap:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 02/01/10 15:27:05 EST END swverify SESSION (non-interactive)
(jobid=saptstap-0184)