I tried to connect to the vcenter with vsphare client and get an error
when i'm going to the server i can see the vmware virtual server service is in stop status
i'm try to statr the server and get this error:
"windows could not start the Vmware virtualcenter server on the local computer.for mor information review the system event log.."
on the event log i get this error
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
The VMware VirtualCenter Server service terminated with service-specific error 2 (0x2).
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
vpxd.log file im get this error:
[2011-11-15 14:13:51.115 04164 info 'App'] [SSL] Setting VerifySSLCertificates to FALSE
[2011-11-15 14:13:51.115 04164 info 'App'] [Vpxd::ServerApp::Init:804] Calling: VpxdInvtGroup::Init(gDB)
[2011-11-15 14:13:51.115 04164 info 'App'] [Vpxd::ServerApp::Init:805] Calling: VpxdInvtDatacenter::Init(gDB)
[2011-11-15 14:13:51.115 04164 info 'App'] [Vpxd::ServerApp::Init:806] Calling: VpxdMoHost::Init()
[2011-11-15 14:13:51.115 04164 info 'App'] [Vpxd::ServerApp::Init:807] Calling: VpxdDatastore::Init(gDB)
[2011-11-15 14:13:51.115 04164 error 'App'] Duplicate name (Local) in datastore folder
[2011-11-15 14:13:51.115 04164 error 'App'] [Vpxd::ServerApp::Init] Init failed: VpxdDatastore::Init(gDB)
[2011-11-15 14:13:51.115 04164 error 'App'] Failed to intialize VMware VirtualCenter. Shutting down...
[2011-11-15 14:13:51.115 04164 info 'App'] Forcing shutdown of VMware VirtualCenter now
thanks for the help
What do you get in your vCenter vpxd logs? I seem to remember an issue with having a vm with vmdk's the same name but not case - VM1.vmdk & vm1.vmdk. It came back with a error about violating FK constraints. Also there was another for snapshots not getting saved properly which gives another SQL based error in the logs...
I have seen something similar - I believe it was something to do with the vCenter service trying to start at the same time as the SQL DB was starting and because vCenter could not access the DB the service timed out and stopped. There are KB articles about editing the registry setings to delay the starting of the Vcenter service and have SQL as a dependency.
if the sql instance service is running and the service still can't start then it's not an issue with service startup dependencies - still need to check the vpxa logs for more specific messages
actually can that previous message, would edit it but my tablet based browser won't let me.. the logs were above.. out of interest, if you connect to the host directly can you see two instances of a datastore called local with different caps/case sensitive? or vmdk's?
i have 6 host and 12 shared datastores.
every host see it own local datastore (called hostname001-local) and all the other shared datastore.
do i need to chack every vm folder to look for duplicate vmdk that maybe exist?
maybe its db problem so i'm trying to restore the db from earlier date-you think its work?