Home > VMware > VMWare 5.1 Tools RPC receive loop

VMWare 5.1 Tools RPC receive loop

UPDATE:  VMWare has posted a patch shortly after I blogged about this.  I have not tried this patch yet, but it appears to correct this problem, thanks to s7s for the heads up.

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2035778

I encountered a new error recently with the latest version on the VMWare tools.  On one of my Windows 2008 R2 servers, I had thousands of Event 1000

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

Of course, my first inclination was to search the knowledge base and forums for anyone else that had/has this issue.  VMWare has posted KB Article 2036350 that provides a workaround to this issue.  VMWare claims is a known issue and provides a workaround for your usage, the workaround is to disable logging within the VMTools until a fix is issued.  In putting the workaround in place, it seems that I could not find the tools.conf file that the Error level needs to be changed in, and it appears this is another bug where installing/upgrading the VMTools does not create the tools.conf file.

Like I said, I was using Windows 2008 R2, so the file should be located under C:\ProgramData\VMware\VMware Tools.  In my testing procedure, I determined that the RPC errors mentioned above seem to be cause by the tools configuration missing from the server, once you put the configuration in place and restart the VMTools service, all seems to be well.

Below are the contents of the tools.conf file, all you need to do is copy this and paste it into a text file, rename/save it as tools.conf and put the file in the correct location. Once the file is in place, restart the VMTools service.

tools.conf contents:

[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

tools.conf file location:

Windows 2000, XP, and 2003:

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

Windows Vista, 7, 2008, and 2012:

C:\ProgramData\VMware\VMware Tools\tools.conf

I do not know if this works in linux as well, but I do not see why it wouldn’t.

I hope this corrects the issue you are reading this for and you can go about your day and have cake …..

  1. Ron blessing
    January 3, 2013 at 11:46 am

    Thanks, this finally took care of the problem on our Xen servers.

  2. Derek
    January 23, 2013 at 3:18 pm

    Worked like a charm. Thank you!

  3. s7s
    January 30, 2013 at 6:02 am
  4. January 31, 2013 at 12:05 pm

    thanks worked

  5. Vauln
    February 27, 2013 at 6:19 am

    Hello,

    Thanks for the Tip!

    BTW, it’s also working for an other issue of the same kind :

    [ warning] [vmsvc:vmsvc] Unable to retrieve hardware address or ifIndex = xxxxxxx

    This one poped out after an upgrade from ESX 4.1 to ESXI 5.1 on a 2003 R2 W/ RAS Role

    Cheers*

  6. Chokri
    February 28, 2013 at 7:56 am

    Thank you ,
    it helped me a lot .

  7. Ed
    April 3, 2013 at 7:55 am

    Dudes. Why not just uninstall VMTools on the guest then reinstall? Works a treat.

    • April 3, 2013 at 9:14 am

      Well, I know for me, VMware Tools typically recommends a reboot after a tools install, and if you are experiencing this on a production server, I have to schedule reboots well in advance, so correcting the file and restarting the service is less intrusive than uninstalling/reinstalling the tools. Also, I find it interesting that people are still finding this article when an update was supposed to correct the issue.

  8. May 3, 2013 at 8:54 am

    Thanks for the post this works well. Not all of us work in perfect VMware environments where we have the capacity and time to upgrade to VMware 5.1 Update 1 (in an ideal world, that would be the best resolution to this problem). Thank you for the great work around!

  9. Michael
    June 11, 2013 at 2:03 pm

    Is this a workaround or a fix for the documented error. In creating the tools.conf file are we disabling error reporting? I want to fix the error but if it would be better to patch the hosts I can look into scheduling downtime.

    Thank

    Michael

    • June 11, 2013 at 3:25 pm

      It is indeed a workaround and since there is a patch/update that corrects this issue, I would do this until you can schedule a change window to update the tools. That is, unless you can quickly schedule downtime.

  10. August 23, 2013 at 9:41 am

    FYI: I was trying this fix and after restarting the VM Tools service a VMware Tools installer window briefly flashed up and then it rebooted my server without giving me an option to defer. (My production server at 10:30am in the morning on a weekday no less.)

  11. Christoph
    September 11, 2013 at 1:09 am

    Many thanks for your help.

    You made my day.

    BR
    Christoph

  12. MR Senice
    September 17, 2013 at 11:16 am

    Thank you

    worked like for me

  13. Sascha
    November 23, 2013 at 10:48 am

    Excellent help thank you very much I have been getting this every secound now its gone.

  14. Brandon
    December 2, 2013 at 11:38 am

    Thank You!! Quick and easy fix to my Error “[ warning] [vmusr:vmusr] Error in the RPC receive loop: RpcIn: Unable to send.”

  1. No trackbacks yet.

Leave a Reply

%d bloggers like this: