Quantcast
Channel: VMware Communities : Discussion List - VMware ESXi 5
Viewing all articles
Browse latest Browse all 20614

esxcli doesn`t connect to ESXi5-Host

$
0
0

Hi,

 

i`m running five ESXi5-Hosts with two SANs. Now i wan`t to get these hosts and the SAN into our monitoringsystem, which wouldn`t be a big problem.

 

Buuut: The esxcli-Command only works on one of these hosts, esxcli always tells me "permission denied". The

 

Here`s the output from a working one:

[root@file trapperscripts]# esxcli -s 192.168.195.92 -u zabbix -p XYZ storage filesystem list
Mount Point                                        Volume Name     UUID                                 Mounted  Type             Size           Free
-------------------------------------------------  --------------  -----------------------------------  -------  ------  -------------  -------------
/vmfs/volumes/4f0dbbf9-3265d900-7efb-a0369f00ff01  SAN2Vol1  4f0dbbf9-3265d900-7efb-a0369f00ff01     true  VMFS-5  2198754820096   607381356544
/vmfs/volumes/4f0dbc6f-2c8583a4-ecd0-a0369f00ff01  SAN2Vol3  4f0dbc6f-2c8583a4-ecd0-a0369f00ff01     true  VMFS-5  2198754820096   230044991488
/vmfs/volumes/4fa92bef-d6a3cbd5-7368-001b21a40315  SAN2Vol5  4fa92bef-d6a3cbd5-7368-001b21a40315     true  VMFS-5  2684086124544  1021887643648
/vmfs/volumes/4fa92c42-f7c296db-f8c6-001b21a40315  SAN2Vol6  4fa92c42-f7c296db-f8c6-001b21a40315     true  VMFS-5  2713077153792  1226772054016
/vmfs/volumes/4f4e8da8-137f8c40-b93a-00221968b54b  DSVol1  4f4e8da8-137f8c40-b93a-00221968b54b     true  VMFS-5  1491695828992   114039980032
/vmfs/volumes/4f0dbc86-91f7904c-cf97-a0369f00ff01  SAN2Vol4  4f0dbc86-91f7904c-cf97-a0369f00ff01     true  VMFS-5  1498675150848   326670221312
/vmfs/volumes/4f0dbc18-a16dc0a4-f65f-a0369f00ff01  SAN2Vol2  4f0dbc18-a16dc0a4-f65f-a0369f00ff01     true  VMFS-5  2198754820096   466522996736
/vmfs/volumes/4f4e8db1-616187d2-b1bf-00221968b54b                  4f4e8db1-616187d2-b1bf-00221968b54b     true  vfat       4293591040     4261543936
/vmfs/volumes/e9e97077-ad87be23-7f88-984534c6e3b2                  e9e97077-ad87be23-7f88-984534c6e3b2     true  vfat        261853184      128212992
/vmfs/volumes/ff64a476-939a18ca-2d8b-a1d5b25b5641                  ff64a476-939a18ca-2d8b-a1d5b25b5641     true  vfat        261853184      123420672
/vmfs/volumes/4f4e8d7a-03dc7620-3afd-00221968b54b                  4f4e8d7a-03dc7620-3afd-00221968b54b     true  vfat        299712512      114843648

 

And here the output from the other four servers, which don`t work:

[root@file trapperscripts]# esxcli -s 192.168.195.93 -u zabbix -p XYZ storage filesystem list
Connect to 192.168.195.93 failed: Permission to perform this operation was denied.
[root@file trapperscripts]# esxcli -s 192.168.195.93 -u zabbix -p XYZ storage filesystem list
Connect to 192.168.195.93 failed: Permission to perform this operation was denied.
[root@file trapperscripts]# esxcli -s 192.168.195.94 -u zabbix -p XYZ storage filesystem list
Connect to 192.168.195.94 failed: Permission to perform this operation was denied.
[root@file trapperscripts]# esxcli -s 192.168.195.95 -u zabbix -p XYZ storage filesystem list
Connect to 192.168.195.95 failed: Permission to perform this operation was denied.
[root@file trapperscripts]# esxcli -s 192.168.195.96 -u zabbix -p XYZ storage filesystem list
Connect to 192.168.195.96 failed: Permission to perform this operation was denied.

 

 

Lockdown-Mode is deactivated on every hosts while the ESXi-Shell-Service is running. My boss and me don`t understand why the command isn`t working

 

Here are the versions of VMWare i`m using:

Working server:

  • VMWare ESXi, 5.0.0, 504890

The ones which doesn`t work:

  • VMWare ESXi, 5.0.0, 768111
  • VMWare ESXi,5.0.0, 504890
  • VMWare ESXi,5.0.0, 623860

 

My esxcli is at version 5.1.0

 

At the tab "Events and Tasks" in my VSphere-Client, i can see that there`s an error-message that looks something like (sorry, my error-messages are in german) this, where 192.168.195.154 is the IP of my client from which the esxcli-request is sent:

User @192.168.195.154 can`t be logged in: Permission denied

 

 

I hope anyone can help me

 

Thanks in advance,

 

Thomas Salzberger senior


Viewing all articles
Browse latest Browse all 20614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>