Version: vCenter 6.7 on Windows server
I mitigated vCenter log4 vulnerability as described here: https://kb.vmware.com/s/article/87096 This means I have altered vsphere-ui.json, vsphere-client.json, log4j-core.jar and JndiLookup.class. But now my vCenter doesn't seem to be working anymore. Whenever I go the vCenter in my browser, it just times out. I have backups of the files but I'm wondering what's going wrong since I believe I followed the exact instructions from the KB. I've already tried a server reboot but no difference.
Anyone idea what's going on?
C:\Program Files\VMware\vCenter Server\bin>.\service-control --start --all
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vmware-cis-config...
Successfully started service vmware-cis-config
Performing start operation on service VMWareAfdService...
Successfully started service VMWareAfdService
Performing start operation on service VMWareDirectoryService...
Successfully started service VMWareDirectoryService
Performing start operation on service VMWareCertificateService...
Successfully started service VMWareCertificateService
Performing start operation on service VMwareIdentityMgmtService...
Successfully started service VMwareIdentityMgmtService
Performing start operation on service VMwareSTS...
Successfully started service VMwareSTS
Performing start operation on service VMwareDNSService...
Successfully started service VMwareDNSService
Performing start operation on profile: ALL...
Service-control failed. Error: Failed to start vmon. Error: (1056, 'StartService
', 'An instance of the service is already running.')
C:\Program Files\VMware\vCenter Server\bin>.\service-control --status
Stopped:
EsxAgentManager VMWareCAMService VMwareComponentManager VServiceManager content
-library mbcs rhttpproxy vPostgres vapiEndpoint vimPBSM vmonapi vmsyslogcollecto
r vmware-autodeploy-waiter vmware-imagebuilder vmware-license vmware-network-cor
edump vmware-perfcharts vmwareServiceControlAgent vpxd vpxd-svcs vsan-health vsp
here-ui vspherewebclientsvc
StartPending:
vmon
Running:
VMWareAfdService VMWareCertificateService VMWareDirectoryService VMwareDNSServi
ce VMwareIdentityMgmtService VMwareSTS vmware-cis-config
C:\Program Files\VMware\vCenter Server\bin>
C:\Program Files\VMware\vCenter Server\bin>.\service-control --stop
Operation not cancellable. Please wait for it to finish...
Performing stop operation on profile: ALL...
Successfully stopped profile: ALL.
C:\Program Files\VMware\vCenter Server\bin>.\service-control --start --all
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vmware-cis-config...
Successfully started service vmware-cis-config
Performing start operation on service VMWareAfdService...
Successfully started service VMWareAfdService
Performing start operation on service VMWareDirectoryService...
Successfully started service VMWareDirectoryService
Performing start operation on service VMWareCertificateService...
Successfully started service VMWareCertificateService
Performing start operation on service VMwareIdentityMgmtService...
Successfully started service VMwareIdentityMgmtService
Performing start operation on service VMwareSTS...
Successfully started service VMwareSTS
Performing start operation on service VMwareDNSService...
Successfully started service VMwareDNSService
Performing start operation on profile: ALL...
Service-control failed. Error: Failed to start vmon. Error: (1056, 'StartService
', 'An instance of the service is already running.')
edit: I had to have the server running again so I reverted log4j-core.jar and JndiLookup.class, same problem. After that I reverted vsphere-ui.json, vsphere-client.json, still same problem. The last step to completely revert everything is to undo the actions from vMON.py script. I'm currently trying to figure out what the script did.