vcenter applicance error failed to connect to server

Have an issue with Vcenter on the server console, after I rebooted, I get a login instead of the Vcenter screen.  I login and it says Failed to connect to service. It then list the few helps commands and the ability to go to shell. This has no effect on the Watchlist app on my phone, or logging into vcenter with a browser.

thoughts or something to try?

tjguyNetwork AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
How long have you waited for the services to start ?

You may want to consider a re-installation, if you do not have a complex environment, it can sometimes be much quicker to Re-Install a new VCSA 6.5, then try and troubleshoot a failed instance.
tjguyNetwork AdministratorAuthor Commented:
I waited 8-10 minutes, simple environment, So delete the VM or just re-install on top of what's there?  a pain for sure but if it's less painful then trying to chase issues I guess I can live with it.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
8-10 minutes, is too short, some configurations, depending upon storage, can take 30 minutes.

This issue can sometimes be a known bug, and if you look through the logs, you can see the error.

BUT, it is much easier to delete the existing VCSA 6.5, and install the latest version.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
If you have not made any changes usually the VCSA appliance get our of service due to log directory full.

Could you please run the below command  and see if disk is full.

df -h

if yes - clear the log directory.

You may also increase the disk space after that.

follow below kb.
tjguyNetwork AdministratorAuthor Commented:
doesn't look like the disks are full. vCenter is working through the web portal, able to view all the VM's edit and etc. not enough exposure to this vCenter prduct to figure out what the issue is. could it had an auto update that failed?  I can also use vSphere client, but it alerts me to the fact that vCenter is being used. what issues if I just let it run the way it is?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
there is a bug with a duplicate key in the database which causes this issue, if you want to dig through the logs, it could be this!
tjguyNetwork AdministratorAuthor Commented:
Andrew Hancock, what am I looking for in the log, something with the word 'duplicate key' ? is there a patch for it, or should I just reinstall like you were saying?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Later versions of VCSA have the bug fixed.

Or you can fiddle with your Db and remove the duplicate key,

But as there is now a published fix by implementing the correct fixed version it does not make any sense to deploy a bugged version!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.