A vSphere Administrator notices that they cannot login to vCenter Server with the vSphere Web Client,
although the server is responding to pings.
What is the next step in troubleshooting the login problem?
A.
/etc/init.d/hostd restart
B.
connect-viserver-server
C.
vim-cmd vmsvc/getallvms
D.
service-control –status vmware-vpxd
Should the answer be A?
Answer C is to power up all virtual machines.
B connect-viserver-server
https://blogs.vmware.com/PowerCLI/2013/03/back-to-basics-connecting-to-vcenter-or-a-vsphere-host.html
D: VPXD-It is Vcenter Server Service. If this service is stopped then we will not able to connect to Vcenter Server via Vsphere client.
I think D is correct.
Vpxd is vCenter Server process. So check first this process is working correct.
vpxd is the vCenter service. vpxa runs on the ESXi hosts and allows them to communicate with vCenter.
To view the current status of the vCenter Server Appliance services, type the command: service-control –status
So D is correct.
https://kb.vmware.com/s/article/2109887
https://tinyurl.com/yb5an3hz
D. service-control –status vmware-vpxd is a wrong command! Wrong format.
Try to run it. Here is a result:
root@vcenter65 [ /bin ]# service-control –status vmware-vpxd
Service-control failed. Error Exactly one operation must be specified.
KB article shows how to start the process.
A -host service. C – start all VMs. ALl wrong.
B is the only that left.
connect-viserver-server – PowerCLI command to connect to vCenter.
Dash is missed in command. Correct command is:
service-control –status vmware-vpxd
VPXD-It is Vcenter Server Service. If this service is stopped then we will not able to connect to Vcenter Server via Vsphere client.
https://webcache.googleusercontent.com/search?q=cache:RLpC8lbBN5kJ:https://ikb.vmware.com/kb/2109881+&cd=2&hl=ru&ct=clnk&gl=by
root@10 [ ~ ]# service-control –status vmware-vpxd
Running:
vmware-vpxd
root@10 [ ~ ]#
Ans D .
But the correct command is
root@vcenter [ ~ ]# service-control –status vmware-vpxd
Running:
vmware-vpxd
And yes if this service vmware-vpxd service is stopped then connection to vCenter via Web Client is failed.
For some reason –(two dash)in front of (–)status is not displaying here.
service-control (–)status vmware-vpxd