VMware VIM (vCenter) Where to put the sysprep files in Server 2008?

KB ID 0000420 

Problem

For newer servers I don’t really use templates anymore, but if you are deploying a lot of 2003 Windows servers in vSphere, then they can save you some time. Back in the days of vCenter 2.5 you just uploaded those sysprep files to the relevant folder in,

[box]C:Documents and SettingsAll UsersApplication DataVmwareVmware Virtual Centersysprep[/box]

But that location no longer exists (since Server 2008).

Solution

The location for sysprep files is now,

[box]C:ProgramDataVMwareVMware VirtualCentersysprep[/box]

 

Related Articles, References, Credits, or External Links

Download all the sys prep versions

vSphere – The ‘VMware VirtualCenter Service’ will not start

KB ID 0000526 

Problem

I tried to logon to my vCenter this afternoon (Server 2008 R2) and could not get on, I connected to the server to find it was up but the “VMware VirtualCenter Server” service was not running. So I tried to start it and got the following error,

Error:
Windows could not start the VMware VirtualCenter Server on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 2

As suggested I went to the event viewer and opened the system log. All it yielded was a standard 7024 Service could not start error.

Log Name: System
Source: Service Control Manager
Date: 25/10/2011 14:48:21
Event ID: 7024
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: My-VCenter.MyDomain.com
Description:
The VMware VirtualCenter Server service terminated with service-specific error The system cannot find the file specified.
The VMware VirtualCenter Server service terminated with service-specific error 2 (0×2)

Solution

As it turned out,this problem was related to having IIS on the server (Virtual Center runs Apache web server).

1. Click Start > In the search/run box type > Services.msc {enter}

2. Locate the IIS Admin Service > Stop and Disable it.

3.Locate the “World Wide Publishing” Service and stop and disable that also (Note: You can fix this problem by disabling this service only but lets have a belt and braces approach).

4. Now you can start the “VMware Virtual Center Server” service.

 

Related Articles, References, Credits, or External Links

NA

vSphere Error – ‘The operation is not allowed in the current connection state of the host’

KB ID 0000848 

Problem

You can see this either when attempting to power on a VM, or when attempting to deploy a VM from a template.

Solution

Thankfully it’s a really easy fix.

1. Connect to the console of your Virtual Center, (either through the VI client or via RDP)

2. Windows Key+R > Services.msc {Enter} > Locate the VMware Virtual Center Server service > Restart it.

Note: If you have the vCenter appliance, simply reboot it.

Related Articles, References, Credits, or External Links

NA

Veeam – “Task Failed Error: No connections could be made because the target machine actively refused it”

KB ID 0000758

Problem

Seen when running Veeam Backup and Replication.

Error
Task Failed Error: No connections could be made because the target machine actively refused it

Also when trying to connect to VMware VCenter from the Backup and Replication management console;

Error
Failed to connect to “Host-name” by SOAP, port 443, user “User-Name”, proxy srv: port:0
Unable to connect to the remote server
No connections could be made because the target machine actively refused it {IP-Address}:443

Solution

There are a few things that might cause this, make sure the Veeam Server can “Ping” the VCenter and the hosts. Also make sure if you use a proxy server there is an exception for traffic going to this IP address.

In my case the problem was simply that the VMware Server service was not running on the Virtual Center.

Related Articles, References, Credits, or External Links

Veeam Backup and Recovery Download

Veeam Availability Suite Download

Veeam Backup For Office 365 Download

Veeam Backup For Azure Download

Veeam Backup for AWS Download