Attivoadmin
Contributor
Contributor

Unable to open vcenter - The remote server returned an error (503) Unavailable

Hi

I am unable to open the vcenter server as it is throwing an error message with 503 server error. Tried logging into the shell to check if all the services  are running and found the following services to be stopped. Request your help to get this fixed.

vmware-cis-license (VMware License Service) vmware-perfcharts (VMware Performan                                                          ce Charts) vmware-rhttpproxy (VMware HTTP Reverse Proxy) vmware-sca (VMware Serv                                                          ice Control Agent) vmware-sps (VMware vSphere Profile-Driven Storage Service) vm                                                          ware-syslog (VMware Common Logging Service) vmware-syslog-health (VMware Syslog                                                           Health Service) vmware-vapi-endpoint (VMware vAPI Endpoint) vmware-vdcs (VMware                                                           Content Library Service) vmware-vpostgres (VMware Postgres) vmware-vpxd (VMware                                                           vCenter Server) vmware-vsm (VMware vService Manager) vmware-vws (VMware System a                                                          nd Hardware Health Manager) vsphere-client ()

INFO:root:Stopped:

vmware-eam (VMware ESX Agent Manager) vmware-invsvc (VMware Inventory Service)                                                           vmware-mbcs (VMware Message Bus Configuration Service) vmware-netdumper (VMware                                                           vSphere ESXi Dump Collector) vmware-rbd-watchdog (VMware vSphere Auto Deploy Wai                                                          ter) vmware-vpx-workflow (VMware vCenter Workflow Manager)

Stopped:

vmware-eam (VMware ESX Agent Manager) vmware-invsvc (VMware Inventory Service)                                                           vmware-mbcs (VMware Message Bus Configuration Service) vmware-netdumper (VMware                                                           vSphere ESXi Dump Collector) vmware-rbd-watchdog (VMware vSphere Auto Deploy Wai                                                          ter) vmware-vpx-workflow (VMware vCenter Workflow Manager)

Regards,

Srikanthan

Tags (1)
0 Kudos
3 Replies
Lalegre
Virtuoso
Virtuoso

Hello!

Try to run the next command and show the output: service-control --start --all

That command will try to start all the services and will show you which one is the failed one. After that you will need the check the log of the service that is failing for troubleshooting.

Here you have the KB that shows you how to start, stop or restart the services and the name of each ones: VMware Knowledge Base

0 Kudos
Attivoadmin
Contributor
Contributor

Hi Lalegre,

Thank your for the quick reply, the following is the error message that is receive when trying to the run the provided command.

Waiting for VMware Inventory Service.....................

WARNING: VMware Inventory Service may have failed to start.

Stderr =

2020-03-10T06:06:40.962Z   {

    "resolution": null,

    "detail": [

        {

            "args": [

                "Command: ['/sbin/service', u'vmware-invsvc', 'start']\nStderr: "

            ],

            "id": "install.ciscommon.command.errinvoke",

            "localized": "An error occurred while invoking external command : 'Command: ['/sbin/service', u'vmware-invsvc', 'start']\nStderr: '",

            "translatable": "An error occurred while invoking external command : '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

ERROR:root:Unable to start service vmware-invsvc, Exception: {

    "resolution": null,

    "detail": [

        {

            "args": [

                "vmware-invsvc"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'vmware-invsvc'",

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

Unable to start service vmware-invsvc, Exception: {

    "resolution": null,

    "detail": [

        {

            "args": [

                "vmware-invsvc"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'vmware-invsvc'",

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

qaclients:~ # timed out waiting for input: auto-logout

0 Kudos
Lalegre
Virtuoso
Virtuoso

It seems that you are having issues into the Inventory Service.

Could you please check the error output of the invsvc.log that is in the next path /var/log/vmware?

Thanks!

0 Kudos