LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-16-2014, 04:13 AM   #1
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Rep: Reputation: 22
Post ESXi 4 commands.


Hello Folks.
I use SSH for loggin to the ESXi and when I want to run Available Commands, ESXi tell me that command not found!!!
I use "su" command to become root but commands not worked.

[mohsen@ESXHost0 ~]$ esxcli
-bash: esxcli: command not found
[mohsen@ESXHost0 ~]$ su
Password:
[root@ESXHost0 mohsen]# esxcli
bash: esxcli: command not found
[root@ESXHost0 mohsen]#


How can I solve it?
 
Old 11-16-2014, 03:16 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jokar.mohsen View Post
Hello Folks.
I use SSH for loggin to the ESXi and when I want to run Available Commands, ESXi tell me that command not found!!! I use "su" command to become root but commands not worked.

[mohsen@ESXHost0 ~]$ esxcli
-bash: esxcli: command not found
[mohsen@ESXHost0 ~]$ su
Password:
[root@ESXHost0 mohsen]# esxcli
bash: esxcli: command not found
[root@ESXHost0 mohsen]#

How can I solve it?
You can 'solve it' by either running the find command to locate the path where escxli is stored, or using the locate command. Again, things that a systems/network administrator with more than five years experience should know. And (as with RHEL), ESXi is NOT FREE, and if you're using it, you need to be PAYING FOR IT, which would then let you CALL ESX SUPPORT. Did you do that?
 
Old 11-16-2014, 04:43 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by jokar.mohsen View Post
How can I solve it?
Like TB0ne said find out where the command resides, (the rest like calling VMware support, is completely and utterly unnecessary). The command should be in /usr/bin, so either prefix the path or export a sane PATH envvar. Something like 'export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' should do. Make it stick by adding it to your shell resource file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen or ESXi? Tadaen Linux - Virtualization and Cloud 22 05-06-2015 12:29 AM
[SOLVED] Using dual NIC in ESXi 4.1 moyorakkhi Linux - Server 2 10-19-2011 12:14 AM
LXer: Upgrade/Migrate VMware ESX/ESXi 4.x To ESXi 5.0 LXer Syndicated Linux News 0 09-11-2011 03:10 PM
RAID card for vmware esxi, and some other esxi questions JustinHoMi Linux - Enterprise 1 06-04-2010 03:57 PM
[SOLVED] I need passwd or license for esxi eng Linux - Virtualization and Cloud 1 10-17-2009 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration