Operating System - HP-UX
1753886 Members
7545 Online
108809 Solutions
New Discussion юеВ

Re: sh: hpvmstatus: not found.

 
SOLVED
Go to solution
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!