vCenter

 View Only
  • 1.  503 Service Unavailable + unable to connect to appliance

    Posted Mar 04, 2021 05:44 PM

    Hello,

    Vcenter appliance version 6.7.0.44000

    I wanted to add a second DNS address to my Vcenter appliance.
    I'v added it going to my vcenter in console mode.

    Since I did it, I can't no more connect to my vcenter, I have the following error :

    503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fe7ac017340] _serverNamespace = /ui action = Allow _port = 5090)

    Second issue, I can't no more connect to https://X.X.X.:5480

    When I try to login I have the following message : Unable to login

     I don't understand.... Do you think that a restart will help ?

    Regards,

     



  • 2.  RE: 503 Service Unavailable + unable to connect to appliance

    Posted Mar 05, 2021 07:53 AM

    Hello,


    Update :

    I tried to restart my appliance.

    It is still not possible to connect to the webclient, this time I have the following error : Connection has failed

    I'am able to connect to VAMI during 1 minute then it stop to work.
    I saw in ssh that the service applmgmt it's not running.
    I tried to start the service but I have the following errors

    service-control --start applmgmt
    Operation not cancellable. Please wait for it to finish...
    Performing start operation on service applmgmt...
    Error executing start on service applmgmt. Details {
    "componentKey": null,
    "detail": [
    {
    "translatable": "An error occurred while starting service '%(0)s'",
    "localized": "An error occurred while starting service 'applmgmt'",
    "args": [
    "applmgmt"
    ],
    "id": "install.ciscommon.service.failstart"
    }
    ],
    "problemId": null,
    "resolution": null
    }
    Service-control failed. Error: {
    "componentKey": null,
    "detail": [
    {
    "translatable": "An error occurred while starting service '%(0)s'",
    "localized": "An error occurred while starting service 'applmgmt'",
    "args": [
    "applmgmt"
    ],
    "id": "install.ciscommon.service.failstart"
    }
    ],
    "problemId": null,
    "resolution": null
    }


    I've changed my root password but it doesn't change nothing.

    Regards,



  • 3.  RE: 503 Service Unavailable + unable to connect to appliance

    Posted Mar 05, 2021 08:22 AM

    Aside from the fact that what you did is most likely not supported, please explain - in details - what exactly you did.
    Be prepared to restore the vCSA from your last backup.

    André



  • 4.  RE: 503 Service Unavailable + unable to connect to appliance

    Posted Mar 05, 2021 09:51 AM

    I've explained what I did.
    Just wanted to add a secondary dsn from my appliance vcenter console.

    Since I did that my vcenter doesn't work.

    I tried to delete my entry but it doesn't change anything.

    Do you think that this kb could help ? https://kb.vmware.com/s/article/59476

    I don't have entry for 127.0.0.1 in my hosts file.

    Regards,



  • 5.  RE: 503 Service Unavailable + unable to connect to appliance
    Best Answer

    Posted Mar 05, 2021 03:57 PM

    Solved by adding the loopback address in the hosts file.



  • 6.  RE: 503 Service Unavailable + unable to connect to appliance

    Posted Mar 05, 2021 09:20 AM

    Not a good thing when services start being picky.. You might as well try a restart if you haven't done so yet.

    If it doesn't fix it try to revert the change and take it from there.