Operating System - HP-UX
1852320 Members
3386 Online
104065 Solutions
New Discussion

Re: Library error while running onlinwDiag tool.

 
Rajesh SB
Esteemed Contributor

Library error while running onlinwDiag tool.

Hi Experts,

One of the ia64 hp rx2620 server installed with HPUX 11.23.

I am not able to run "stm" or "cstm". If I run following error is appearing

# stm
/usr/lib/hpux32/dld.so: Unable to find library 'libdiagpg.sl'.
/usr/bin/stm[25]: 2872 Killed

Can you guys pour some light on this problem.

Thanks & Regards,
Rajesh



8 REPLIES 8
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

Find the location of this library in your system.

find / -name libdiagpg.sl

Then add this in your LD_LIBRARY_PATH and SH_LIB_PATH
Vibhor Kumar Agarwal
Rajesh SB
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

Hi,

I followed the steps, but not helped still the same problem is apearing.

# export SHLIB_PATH=$SHLIB_PATH:/usr/sbin/stm/lib


Any other way guys :-(

Regards,
Rajesh
Bill Hassell
Honored Contributor

Re: Library error while running onlinwDiag tool.

I would re-install the diagnostics again. The diagnostics seem to have had more problems with installation than other products in past years.


Bill Hassell, sysadmin
Rajesh SB
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

Hi,

Thanks for quick response.

Do you guys recomend re-install by setting re-install option in the "swinstall".

OR

Clean Uninstall and Install.

Regards,
Rajesh
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

If you have the library on your machine and added it to

LD_LIBRARY_PATH_64

then it should be available.
Vibhor Kumar Agarwal
Rajesh SB
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

Hi,

I tried following

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/sbin/stm/lib/
# cstm
/usr/lib/hpux32/dld.so: Unable to find library 'libdiagpg.sl'.
/usr/sbin/cstm[24]: 1983 Killed
# export LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64:/usr/sbin/stm/lib/
# cstm
/usr/lib/hpux32/dld.so: Unable to find library 'libdiagpg.sl'.
/usr/sbin/cstm[24]: 1986 Killed

Didn't work. I go for re-installation.

Thanks for your prompt response.

Regards,
RAjesh
Bill Hassell
Honored Contributor

Re: Library error while running onlinwDiag tool.

I would just set the reinstall option. That will fix any missing files and correct any permission problems.


Bill Hassell, sysadmin
Rajesh SB
Esteemed Contributor

Re: Library error while running onlinwDiag tool.

Hi Guys,

I reinstalled the OnlineDiag product, working fine. No troubleshooting helped.

Thanks for your valueable response.

Regards,
Rajesh