This week I was teaching the “What’s New” class. This is a two day course which is about upgrading ESX 2.x.x/VirtualCenter 1.x.x to ESX 3.x.x/VirtualCenter 2.x.x. It’s also about updating people skills to the new features in Vi-3. Anyway, we had an interesting error message come up on the second day, when trying to connect the Vi Client Console to a virtual machine. The error message said “Error connecting:  Error connecting to /usr/lib/vmware/bin/vmware-vmkauthd-start process. Do you want to try again?”. On checking the log files you could see the error happening:

Found vmkauthd: /usr/lib/vmware/bin/vmware-vmkauthd-start 
vmware-authd[21792]: Redirected mks to
xinetd[911]: START: vmware-authd pid=22871 from=
vmware-authd[22871]: login from as 527a7bfc-3d21-989c-9983-b7c10c8cb2e0
vmware-authd[22871]: Found vmkauthd: /usr/lib/vmware/bin/vmware-vmkauthd-start 
vmware-authd[22871]: Failed to spawn vmkauthd (path=’/usr/lib/vmware/bin/vmware-vmkauthd-start’, loader=’(null)’)
vmware-authd[22871]: Failed to redirect mks: failed to spawn vmware-vmkauthd

mks stands for mouse, keyboard, and screen – or KVM to you and me. 

Anyway, trying again didn’t seem to help. It felt a lot like some kind of timeout, perhaps with authentication. Searching on VMware’s KB didn’t raise up and immediate answers. So guy from the course (Dan Nicholas, and he works at Eli

    Requires Free Membership to View

Lilly…) had a look on the VMTN Forums as he remembered seeing this problem a few months ago – apparently it affected his upgrade and his clean installations. He pretty quickly found the forum post that fixed this issue. This is it here:

First you edit the /etc/vmware/config file - and add the line vmauth.server.alwaysproxy=TRUE

then restart the vmware-vmkauthd service with service vmware-vmkauthd restart

Problem solved…  Many thanks to Dan for remembering the forum post and this problem!

This was first published in June 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.