cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
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
Johnson Punniyalingam
Honored Contributor

Re: sh: hpvmstatus: not found.

>>sh: /var/POC/HPVM/HPVM-CORE/opt/hpvm/bin/hpvminfo: Execute permission denied.<<

run commands has privildge user account "root"
Problems are common to all, but attitude makes the difference
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

yes I am logged in as root...

# whoami
root
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# chmod 777 *
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# ll
total 2080
-rwxrwxrwx 1 bin bin 123615 Jul 2 2008 hpvmclone
-rwxrwxrwx 1 bin bin 10862 May 6 2008 hpvmcollect
-rwxrwxrwx 1 root root 310360 Jul 2 2008 hpvmconsole
-rwxrwxrwx 1 root root 89032 Jul 2 2008 hpvmctrld
-rwxrwxrwx 1 bin bin 88312 Jul 2 2008 hpvmdevmgmt
-rwxrwxrwx 1 bin bin 4347 Jun 26 2008 hpvmdevtranslate
-rwxrwxrwx 1 bin bin 2462 Jun 17 2008 hpvmhostrdev
-rwxrwxrwx 1 bin bin 19763 Jul 2 2008 hpvminfo
-rwxrwxrwx 1 bin bin 78868 Jul 2 2008 hpvmnet
-rwxrwxrwx 1 bin bin 36206 Jul 2 2008 hpvmremove
-rwxrwxrwx 1 bin bin 63071 Jul 2 2008 hpvmsar
-rwxrwxrwx 1 root root 39666 Jul 2 2008 hpvmstart
-rwxrwxrwx 1 bin bin 114086 Jul 2 2008 hpvmstatus
-rwxrwxrwx 1 bin bin 38288 Jul 2 2008 hpvmstop
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# hpvminfo
sh: hpvminfo: not found.
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# ./hpvminfo
sh: ./hpvminfo: Execute permission denied.
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
Johnson Punniyalingam
Honored Contributor

Re: sh: hpvmstatus: not found.

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

./hpvminfo
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: sh: hpvmstatus: not found.

hmmm..

ok, let's try

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

Re: sh: hpvmstatus: not found.

# ./hpvmstart
sh: ./hpvmstart: Execute permission denied.
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# ./hpvmclone
sh: ./hpvmclone: Execute permission denied.
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
# ./hpvmstop
sh: ./hpvmstop: Execute permission denied.
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
#


Not sure why.... none of them are working
Torsten.
Acclaimed Contributor

Re: sh: hpvmstatus: not found.

Hi David,

if you attempt to instal HPVM and SIM on a server, the installation will fail.

You must not install both!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

Ohhh... I am not sure why SIM on a server will not work with HPVM...

I thought SIM is to manage VM's and others...

But I used swremove to SIM.. but it did not work..

I still have SIM

# swlist | grep -i sim
HPSIM-HP-UX C.05.02.02.00.06 HP Systems Insight Manager Server Bundle
HPUXExtns-SCh B.11.31 Simplified Chinese font, input methods and printer extensions
HPUXMsgs-SCh B.11.31 Minimum and Essential HP-UX Simplified Chinese Language Message Catalogs
PRMSIMTools C.03.04 HP PRM Web GUI SIM Integration Files
[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
#
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

# tail -50 /var/adm/sw/swagent.log
* The fileset "VSEGLIB-CMS.GLIB-APP,l=/,r=A.02.00.11.33"
requires the selected fileset
"SysMgmtDB.SMPGSQL-SHA,l=/opt/hpsmdb/pgsql,r=A.01.00-7.4.2.008"
as a prerequisite.
* The software "SysMgmtServer.MX-CORE,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
* The software "SysMgmtServer.MX-ENG-MAN,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
* The software "SysMgmtServer.MX-JBOSS,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
* The software "SysMgmtServer.MX-JRE,l=/,r=C.05.02.02.00.06" has
previous analysis errors.
* The software "SysMgmtServer.MX-REPO,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
* The software "SysMgmtServer.MX-PORTAL,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
* The software "SysMgmtServer.MX-TOOLS,l=/,r=C.05.02.02.00.06"
has previous analysis errors.
ERROR: The dependencies for fileset
"SysMgmtDB.SMPGSQL-SHA,l=/opt/hpsmdb/pgsql,r=A.01.00-7.4.2.008"
cannot be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
NOTE: Could not remove the bundle
"HPSIM-HP-UX,l=/,r=C.05.02.02.00.06" because not all of its
filesets could be removed.

* Summary of Analysis Phase:
ERROR: Exclude SysMgmtServer.MX-CMS,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-CORE,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-ENG-MAN,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-JBOSS,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-PORTAL,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-REPO,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-JRE,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-TOOLS,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtServer.MX-CORE-ARCH,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtAgent.MX-AGENT,l=/,r=C.05.02.02.00.06
ERROR: Exclude SysMgmtDB.SMPGSQL-LIB,l=/opt/hpsmdb/pgsql,r=A.01.00-7.4.2.008
ERROR: Exclude SysMgmtDB.SMPGSQL-RUN,l=/opt/hpsmdb/pgsql,r=A.01.00-7.4.2.008
ERROR: Exclude SysMgmtDB.SMPGSQL-SHA,l=/opt/hpsmdb/pgsql,r=A.01.00-7.4.2.008
ERROR: 13 of 13 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 12/11/09 05:26:08 EST END remove AGENT SESSION (Canceled)
(pid=23532)

[rx26-161]/var/POC/HPVM/HPVM-CORE/opt/hpvm/bin
#
Torsten.
Acclaimed Contributor

Re: sh: hpvmstatus: not found.

>> Ohhh... I am not sure why SIM on a server will not work with HPVM...



This is what the manual says.

However, the configure script will exclude HPVM if SIM is installed, at least some parts.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

How do I uninstall sim now... Ahh looks like I am in trouble..

My task is to create hpvm's...

I do not want SIM now... may be later

How to make hpvmcreate work..
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

how do i remove SIM
Torsten.
Acclaimed Contributor

Re: sh: hpvmstatus: not found.

If you see a line like this

The fileset "VSEGLIB-CMS.GLIB-APP,l=/,r=A.02.00.11.33"
requires the selected fileset

You need to remove this product too.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: sh: hpvmstatus: not found.

not sure what is worng with my system

nothing seems to be working

# swlist| grep -i ignite
IGNITE C.7.7.93 HP-UX Installation Utilities (Ignite-UX)
[rx260-16]/
# ignite
sh: ignite: not found.
[rx260-16]/
# which ignite
no ignite in /usr/sbin /usr/bin /usr/ccs/bin
Torsten.
Acclaimed Contributor

Re: sh: hpvmstatus: not found.

IMHO you have a problem with PATH.

What shell are you using?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!