Operating System - HP-UX
1825578 Members
1388 Online
109682 Solutions
New Discussion

Integrity VM: 'hpvminfo' error mesg . . .

 
MJJ_2
New Member

Integrity VM: 'hpvminfo' error mesg . . .

Has anyone seen this error mesg after runnin 'hpvminfo'?
/usr/lib/hpux64/dld.so: Unable to find library 'libhpvmguest.so'.

The following packages are installed on my iTanium 3600 system:
# PRM-Sw-Gui C.03.02 Process Resource Manager PRM-Sw-Gui product
PRM-Sw-Gui.PRM-GUI C.03.02 HP PRM PRM-GUI fileset
# PRM-Sw-Krn C.01.04 Process Resource Manager PRM-Sw-Krn product
PRM-Sw-Krn.PRM-KRN C.01.04 Process Resource Manager PRM-KRN fileset
# PRM-Sw-Lib C.03.02 Process Resource Manager PRM-Sw-Lib product
PRM-Sw-Lib.PRM-LIB C.03.02 Process Resource Manager PRM-LIB fileset
# vmGuestLib A.02.00.02 Integrity VM vmGuestLib
vmGuestLib.GUEST-LIB A.02.00.02 Integrity VM GUEST-LIB fileset
# vmMigrate A.02.00.02 Integrity VM vmMigrate
vmMigrate.VM-MIG-CORE A.02.00.02 Integrity VM VM-MIG-CORE fileset
# vmProvider A.02.00.02 WBEM Provider for Integrity VM vmProvider
vmProvider.VM-PROV-CORE A.02.00.02 WBEM Provider for Integrity VM VM-PROV-CORE
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Integrity VM: 'hpvminfo' error mesg . . .

Shalom,

Well the library is missing or the DEPOT install is corrupt.

swverify the relavent depots and prepare to swremove and swinstall anew.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sameer_Nirmal
Honored Contributor

Re: Integrity VM: 'hpvminfo' error mesg . . .

The error indicates that the IVM is not installed successfully.

The usual product list for IVM is

1. VMProvider (if installed)

2. T2767AC

3. VMGuestLib

4. VMKernelSW

Check if you have these products installed on the server using swlist and check the installed 'state' as well.
MJJ_2
New Member

Re: Integrity VM: 'hpvminfo' error mesg . . .


# swlist -l fileset -a state |egrep -i 'vmguest|vmkernel|vmprovider'
# vmGuestLib
vmGuestLib.GUEST-LIB configured
# vmKernel
vmKernel.HPVM-KRN configured
# vmProvider
vmProvider.VM-PROV-CORE configured

# swlist -l fileset -a state T2767AC
# Initializing...
# Contacting target "v52host"...
#
# Target: v52host:/
#

# T2767AC
# T2767AC.HPVM
T2767AC.HPVM.HPVM-CORE configured
T2767AC.HPVM.HPVM-VMSGTK configured
# T2767AC.VMAGENT
T2767AC.VMAGENT.VMAGENT-LIB configured
T2767AC.VMAGENT.VMAGENT-RUN configured
MJJ_2
New Member

Re: Integrity VM: 'hpvminfo' error mesg . . .

Found the file in these locs:

# find / -type f -name '*vmguest.so' -print
/var/spool/sw/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux32/libhpvmguest.so
/var/spool/sw/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux64/libhpvmguest.so
/var/depot/virtual/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux32/libhpvmguest.so
/var/depot/virtual/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux64/libhpvmguest.so
/depot.hpvm_guest/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux32/libhpvmguest.so
/depot.hpvm_guest/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux64/libhpvmguest.so
Sameer_Nirmal
Honored Contributor

Re: Integrity VM: 'hpvminfo' error mesg . . .

I am just wondering if you got the server rebooted after IVM installation?
If not reboot it.

I would expect the file to be located or installed under /opt/hpvm/lib/hpux{32/64} if the installation is correct.
MJJ_2
New Member

Re: Integrity VM: 'hpvminfo' error mesg . . .

Hmmm . . . not sure on the reboot . . . inherited the system. Until the reboot, I am thinking I can copy one of the 64 bit files into the appropriate directories. However, the two 64bit library files are not the same size. Thoughts?

-r-xr-xr-x 1 bin bin 51980 Nov 15 21:41 /var/spool/sw/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux32/libhpvmguest.so
-r-xr-xr-x 1 bin bin 53824 Nov 15 21:41 /var/spool/sw/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux64/libhpvmguest.so
-r-xr-xr-x 1 root root 18821 Nov 3 21:16 /var/depot/virtual/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux32/libhpvmguest.so
-r-xr-xr-x 1 root root 18412 Nov 3 21:16 /var/depot/virtual/vmGuestLib/GUEST-LIB/opt/hpvm/lib/hpux64/libhpvmguest.so
Sameer_Nirmal
Honored Contributor

Re: Integrity VM: 'hpvminfo' error mesg . . .

I would first check the installed files of the vmGuestLib product as well as other products using swlist -l file command. That way you would know where the products got installed. Check the install log under /opt/hpvm or in /var/opt/hpvm

Do you see the product files under /var/opt/hpvm and /opt/hpvm and only this lib file missing ?

You can try copying the lib files from the /var/spool. However the question of the IVM product instalaltion consistency remains.
MJJ_2
New Member

Re: Integrity VM: 'hpvminfo' error mesg . . .

Until I can get the system during a maintenance window, I'm not going to try copying any files arount. There is already a Guest host on the system and it is running fine. The command 'hpvminfo' is the only command (so far) that spewed "no-joy".

I agree, the install is suspect, but I also don't know if the system was rebooted after the virtual packages were installed. From looking around, it seems like the vmGuest package is installed - but not completely.

# ls /opt/hpvm/bin
hpvmclone hpvmconsole hpvmctrld hpvminfo hpvmmodify hpvmremove hpvmstatus vm_fssagt
hpvmcollect hpvmcreate hpvmdevmgmt hpvmmigrate hpvmnet hpvmstart hpvmstop

# ls /var/opt/hpvm
ISO-images backups common guests hpvmnet uuids uuids_bad

# swlist -l file |grep -i vmguest
# vmGuestLib A.02.00.02 Integrity VM vmGuestLib
# vmGuestLib.GUEST-LIB A.02.00.02 Integrity VM GUEST-LIB fileset
vmGuestLib.GUEST-LIB: /opt/hpvm/lib/hpux32/libhpvmguest.so
vmGuestLib.GUEST-LIB: /opt/hpvm/lib/hpux64/libhpvmguest.so
vmGuestLib.GUEST-LIB: /s# ll -L /opt/hpvm/lib/hpux32/libhpvmguest.so /opt/hpvm/lib/hpux64/libhpvmguest.so /sbin/init.d>
/opt/hpvm/lib/hpux32/libhpvmguest.so not found
/opt/hpvm/lib/hpux64/libhpvmguest.so not found
-r-xr-xr-x 1 bin bin 1379 Nov 3 21:16 /sbin/init.d/hpvmguestlib
-r-xr-xr-x 1 bin bin 1379 Nov 3 21:16 /sbin/rc3.d/S829hpvmguestlib
bin/init.d/hpvmguestlib
vmGuestLib.GUEST-LIB: /sbin/rc3.d/S829hpvmguestlib