vCenter

 View Only
Expand all | Collapse all

Cannot start vCenter: 503 Service unavailable

  • 1.  Cannot start vCenter: 503 Service unavailable

    Posted Oct 11, 2022 08:17 PM
      |   view attached

    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



  • 2.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 11, 2022 08:26 PM

    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.

     

     



  • 3.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 11, 2022 08:48 PM

    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!



  • 4.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 12, 2022 03:11 AM

    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



  • 5.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 12:58 PM

    Hello!

    Thank you for supporting me!

    But 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

     



  • 6.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 01:32 PM

    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

     



  • 7.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 01:48 PM

    Hi  

     

    Thank you!

    But I've already done this four times recently.

    I dont know why, but it is not accepting.

     

     



  • 8.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 01:52 PM

    Hi,

    what is the mistake?

    regards,

    AR

     



  • 9.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 02:15 PM

    Hi,

    reboot the vCenter and try to reset password again.

    Make a stamp of the result and post it

    regards,

    AR



  • 10.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 02:31 PM

    Hell  

    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.



  • 11.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 03:00 PM

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



  • 12.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 03:16 PM

    hi !

     

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



  • 13.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 03:01 PM

    Hi,

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

    regards

    AR



  • 14.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 03:36 PM

    It would be possible I open a ticket on VMware?



  • 15.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 03:42 PM

    Hy,

    If you have active support, yes

    link: https://my.vmware.com

    or

    https://customerconnect.vmware.com/

    regards,

    AR



  • 16.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 07:32 PM

    Hello  

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



  • 17.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 14, 2022 07:28 AM

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

    What is the current status? Have you progressed slightly? 



  • 18.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 14, 2022 01:14 PM

    Hi  

     

    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!



  • 19.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 14, 2022 01:31 PM

    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. 



  • 20.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 13, 2022 06:44 PM

    Hi  

     

    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?



  • 21.  RE: Cannot start vCenter: 503 Service unavailable

    Broadcom Employee
    Posted Oct 14, 2022 02:29 PM

    All services down. That's quite odd.

    Can you just  run " service-control --start --all " and see what it is failing for ? Share screenshot ?
    Then you might have to check the log for that particular service.

     

    Also the following one-liner can determine expired certificates other than STS for the vCSA:
    for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; sudo /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done

    For STS cert expiry check : https://kb.vmware.com/s/article/79248



  • 22.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 14, 2022 09:12 PM

    Hello  

    Thank you for supporting me.

    Follow the prints:

    huxleyhs_0-1665781533981.png

    huxleyhs_1-1665781589864.png

    huxleyhs_4-1665781919391.png

     

     

    According to vxpd-svcs.log the error is about LDAP, follow below the print from log.

    huxleyhs_2-1665781803860.png

    huxleyhs_3-1665781828962.png

    There are several erros about LDAP.

    Thank you!



  • 23.  RE: Cannot start vCenter: 503 Service unavailable

    Broadcom Employee
    Posted Oct 15, 2022 04:18 AM

    The complete command is below 
    for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; sudo /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done

     

    Also this might be little complicated and better to contact support.

    Check cm.log first. What version of VC is this and is it external PSC ? 



  • 24.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 15, 2022 03:57 PM
      |   view attached

    Hi  

    The certifactes are valid.

    huxleyhs_0-1665848224705.png

    Follow attached CM.LOG.

    The versions is: 6.5.0.41000 Build Number 20510539.

    This VCenter is a VM inside an Esxi (physical host).

    We dont have support active at VMWare.

    We are thinking in re install the Vcenter.

     

    Thank you!

    Attachment(s)

    log
    CM.log   5.44 MB 1 version


  • 25.  RE: Cannot start vCenter: 503 Service unavailable
    Best Answer

    Broadcom Employee
    Posted Oct 16, 2022 04:36 PM

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



  • 26.  RE: Cannot start vCenter: 503 Service unavailable

    Posted Oct 21, 2022 11:38 AM

    yeah, good point