vCenter

  • 1.  vCenter 8 [ERROR]: Failed to connect to service

    Posted Jan 14, 2024 11:24 AM

    Hello,

    Suddenly vCenter server UI shows no health stream message and VAMI isn't accessible aswell and when I tried to check the vcenter from the ESXI side and logged in using root credentials I got the below error.

    [ERROR]: Failed to connect to service. Use service-control command to manage applmgmt service, however when I tried to start applmgmt service manually through command it didn't actually work due to error of executing the start on service applmgmt here is the details:

    "detail": [
    {
    "id": "install.ciscommon.service.failstart",
    "translatable": "An error occurred while starting service '%(0)s'",
    "args": [
    "applmgmt"
    ],
    "localized": "An error occurred while starting service 'applmgmt'"
    }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
    }
    Service-control failed. Error: {
    "detail": [
    {
    "id": "install.ciscommon.service.failstart",
    "translatable": "An error occurred while starting service '%(0)s'",
    "args": [
    "applmgmt"
    ],
    "localized": "An error occurred while starting service 'applmgmt'"
    }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
    }

     

    and when I tried to check the status of the services here is what I found:

    Running:
    lookupsvc lwsmd observability observability-vapi pschealth vc-ws1a-broker vlcm vmafdd vmcad vmdird vmonapi vmware-analytics vmware-cis-license vmware-eam vmware-envoy vmware-envoy-hgw vmware-envoy-sidecar vmware-infraprofile vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-stsd vmware-trustmanagement vmware-vapi-endpoint vmware-vdtc vmware-vmon vmware-vpostgres vtsdb


    Stopped:
    applmgmt vmcam vmware-certificateauthority vmware-certificatemanagement vmware-content-library vmware-hvc vmware-imagebuilder vmware-netdumper vmware-rbd-watchdog vmware-sps vmware-topologysvc vmware-updatemgr vmware-vcha vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-ui vstats wcp

     

    Any idea of what is going on or how to solve it? in addition that I have no snapshot of the VM.



  • 2.  RE: vCenter 8 [ERROR]: Failed to connect to service

    Posted Jan 14, 2024 01:18 PM

    As a first step, please verify that DNS resolution (forward, and reverse) works, and check for expired certificates (https://kb.vmware.com/s/article/82332).

    André



  • 3.  RE: vCenter 8 [ERROR]: Failed to connect to service

    Posted Jan 14, 2024 02:26 PM

    Check also if partitions have enough free space.