Page 1 of 1

Issue when trying to install vmware.install.pl

Posted: Mon Jan 02, 2012 9:20 am
by Mark Hoogenkamp
Hello,

I'm advancing a bit with installing and deploying Nagios in my new environment. But i want to monitor my ESX hosts, i've read about installing a file vmware.install.pl.

So i used winscp to get the file on my Nagios server, done. Placed it in the /tmp/ dir. Then logged in the shell with root + my password, cd /tmp/. Then i was heading for the vmware-vpshere-cli-ditrib folder. The i just did what's mentioned, ./vmware.install.pl.

I got the message bash"....." Access Denied..... Quite nice when i was logged on as root....

The instructions that i've been following are mentioned in this topic. The same as mentioned in the nagios exchange topic.

http://blog.vmpros.nl/2010/10/03/vmware ... mware-sdk/

later on i was reading about the fact that i needed to use "su" before installing anything. So i closed the shell, reopened it again, logged on with root + my password. Used "su"but nothing seemed to happen, just another line appeared....

How to proceed with this... Can anybody help me out?

Re: Issue when trying to install vmware.install.pl

Posted: Mon Jan 02, 2012 1:53 pm
by scottwilkerson
try changing the permissions to allow execute

Code: Select all

cd /tmp
chmod +x ./vmware.install.pl
./vmware.install.pl

Re: Issue when trying to install vmware.install.pl

Posted: Tue Jan 03, 2012 2:51 am
by Mark Hoogenkamp
It's still not working for me when trying the solution mentioned above.

See info below.

Re: Issue when trying to install vmware.install.pl

Posted: Tue Jan 03, 2012 10:08 am
by scottwilkerson
Hmmm, we need to find the vmware.install.pl file
Try this

Code: Select all

locate vmware.install.pl
Then cd to that directory and then run

Code: Select all

chmod +x ./vmware.install.pl
./vmware.install.pl

Re: Issue when trying to install vmware.install.pl

Posted: Wed Jan 04, 2012 2:12 am
by Mark Hoogenkamp
The vmware.install.pl is located in cd /tmp/vmware-vsphere.cli-ditrib/vmware-install.pl

But all of the commands won't worked, i get bashed all of the time.

Don't know why i installed all of the stuff myself without any issues... The command "su" is also mentioned "-bash: su: command not found"

Re: Issue when trying to install vmware.install.pl

Posted: Wed Jan 04, 2012 11:09 am
by scottwilkerson
Can you give me a screenshot of what you get when you type

Code: Select all

ls /tmp
and then

Code: Select all

ls /tmp/vmware-vsphere-cli-distrib
Thanks.

Re: Issue when trying to install vmware.install.pl

Posted: Wed Jan 11, 2012 8:25 am
by Mark Hoogenkamp
Okay, will do that.