VMware Cloud Community
sc_21111
Enthusiast
Enthusiast

Database temporarily unavailable

All at once I'm starting getting this error while using Get-vievent for querying the vcenter.

All seems to be running smootly and from VAMI I see no errors at all.

What can be the source of the problem ?

thanks

Get-VIEvent : 3/13/2024 2:54:37 PM Get-VIEvent Database temporarily unavailable or has network problems.
At line:1 char:1
+ Get-VIEvent -Start (Get-Date 03/01/2024) -Finish (Get-Date 03/13/2024 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-VIEvent], DatabaseError
+ FullyQualifiedErrorId : Client20_InventoryServiceImpl_GetEvent_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetEvent

Labels (1)
0 Kudos
3 Replies
LucD
Leadership
Leadership

This can have many causes.

Which vSphere version are you using?
Is the VCSA using the built-in DB or an external one?
Have you already restarted the VCSA?
Do you see the events in the Web GUI?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
sc_21111
Enthusiast
Enthusiast

hello @LucD 

Vcenter is a VCSA 8.02 with internal DB.

I did not restart the VCSA yet.

On the UI I see no errors or warning regarding the DB.

 

0 Kudos
LucD
Leadership
Leadership

If possible, try restarting the VCSA.
See if that makes a difference.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos