VMware Cloud Community
R1chou
Contributor
Contributor
Jump to solution

503 Service Unavailable + unable to connect to appliance

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,

 

Reply
0 Kudos
1 Solution

Accepted Solutions
R1chou
Contributor
Contributor
Jump to solution

Solved by adding the loopback address in the hosts file.

View solution in original post

Reply
0 Kudos
5 Replies
R1chou
Contributor
Contributor
Jump to solution

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,

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

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é

Reply
0 Kudos
vXav
Expert
Expert
Jump to solution

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.

Reply
0 Kudos
R1chou
Contributor
Contributor
Jump to solution

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,

Reply
0 Kudos
R1chou
Contributor
Contributor
Jump to solution

Solved by adding the loopback address in the hosts file.

Reply
0 Kudos