VMware Cloud Community
huxleyhs
Contributor
Contributor
Jump to solution

Cannot start vCenter: 503 Service unavailable

Hello!

 

I got this message above from web browser, while I try to connect to vCenter:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055816a6c0720] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)

 

And I have this image from shell that shows which services have started (attached)

 

 

There are like many solutions online, but I do not know where to start...I also found some articles that looks like with my problem, like certificate, but i dont know if is the same.

 

I appreciate your time trying to help me

 

Huxley

Reply
0 Kudos
1 Solution

Accepted Solutions
Ajay1988
Expert
Expert
Jump to solution

cm.log says it is down from 2nd July 2022. I suppose it might be better to re-install VC. 

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ

View solution in original post

Reply
0 Kudos
25 Replies
maksym007
Expert
Expert
Jump to solution

Which vCenter Certificate are you using? highly possible that the certificate has expired. 

a few weeks ago I have had the same issue. After the Certificate renewal issue has been solved. 

Please remember to check the certificate template in CA - it should be slightly adjusted for vSphere7.

 

 

Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hello !

I've tried to renovate as much as user root and user: administrator, but it's showing wrong password.

I've reseted the password both.

huxleyhs_0-1665520937848.png

How do I see which certificate vcenter uses?

 

Thank you!

Reply
0 Kudos
maksym007
Expert
Expert
Jump to solution

there are a lot of articles on the internet on how to check and configure it. 

you can also check Certs with WinSCP or via SSH 

 

on your screen you have the wrong username; not root - only should be [administrator@vsphere.local]

The system tells you to provide a username: so you should provide ...administrator@vsphere.local

to ssh you log in with [root] but all replacement actions and confirmation is going via administrator

 

One more thing - you can reset all certificates with action number 8 - but before do a snapshot; 

once it will be reset - you will be able to login to vCenter 

after that you will be able to check and decide what to do next

Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hello!

Thank you for supporting me!

But @maksym007 I've tryed even with the password from administrator@vsphere.local, but it show me "incorrect password" before, I reseted this password trough vdcadmintool.

Do you know why happen this?

 

huxleyhs_0-1665665633566.png

 

Reply
0 Kudos
Alex_Romeo
Leadership
Leadership
Jump to solution

HI,

 

you need to reset the password of administrator@vsphere.local.

run the command:  /usr/lib/vmware-vmdir/bin/vdcadmintool

Alex_Romeo_0-1665667780714.png

 

choose option 3 a

Alex_Romeo_1-1665667841393.png

 

Write in UPN: administrator@vsphere.local.

A new password is generated (automatically)

 

regards,

Alex_Romeo

 

Blog: https://www.aleadmin.it/
Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hi @Alex_Romeo 

 

Thank you!

But I've already done this four times recently.

I dont know why, but it is not accepting.

 

 

Reply
0 Kudos
Alex_Romeo
Leadership
Leadership
Jump to solution

Hi,

what is the mistake?

regards,

AR

 

Blog: https://www.aleadmin.it/
Reply
0 Kudos
Alex_Romeo
Leadership
Leadership
Jump to solution

Hi,

reboot the vCenter and try to reset password again.

Make a stamp of the result and post it

regards,

AR

Blog: https://www.aleadmin.it/
Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hell @Alex_Romeo 

I made the reboot and I changed the password again, but it simply appears incorrect password.

huxleyhs_0-1665671176879.png

I've tryed copy and paste and to type too, both show "incorrect password".

This is the error (above) that happens, so therefore I unable to regenerate the certificates.

Reply
0 Kudos
maksym007
Expert
Expert
Jump to solution

I have no idea why your password is not accepted. Please check the layout in notepad. If password is the same

Reply
0 Kudos
Alex_Romeo
Leadership
Leadership
Jump to solution

Hi,

First you need to reset the administrator password. Otherwise you cannot renew the certificates

regards

AR

Blog: https://www.aleadmin.it/
Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

hi @maksym007 !

 

Yes, I've tested this too....paste the same password.

Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

It would be possible I open a ticket on VMware?

Reply
0 Kudos
Alex_Romeo
Leadership
Leadership
Jump to solution

Hy,

If you have active support, yes

link: https://my.vmware.com

or

https://customerconnect.vmware.com/

regards,

AR

Blog: https://www.aleadmin.it/
Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hi @maksym007 

 

I was checking here, canoot be certificate, right? On Browser I've clicked in certificate and:

 

huxleyhs_0-1665686408909.png

 

 

The pic above is in portuguese, but expirate date show that will expire in August 2027.

 

Could be other thing impacting this, right?

Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hello @Alex_Romeo 

Is there an option to test this password that generate to administrator?

Reply
0 Kudos
maksym007
Expert
Expert
Jump to solution

I assume so. Is it your vCenter in Canonical name? 

What is the current status? Have you progressed slightly? 

Reply
0 Kudos
huxleyhs
Contributor
Contributor
Jump to solution

Hi @maksym007 

 

yes, It is!

It keep on down, I dont know what is the next task...I was wondering if I reinstall Vcenter is the best way.

 

Thank you!

Reply
0 Kudos
maksym007
Expert
Expert
Jump to solution

I am still wondering, why are you not able to login with your admin credentials to vCenter. 

When you will download vCenter ISO and will attach it to your mgmt windows VM - check Recover/Repair option. 
Maybe there will be option regarding certs. 

I will check it in my lab too. 

Without admin password you will not be able to proceed. 

Reply
0 Kudos