R1chou
Contributor
Contributor

503 Service Unavailable + unable to connect to appliance

Jump to solution

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,

 

0 Kudos
1 Solution

Accepted Solutions
R1chou
Contributor
Contributor

Solved by adding the loopback address in the hosts file.

View solution in original post

0 Kudos
5 Replies
R1chou
Contributor
Contributor

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,

0 Kudos
a_p_
Leadership
Leadership

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é

0 Kudos
vXav
Expert
Expert

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.

0 Kudos
R1chou
Contributor
Contributor

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,

0 Kudos
R1chou
Contributor
Contributor

Solved by adding the loopback address in the hosts file.

View solution in original post

0 Kudos