Solved

VMWare Virtual Center Server service keeps shutting down

Posted on 2011-02-25
11
2,433 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 34983009
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 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 350 total points
ID: 34983128
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
ID: 34983411
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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 40

Accepted Solution

by:
coolsport00 earned 150 total points
ID: 34983493
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 120
ID: 34983535
looks like ran out of space as coolsport00 has stated.
0
 
LVL 1

Author Comment

by:nimdatx
ID: 34983579
My DB is on local storage on ESX host. How would I clean out data files?
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 350 total points
ID: 34983694
see here for details

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

Expert Comment

by:danm66
ID: 34983697
purging old data from the database used by vcenter server 4.x http://kb.vmware.com/kb/1025914
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 350 total points
ID: 34983731
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
ID: 34983892
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
ID: 34984118
It worked!!!! Thanks so much.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

739 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