VMware vCenter service stops with size of DB SQL errors

Hello

We run VMware vCenter 4.1 with 3 ESX hosts and VMs. 50 vCenter runs on Windows 2008 R2, SQL 2005 Express SP2.

Yesterday, our virtual backup failed, saying: it could not connect to the vCenter agent. When I have looged question, it appeared that he had stopped the vCenter Server service. Upward on the continuation of the investigation, it appears that the SQL Express database had reached 4 GB in size, which is limited, and this caused the vCenter fall service.

I checked some of the forum posts and have accomplished the following:

  • Define a retention policy of database for tasks and events, it is initially unchecked, but I checked and set it to 90 days in the beginning and now 30 days.
  • Found a script on the VMware forum called VCDB_table_cleanup_MSSQL_V4.X.sql that can clean the database. I put it to delete the old data (change of SET @DELETE_DATA = 1) 90 days and he kidnapped 130 000 + lines.
  • Performed a narrowing of the database & file shrink on the data file - I was only 9 MB back?
  • Performed a narrowing of the database & file shrink on the log file - it right back a little more, about 100 MB.
  • Changed the size of the log file of 460 MB to 1024 MB, in database properties > settings files.

However, even after all of the above, when I reboot the server, or stop and start the service vCenter, the following errors are recorded in the application log:
-------------------------------------------
Log name: Application
Source: MSSQL$ SQLEXP_VIM
Date: 2011-08-16 08:51:44
Event ID: 1827
Task category: (2)
Level: error
Keywords: Classic
User: SYSTEM
Description:
CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size exceeds your limit allowed 4096 MB per database.
-------------------------------------------
Log name: Application
Source: MSSQL$ SQLEXP_VIM
Date: 2011-08-16 08:51:44
Event ID: 1105
Task category: (2)
Level: error
Keywords: Classic
User: SYSTEM
Description:
Could not allocate space for object ' dbo. VPX_BINARY_DATA'. 'PK_VPX_BIN_DATA' in 'VIM_VCDB' database because the 'PRIMARY' filegroup is full. Create disk space by deleting unnecessary files, removing objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on it to the existing files in the file group.
-------------------------------------------
Log name: Application
Source: VMware VirtualCenter Server
Date: 2011-08-16 08:51:44
Event ID: 1000
Task category: no
Level: error
Keywords: Classic
User: n/a
Description:
The description for event ID 1000 from source VMware VirtualCenter Server can not be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event is on another computer, the display information had to be saved with the event.

The following information has been included in the event:

[Ldap] Cannot save database backup LDAP data: "ODBC error: (42000) - [Microsoft] [SQL Native Client] [SQL Server] could not allocate space for object ' dbo." VPX_BINARY_DATA'. 'PK_VPX_BIN_DATA' in 'VIM_VCDB' database because the 'PRIMARY' filegroup is full. Create disk space by deleting unnecessary files, removing objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the file group. "is returned when you run the SQL statement" INSERT INTO VPX_BINARY_DATA VALUES (ROWLOCK) (ID, DATA_TYPE, BIN_DATA, CREATED_TIME, CHANGE_ID) (?,?,?,?,?) ". »
the message resource is present, but the message is not in the string/message table
-------------------------------------------

Can anyone provide another solution to this problem? We must be able to perform a successful backup!

For any help or suggestions appreciated!

Ben

Due to the size of the database, the query may take time. I suggest that you let run and just be patient.

