When I try to use the Esxupdate command (query specifically) I get "Command Not Found". Even while using elevated priviledges (su) I cannot successfully use the command. Any suggestions?
Thanks in advance,
If you type "ls /usr/sbin/esxupdate" do you get a reply saying "No such file or directory" or does it come back with "/usr/sbin/esxupdate"..
This will let you know if file is actually there or not...
Yeh thats different though Can you run all other commands ok? I'm guessing maybe theres a chance you've corrupted your esxupdate binary...not sure how but thats all i can think of. Are the permissions ok on it? WRX for root etc? If that checks out ok, and thats the only command thats not working for you I'd consider copying the esxupdate binary from one of your other esx servers accross..
As wgardiner pointed out, make sure you type 'su -', the '-' is important. After, esxupdate should work, type 'which esxupdate' to make sure the su updated your path info.
if you login remotely (ssh) and run esxupdate or some other command you must use "su -", you can't run those commands under other users.
if you try login locally as root, you should be able to run esxupdate. if not then it should be other error with esxupdate.
Since the sudo command su with the - simply copies the environment settings you would still be able to run with it using the following.
If that does not work the issue will be with either python or the esxupdate script.
I had been just typing "su" and then the password. When I use su - root, and type in the password, then run the command it works fine.
Thanks for all they help guys.