Vsphere 5.1 – VMtools – RPC error

The Observation

After our 4.1 to 5.1 upgrade we started to notice that our Windows hosts were logging a large number of Event log warnings from VMtools.

The Error

The content of the eventid 1000 says and is found in the Application Event Log.

“[ warning] [vmusr:vmusr] Error in the RPC receive loop: RpcIn: Unable to send.”

VMtools
VMtools

The Casue

These errors do not seem to cause any functional issues that I have seen, they are just a pain as you can get quite a few. Besides a tidy event log = a happy server! So why do we get them, well it appears to happen when two concurrent user sessions are in use, over RDP. They can be the same user or different users.

The Fix

It seems that when VMtools installs it does not create one of its files correctly. In fact its empty! The file is named tools.config and can be found the following locations, clearly if you cannot find it you will have to create it.

  • Windows XP and Windows Server 2000/2003

C:\Documents and Settings\All Users\Application Data\VMware\VMware Tools\tools.conf

  • Windows Vista, Windows 7, and Windows Server 2008

                C:\programData\vmware\vmware tools\tools.config

You will have to place the following entries into the file.

[logging]

log = true     

# Enable tools service logging to vmware.log

vmsvc.level = debug

vmsvc.handler = vmx   

# Enable new “vmusr” service logging to vmware.log

vmusr.level = error

vmusr.handler = vmx

# Enable “Volume Shadow Copy” service logging to vmware.log

vmvss.level = debug

vmvss.handler = vmx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s