Solved

VMWare Virtual Center Server service keeps shutting down

Posted on 2011-02-25
11
2,398 Views
Last Modified: 2012-06-27
Hello,

verytime I try to connect to my VCenter server it will connect and then loses connection. I login directly to ESX host 1/VM1 (VCenter) and I checked the VCenter Server services and noticed it was down. I started service and tried connecting to VCenter Server again and it will connect and then loses connection. For some reason the services keeps shutting down. I appreciate anyones help on figuring out why the services keeps shutting down.

Thanks,

nimdatx
0
Comment
Question by:nimdatx
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
Typically, but not always, this is due to vCenter not being able to connect to the database. Is your vCenter DB local or remote (SQL, Oracle)? Another user posted on here several days ago with this issue, and the problem was due to the fact that he had ESXi4.1 and vCenter 4.0 (mix/match scenario), and you can't have diff versions...all must be on 4.1 if you're using 4.1.

~coolsport00
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 350 total points
Comment Utility
check the Windows event logs on your vCenter server, and also the vcenter logs stored in

C:\Users\All Users\VMware\VMware VirtualCenter\Logs, check the vpxd*.log

if problems still persist try running the service in interractive (sinlge users mode), not a service as

open a command prompt and type

"C:\Program Files\VMware\Infrastructure\VirtualCenter Server\vpxd -s"

watch for the error and fault on the console...
0
 
LVL 1

Author Comment

by:nimdatx
Comment Utility
The errors I got....

Event ID 1105

Could not allocate space for object '%.*ls'%.*ls in database '%.*ls' because the '%.*ls' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

Event IS 1827


Description: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database.

Event ID 1000

The description for Event ID ( 1000 ) in Source ( VMware VirtualCenter Server ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Failed to intialize VMware VirtualCenter. Shutting down….
.

0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 150 total points
Comment Utility
So, is your DB local? It seems like it is because of the error you're seeing. MS SQL 2005 Express has a 4GB size limit. See:
http://msdn.microsoft.com/en-us/library/ms345154(v=sql.90).aspx (Introduction section).

You will need to clean out old data.

~coolsport00
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
looks like ran out of space as coolsport00 has stated.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 1

Author Comment

by:nimdatx
Comment Utility
My DB is on local storage on ESX host. How would I clean out data files?
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 350 total points
Comment Utility
see here for details

http://kb.vmware.com/kb/1025914
0
 
LVL 16

Expert Comment

by:danm66
Comment Utility
purging old data from the database used by vcenter server 4.x http://kb.vmware.com/kb/1025914
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 350 total points
Comment Utility
for future reference, what you need to do also is to change some settings in VC

if you select Administration, vCenter Server Settings and select

Statistics, this will give you a calculator and guide to work out what size you need.

 vCenter Statistics Database Size
Database retention policy, if you reduce the defaults your database will not get so large, if you want to keep tasks and events for longer, you'll need to consider upgrading to full SQL 2005/2008.

 Database retention
0
 

Expert Comment

by:smcclos
Comment Utility
I have used these two VMware KB articles to shrink down the size.  I am guessing that you are running a test instance so keeping the historical data is not that valuable, so just trunking it would get you under the size and keep the system running:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1025914

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007453

I had a simple 1host config and my database was up to over 900MB. Not enough to break it but enough disk space for me to research looking to shrink it down.  
0
 
LVL 1

Author Comment

by:nimdatx
Comment Utility
It worked!!!! Thanks so much.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now