Operating System - HP-UX
1752782 Members
6298 Online
108789 Solutions
New Discussion юеВ

Re: sh: hpvmstatus: not found.

 
SOLVED
Go to solution
David Willams
Super Advisor

sh: hpvmstatus: not found.

I have the following installed on my box...

# swlist | grep -i integrity
T2767BC B.04.00 Integrity VM
VMGuestLib B.04.00 Integrity VM Guest Support Libraries
VMProvider B.04.00 WBEM Provider for Integrity VM
[rx26-161]/
# hpvmstatus
sh: hpvmstatus: not found.
[rx26-161]/
# which hpvmstatus
no hpvmstatus in /usr/sbin /usr/bin /usr/ccs/bin /usr/contrib/bin /usr/contrib/Q4/bin /opt/perl/bin /opt/ipf/bin /opt/nettladm/bin /.........

42 REPLIES 42
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# swlist | grep -i vm
Base-VXVM B.4.10.032 Base VERITAS Volume Manager Bundle 4.1 for HP-UX
BaseLVM B.11.31.0709.01 Logical Volume Manager
HostAVIOStor B.11.31.0809 HPVM Host AVIO Storage Software
HostAvioLan B.11.31.0809 HPVM Host AVIO LAN Software
T2767BC B.04.00 Integrity VM
VMGuestLib B.04.00 Integrity VM Guest Support Libraries
VMProvider B.04.00 WBEM Provider for Integrity VM
LVM B.11.31 LVM
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

even Hp SIM is not working

# swlist | grep -i sim
HPSIM-HP-UX C.05.02.02.00.06 HP Systems Insight Manager Server Bundle

# sim
sh: sim: not found.

# what sim
can't open sim (26)
[rx26-161]/
# what hpvminfo
can't open hpvminfo (26)
[rx26-161]/
Dennis Handly
Acclaimed Contributor

Re: sh: hpvmstatus: not found.

>I have the following installed on my box
sh: hpvmstatus: not found.

Do you have hpvmstatus on your box? Is its path in $PATH?

># sim
sh: sim: not found.

Same here.
After you install software, products are suppose to add their paths to /etc/PATH. But to get that to work, you must log back in, or update $PATH manually:
PATH=$PATH:$(< /etc/PATH)
Johnson Punniyalingam
Honored Contributor

Re: sh: hpvmstatus: not found.

check below directory

# cd /opt/hpvm/bin

# ll hpvm*
Problems are common to all, but attitude makes the difference
Asif Sharif
Honored Contributor

Re: sh: hpvmstatus: not found.

Hi David,

#find / -name hpvminfo -print

and then give absolute path & run.

Regards,
Asif Sharif
Regards,
Asif Sharif
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# cd /opt/hpvm/bin
[rx26-161]/opt/hpvm/bin

# ll hpvm*
hpvm* not found
[rx26-161]/opt/hpvm/bin

# PATH=$PATH:$(< /etc/PATH)
[rx26-161]/opt/hpvm/bin

# hpvminfo
sh: hpvminfo: not found.
[rx26-161]/opt/hpvm/bin

# find / -name hpvminfo -print
/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/hpvminfo
[rx26-161]/opt/hpvm/bin

# /opt/hpvm/bin/hpvminfo
sh: /opt/hpvm/bin/hpvminfo: not found.
[rx26-161]/opt/hpvm/bin
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# /var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/hpvminfo
sh: /var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/hpvminfo: Execute permission denied.
[rx26-161]/opt/hpvm/bin
Johnson Punniyalingam
Honored Contributor

Re: sh: hpvmstatus: not found.

cd /var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/

ll hpvm* -> post the Output

Problems are common to all, but attitude makes the difference
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# cd /var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# ll hpvm*
-r-xr-xr-x 1 bin bin 123615 Jul 2 2008 hpvmclone
-r-xr-xr-x 1 bin bin 10862 May 6 2008 hpvmcollect
-r-xr-sr-x 1 root root 310360 Jul 2 2008 hpvmconsole
-r-xr-sr-x 1 root root 89032 Jul 2 2008 hpvmctrld
-r-xr-xr-x 1 bin bin 88312 Jul 2 2008 hpvmdevmgmt
-r-xr-xr-x 1 bin bin 4347 Jun 26 2008 hpvmdevtranslate
-r-xr-xr-x 1 bin bin 2462 Jun 17 2008 hpvmhostrdev
-r-xr-xr-x 1 bin bin 19763 Jul 2 2008 hpvminfo
-r-xr-xr-x 1 bin bin 78868 Jul 2 2008 hpvmnet
-r-xr-xr-x 1 bin bin 36206 Jul 2 2008 hpvmremove
-r-xr-xr-x 1 bin bin 63071 Jul 2 2008 hpvmsar
-r-xr-x--- 1 root root 39666 Jul 2 2008 hpvmstart
-r-xr-xr-x 1 bin bin 114086 Jul 2 2008 hpvmstatus
-r-xr-xr-x 1 bin bin 38288 Jul 2 2008 hpvmstop