Another option is to upgrade to a version of SQL Server 2005/2008 'complete' (see http://kb.vmware.com/kb/7960893), or - where this is an option for you - to migrate towards the currently experimentally supported (starting with vCenter Server 4.1 Update 1) version SQL Express 2008 which supports up to 10 GB per database. (see http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf) Although there are 32 and 64 bit in compatibility matrix, it seems that there are currently problems with 64-bit (see http://kb.vmware.com/kb/1036085)

André

Tags: VMware

Similar Questions

  • VCenter Server service stopped with the error service special 2 (0x2)

    Hello

    I installed vCenter Server 2.5 5 update on the WIN2003 SP2 server, but after reboot I get this error:

    Event type: error

    Event source: Service Control Manager

    Event category: no

    Event ID: 7024

    Date: 25.09.2009

    Time: 09:19:43

    User: n/a

    Computer: VCSERVER

    Description:

    The VMware VirtualCenter Server service stopped with the error service special 2 (0x2).

    and I can't connect using VMware Infrastructure Client.

    Follow the pdf file and you will be fine.

  • The VMware Workstation Server service stopped with service specific error %-1.

    Hi, when I try to enable sharing in Workstation 8 GTR | Change | Preferences | Sharing virtual machines, I get an error Impossible to configure the workstation server. Check the event log, I found they were trying to start the VMware Workstation Server service that does not start (even when you try to start it manually) and the following error is recorded "the VMware Workstation Server service stopped with service specific error %-1." by the Service Control Manager. I found no additional cases related.

    Running on Windows 7 SP1 x 64. The port is set to 7443.

    I also tried to find a newspaper there instead of vmware, but neither found anything related; However I could have missed something.

    Thanks for all the ideas, what could be wrong and how to fix it.

    Hello

    I have Workstation 8.0.1 installed on two laptop computers each running Windows 7 SP1 x 64... the shared component of the virtual machine runs on one but not the other. On the machine that I have problems with I uninstalled Workstation and reinstalled - without success. What I ended up doing to replace the datastores.xml file in the Directory go (C:\Documents and Settings\All Users\Application Data\VMware\hostd) on the laptop with the problem with the file datastores.xml of the laptop that works - success! I knew that there was a problem with the file because I've been poking around and noticed that the datastores.xml file is not open for editing - it was corrupted.

    I have attached the file to this message.

    Change of the section at the location that you store your shared VM (be sure to not use a UNC, which breaks the service as well!).

    I hope this helps.

    Steve

  • The VMware VirtualCenter Server service stopped with the error service special 2 (0x2).

    I tried all listed in other postings, but our VSphere 4 server resides on a SQL server server.

    I tested the connection odbc with the SA password and it works, it rebooted several times now, tried to stop all services and bringing up one at a time, but whenever a dependency is not. I get this error in the system log, the VMware VirtualCenter Server service stopped with the error service special 2 (0x2).

    And

    VMware VirtualCenter Management Web Services service depends on the VMware VirtualCenter Server service which failed to start because of the following error:

    The service has returned a service-specific error code.

    Application log says this

    The description for event ID 1000 from source VMware VirtualCenter Server can not be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    Could not initialize the VMware VirtualCenter. Closing...

    the message resource is present, but the message is not in the string/message table

    I don't know how to fix it. It was working fine yesterday. Nothing has changed. Or has anyone experience this problem and have a solution?

    see if that helps

    http://KB.VMware.com/kb/1015101

  • vCenter service stops

    Hello

    I'm under vCenter 5.0 U1 and my database is on a SQL Server 2008 Cluster, use Windows authentication.

    Whenever my SQL team switches the server, the vCenter service stops. This causes quite the headache from my backup software requires is configured to retrieve virtual machines via vCenter.

    Someone at - he never see cela or know a solution?

    THX

    Mike

    First of all, I would like to point out the race vCenter on Cluster SQL is not fully supported and VMware Support on best efforts basis.

    I've seen most of the time a manual intervention is required to start the return services after cluster failover

    Check the options for high availability of the server vCenter supported

  • vCenter Service stops even if it is configured to start automatically

    I have a vCenter Server once they are restarted, the vCenter Service stops and does not restart. He was set to start automatically...

    Where should I look?

    Please take a look at http://kb.vmware.com/kb/1007669 (VMware VirtualCenter Server service does not automatically start after reboot)

    André

  • Service stopped with error 4294967292 (0xFFFFFFFC) special service

    I have a service on my windows 2008 Server. Whenever I try to start it, below error I get.

    "service stopped with error 4294967292 (0xFFFFFFFC) special service."

    Hi Alok,

    My apologies for the delay in the answer here.

    The question you asked is in what regards to Windows Server 2008.

    It would be better in the TechNet communities:

    http://social.technet.Microsoft.com/forums/en-us/categories

    Best regards

    Matthew_Ha

  • Event ID: 7024 with error message: "the Windows Firewall service stopped with the error service specific data are invalid.

    Original title: cannot start Service Windows Firewall: Error Code 13

    Hello.

    Anyway, the Action Center has begun randomly telling me that the Windows Firewall is disabled. When I try to start or return to the default settings, it tells me that it is not able to do.

    I went to Services and Windows Firewall is set to automatic, but it is not started. I try to start it and it tells me that it is not able to do the same. The error code is 13.

    I am an administrator.

    MalwareBytes did find and delete a virus named "Disable.SecurityCenter", but after removing that I am still unable to start the Service.

    Can someone help with this problem?

    Edit: The journal ID is 7024 and description:

    "The Windows Firewall service stopped with the error service specific data are not valid... '. ».

    Hello, Connor

    You can try to perform a system restore to before that the problem started. For instructions on how to proceed, see the following ink: System Restore: frequently asked questions

    You can also try running a SFC scan to check (and repair) system corrupt/modified files. To do this, go to start, all programs, accessories, click with the right button on command prompt and choose Run as administrator. In the command prompt, type the following command and press ENTER: SFC/scannow

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • vCenter service stopped after failing on DB

    I run vcenter 6.0 on an active/passive cluster of SQL

    When I switched my db from one to the other, vcenter service was stopped. I had to start it manually

    no idea why?

    Yes, that's what says KB, see:

    Set the parameter recoverForAllError to true:



    true

    ...

    Note: Add the entry above, if it is not present in vpxd.cfg file.

  • VMware authorization service fails with a 1067

    I have been using VMware Workstation for more than a year and all of a sudden I got a meesage that I couldn't start my VM because the licensing service has not been started. When I went to start it, I got an error indicating that the service failed with an Error 1067. I did a netstat - a check if the port is used, and it is not. I uninstalled, rebooted and reinstalled the same error. Any help would be apprecaited

    Start the Workstation via right click on "Start as Administrator"

    then the vmauthdservice should not be required

    you try to start a suspended virtual machine that uses the Unity mode?

    also check if the keys

    HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Aliases\Names\__vmware__

    HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\Names\__vmware_user__

    still exist

    _________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • Install location Services stopped with fresh 10.11.4

    I performed a clean installation of 10.11.4 to find that location Services are no longer available (maps, weather, System Services). I have enabled "enable location services" walking several times in an attempt to activate the service, but still no joy. In the zone Panel, select 'Set the time zone automatically using current place of residence' immediately Gets an "impossible to determine the current location at this time" error.

    My other computers running 10.11.4 (they were auto-updated to 10.11.3, and not a new installation of 10.11.4) don't have this problem and still have access to location-based Services.

    Has anyone else experienced this problem and found a solution?

    TIA

    Make sure that your time zone is set properly > On the location in OS X and Safari Services

  • Windows Search 4.0 service used with XP Professional SP3 gives error ID: 3100

    Windows gives error ID search service: 3100 category: Gatherer

    Can not initialize filterhostproces. Will be stopped.

    Details: Invalid access (0 x 80070006)

    It seems to be the cause of my computer is very slow sometimes.

    I recently also received a blue screen

    1 stop (0 x 00000024) Internet suggested that this could be a NTFS problem

    2 stop (0 x 00000077)

    I don't know if there is a relationship. Could this be a virus? I use Bitdefender and it gives no alarm.

    Hi Joost23,

    The question associated with Windows install, I suggest you run the patch from the link below: Windows search does not work and research is slow or stops: http://support.microsoft.com/mats/windows_search/en-us

    If this does not help then you can uninstall and reinstall Windows search 4.0 on the computer.

    Follow the steps below to uninstall:

    a. click on start

    b. click Control Panel

    c. Select Add or remove programs

    d. place a check on 'Show updates'

    e. you will see Windows Desktop Search 4.0 and uninstall it.

    Reinstall back, you can see the link below:http://www.microsoft.com/windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx

    For the problem with the blue screen, you can check the link below: you receive an error message on a Windows XP-based computer: "Stop 0 x 00000077" or "KERNEL_STACK_INPAGE_ERROR": http://support.microsoft.com/kb/315266

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • VMware vCenter Server service stops or restarts at the start of data collection

    VMware vCenter Server service stops or restarts at the start of data collection

    I am using vCenter Server 5.0

    Whenever I have begin to collect data, vcenter service stops or restarts, if I stop data collection and to disable the agent, vcenter service again and works well.

    Please any help!

    Thanks in advance

    It is a known issue, relating to the collection of historical data being enabled (nonzero) in the properties of the VMWare Agent on the Agent status screen.

    Change to 0 to disable/re-enable the agent and it should fix the problem.

    Please open a ticket of level 1 with telephone support if you need more help.

  • VMware vCenter Server service stops after 1 hour

    I'm having a problem with my server vCenter 4.0. Less than an hour of a reboot, the VMware VirtualCenter Server service stops. If I restart it... It works for about an hour, then stops again. The following event is logged in the system event log. The VMware VirtualCenter Server service stopped with the error service special 2 (0x2).

    I'm SQL2005 Express is using a virtual machine, windows 2003 Std, 1vCPU, 4 Gb RAM Tomcat and SQL use a lot of memory.

    It is a similar problem to the responces you find on google - but not the same thing. My service will stop about an hour after a reboot clean and efficient.

    Ideas?

    I see that you have conveniently left a crucial part of the document...

    The part where is says this (pg 74).

    Base Group of 2005Express of Microsoft SQL Server that you can use for small deployments of virtual hosts up to 5 and 50 machines. If the machine has Microsoft SQL Native Client is installed, remove it before installing

    vCenter Server with the cluster database.

    If the machine has MSXML Core Services 6.0 installed, remove it before installing

    vCenter Server with the cluster database. If you are unable to delete using the

    Add or remove programs, use the Windows Installer CleanUp utility. See

    http://support.microsoft.com/kb/968749.

    Microsoft SQL Server 2005 for Microsoft Windows XP, apply MDAC 2.8 SP1 to the client. Use the native SQL

    So yes, you have exceeded your environment.  Still doesn't tell me if you looked at the SQL Express newspapers, because I'm sure that's the problem.

  • VMware vCenter Orchestrator Server service cannot be started

    After doing a clean install on the build version 5.1.1 2942, the VCO service will not start. All points configurations are green, VC to the top and running, the service account used for the service of a member of the local administrators. The event in the system log id reported as 7024, below error text:

    VMware vCenter Orchestrator Server service stopped with the error service particular incorrect function...

    If anyone has an idea, please advise. Thank you.

    Thanks for the tip. I was able to start the service by stopping the Foglight Quest agent running on the box first, then by restarting VCO. The article stresses that increase the RAM would help, however the virtual machine has been set to 10 GB, with abundance available for the JAVA virtual machine, but I always saw the issues mentioned in the wrapper.log file.

Maybe you are looking for

  • Firefox 18.0.2 aligns with full screen in Windows 7 (32 bit) even when I slide sideways. Anyone else seeing this?

    Windows 7 align on the net somewhere around 15 FF (FF drag window to the left or right edge of the desktop) has stopped working. FF now aligns only on the full screen. It's really a pain since I often have two Windows Open (FF at the request of the h

  • drop-down lists do not work

    When I'm FaceBook, drop-down desires do not work in Firefox, but work in Chrome. For example, when I click on the arrow next to the House, I should get a drop-down lists which includes the possibility of closing the session. But nothing happens. Also

  • Qosmio G50 - CD / DVD player will not read disc

    I've seen similar posts on this problem but I have not solved my problem. Sorry if it's repetitive for some. My * DVD drive is visible * on my computer, but when I put one * disk in it does not display / run * (it cannot be read). I tried to use the

  • USB 3 on a Z500 problem

    I bought Windows 7 so I could downgrade from Windows 8, installed all the drivers and BIOS updates to the new Version. As soon as I tried to install the Drivers for the USB 3, I had the BSOD, thinking that it is perhaps down to the version of the dri

  • Telnet, FTP & URL

    Hello everyone Good evening everyone. Now I m studying the connectivity please post single or example of Vi for FTP, Telnet, and URL. Thanks and greetings JAI