TheSaffaGeek

My ramblings about all things technical


5 Comments

vExpert 2011. Stunned…

Early this morning I received the mail that I have been selected as a VMware vExpert for 2011 Open-mouthed smile.

I have to be honest I really wasn’t sure if I would make it or not as the amount of top people who contribute to the VMware community as a whole is insane to say the least. But I’m overwhelmingly honoured that I’ve been selected and cannot wait to be a part of such an awesome group of my peers. For those of you who don’t know what the vExpert award is, here is the definition from the vExpert site:

The VMware vExpert Award is given to individuals who have significantly contributed to the community of VMware users over the past year. vExperts are book authors, bloggers, VMUG leaders, tool builders, and other IT professionals who share their knowledge and passion with others. These vExperts have gone above and beyond their day jobs to share their technical expertise and communicate the value of VMware and virtualization to their colleagues and community.

A massive thanks to the people that recommended me and to John Troyer and his team/panel for selecting me Open-mouthed smile. Also a massive congratulations to all the other people selected especially all the ones from the London VMUG. Also you can see the list of the other vExpert awardees on Arnim van Lieshout’s vExpert page

Gregg

Advertisements


64 Comments

Active Directory Web Services encountered an error while reading the settings for the specified Active Directory Lightweight Directory Services instance. Active Directory Web Services will retry this operation periodically. In the mean time, this instance will be ignored.

Yes the title is seriously long but I couldn’t think of a better title for it so used the error :).

Almost a month back now I was having the above errors in my Virtual Centre Server. Due to the need for a recent rebuild our Virtual Centre server is installed on a Windows 2008 server. The server is fine, but after going through the logs of the server I noticed the above error happening every couple of minutes, so I researched it and came across a VMware communities thread about the error but there was no real solution to it. So I scoured the web and came across the solution as it’s not a VMware error but a Windows/Microsoft error/event which “is only recorded if ADWS can’t read the ports that AD LDS is configured to use for LDAP and Secure LDAP (SSL).” The fix was on a Microsoft Active Directory blog, the last question was it exactly. I’ve posted the solution from the blog posting here:

Active Directory Web Services

Q: I’m seeing the following warning event recorded in the Active Directory Web Services event log about once a minute.

Log Name:      Active Directory Web Services
Source:        ADWS
Date:          4/8/2010 3:13:53 PM
Event ID:      1209
Task Category: ADWS Instance Events
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      corp-adlds-01.corp.contoso.com
Description:
Active Directory Web Services encountered an error while reading the settings for the specified Active Directory Lightweight Directory Services instance.  Active Directory Web Services will retry this operation periodically.  In the mean time, this instance will be ignored.
Instance name: ADAM_ContosoAddressbook

I can’t find any Microsoft resources to explain why this event occurs, or what it means.

A: Well…we couldn’t find any documentation either, but we were curious ourselves so we dug into the problem. It turns out that event is only recorded if ADWS can’t read the ports that AD LDS is configured to use for LDAP and Secure LDAP (SSL). In our test environment, we deleted those values and restarted the ADWS service, and sure enough, those pesky warning events started getting logged.

The following registry values are read by ADWS:

Key: HKLM\SYSTEM\CurrentControlSet\Services\<ADAM_INSTANCE_NAME>\Parameters
Value: Port LDAP
Type: REG_DWORD
Data: 1 – 65535 (default: 389)

Key: HKLM\SYSTEM\CurrentControlSet\Services\<ADAM_INSTANCE_NAME>\Parameters
Value: Port SSL
Type: REG_DWORD
Data: 1 – 65535 (default: 636)

Verify that the registry values described above exist and have the appropriate values. Also verify that the NT AUTHORITY\SYSTEM account has permission to read the values. ADWS runs under the Local System account.

Once you’ve corrected the problem, restart the ADWS service. If you have to recreate the registry values because they’ve been deleted, restart the AD LDS instance before restarting the ADWS service.

Thanks to Simon Long for reminding me I had this as a blog draft from over a month ago that I seem to have forgotten to post.

Gregg Robertson

*UPDATE* I’ve just had to do this fix for the latest installation of vCentre and as mentioned by people in the comments below the path is now HKLM\System\CurrentControlSet\Services\ADAM_VMwareVCMSDS\Parameters , the | SSL Port value is created as a REG_SZ instead of REG_DWORD and the value is empty. So you need to delete this and recreate it as a REG_DWORD with the value 636.