WSUS SUS .. Wiki Contributors .. I Love WSUS .. WSUS Wiki Diary .. Wiki Statistics .. To Do Page Miscellaneous Stuff .. Other Resources .. Do You Know? Terms of Use Trademarks Privacy Statement
|
SYMPTOMS Event ID: 506 Description The SelfUpdate Tree is not working. Clients may not be able to update to the latest WSUS client software and communicate with the WSUS Server. There are several reasons for this potentially happening. Cause One reason is that the SelfUpdate service accesses the WSUS server on 127.0.0.1:80. This does not work if you have the website bound to a specific IP address in your IIS configuration. This can also be caused by incorrect permissions on the self update tree or possibly the entire self update tree or even IIS is corrupted.Another possible time you see this is if the same server that is running WSUS is also running another web site. Workaround The specific workaround depends on the exact cause of this error. TO resolve the issue around using 127.0.0.1, you can either to set your IIS Configuration to respond to "All unassigned" addresses or add 127.0.0.1 to the list of IP addresses used for Selfupdate. If your issue is around permisiosns, verify that the SelfUpdate virtual folder in IIS includes anonymous access rights for IUSR account. If you are running multiple web sites on one system, you can try adding a host header for the other web site(s) on your system. As a final way to solve the issue, remove both WSUS, IIS and reboot. Then re-install IIS and WSUS. Status You can work around this in either of ways suggested above. Comments:From smanross - 6/20/07 6:08 PM strike that last comment.. it didn't help.. another issue was masking the problem. reinheriting the SelfUpdate Tree did not work.
From smanross - 6/4/07 6:40 PM I've been having said selfupdate issue again for a year now, after a complete reinstall of my server (new hardware acquisition). and in the process of getting it all working agian, I noticed that after reinheriting the IUSR_SERVERNAME user/password, the SelfUpdate tree started working again. :) yeah... yet another way in which it can be fouled up.
From vman - 2/5/07 3:33 PM I have been through all of the 'fixes' for the selfupdate tree and this is what I have surmised...... I am not using the default port 80 OR 8530 for my wsus install
So, it appears that WSUS only wants port 80 OR 8530 and you cannot put it through a port restricted firewall in order for it to correctly do its job. Why is that? If MS lets you port an IIS config to something wacky like 49324 why will it not make the changes at a global level and make the default site talk?
IF anyone can 'splain this to me I would appreciate it.
vman From michaelg - 1/8/07 4:51 AM Followed
OS: SBS2003 Premium Edition with SP1 for SBS2003. (Full install with ISA2004) To resolve this issue I run tinyget -uri:/selfupdate/iuident.cab -srv:servername -a:0 -h and it get error 403. I checked all permissions and still no luck. Then I check ip listen table for IIS and found that IP address resolved by tyniget was not in that list. I followed http://support.microsoft.com/kb/813368 and after restarting related services that error didn't appear any more.
From lizzard - 12/28/06 4:23 AM Solved the problem by doing the following:
-had to remove ssl required under directory security. -under selfupdate->properties->directory security->anonymous access i had to use not the IUSR_xxx of the localhost, but the IUSR of the other server (witch is the domain controller). We hav installed WSUS on this two servers. From slackadocious - 12/2/06 11:43 PM I experienced this error after a failed attempt to install wsus service pack 1 [http://support.microsoft.com/kb/919004] what happened was the folder /program Files/update services/selfupdate had somehow been removed. i recreated the folder and rebooted. no more problem. wsus runs fine now but the problem returns every time i attempt to install the update listed Im not sure but i think that wusus didnt even need this update because i installed from the 'wsus with sp1' self installer. My current wsus build is: Build 2.0.0.2472 if i am current i will just deny access to install that update in the future. From Jod - 9/14/06 7:42 AM Well after loads of messing around I finally figured out what was happening with my particular issue with the selfupdate and 506 error. I could see it was definatly permissions but no matter what combination I tried I still had the error. I finally tracked it down to a setting in the local system policy that Denied Guests the ability to logon to this computer from the network, changed setting, reapplied policy and lo and behold, away we go. Worth checking if you still have this issue, particulary on a fresh server, the sharepoint issue is different.
From hanomat - 7/2/06 4:26 PM This is for NZLamb how do i do what you posted
From sghazzi - 6/12/06 1:35 PM Well guys, the comments you all posted are great. We found a problem with the site requiring ssl encryption at the root of the tree. Once remove selfupdate started working on its own. It is worth a try !!! From laurin1 - 6/12/06 12:35 PM I've tried all the methods above, except the host headers. I've got two website (default and one other) on my server, but the second website is on port 81 (and I'm pretty certain that this error did not surface until well after I had configured this second site.) In fact, i don't know that anything on my end changed around the time that this issue began to occur, which leads me to believe that some patch or update from MS is what broke it.
From zdoucet - 4/20/06 11:48 AM I believe our issue was related to having SharePoint installed on the same server. I did quite a few of the of the things mentioned in this post, but did not resolve the issue until I followed the steps in this article: http://technet2.microsoft.com/WindowsServer/en/Library/b23562a8-1a97-45c0-833e-084cd463d0371033.mspx Symptoms: on wsus admin page, you get a error stating that the SelfUpdate service is not started. When you restart the "update services" service refresh the page, the error goes away and the WSUS admin page looks fully functional. Then after about 10 minutes, it breaks again.
These are the sections in the article I started with and my results for each. Check for the selfupdate tree on the WSUS server - ran vbs script (my directory was different than the one in the article, so check yours - just find the script and run it!) Check IIS logs on the WSUS Server - I had the 401 error in my IIS logs, so I went onto the next step. If you have installed Windows® SharePoint® Services on the default Web site in IIS, configure it to not interfere with Self-update- After I did this section, I restarted the update service and did not receive the 506 event. It works! Now I have to go work on my group policy problem. It never ends, but boy, it feels good when you fix something. Thanks for all your help above. From Binary - 4/19/06 4:41 PM I just had this problem on a brand new Small Business Server 2003 machine. After installing WSUS to the new web site on port 8530, I noticed the it also installed the SelfUpdate virtual directory on that site rather than installing it into the Default Web Site. Thanks to the help on this page I resolved it with the following actions: First I ran installselfupdateonport80.vbs. After that I ran TinyGet and found I was getting "Forbidden" errors when trying to access the site by the server name: tinyget -uri:/selfupdate/iuident.cab -srv:servername -a:0 -h After that I looked at the properties of the SelfUpdate virtual directory and found that its default Directory Security IP address access restrictions was set to "Deny" rather than "Granted". I changed it and ran the TinyGet command line again and got HTTP/1.1 200 OK. After that I restarted "Update Services" service and verified that the Application log was not getting any new errors. From Spanky - 4/17/06 10:44 AM I've followed the advice in many forums and have done the same using the posts here. I have narrowed it down to a permissions problem. My WSUS is a standalone (W2k3 SP1) and is set to run on port 80. It is in AD, but the local Anonymous account is being used, not one at the Domain level. I've used the following to verify that it is permissions causing the problem: tinyget -uri:/selfupdate/iuident.cab -srv:127.0.0.1 -a:0 -h When using Anonymous it fails everytime. I've even gone back through and prefaced the IUSR_servername account with the servername\ and have change the password in user manager and in IIS to match. When I enable NT Authentication in IIS on the SelfUpdate folder tree and use my domain account it works (I modded the perms on the folder tree to include Everyone read access.) Even with Everyone and the IUSR_Servername account explicately given NTFS perms, it still fails with a 401 error. I just don't get it. I've unistalled and reinstalled twice now. This has to be an IIS thing, what else could it be? From helsby - 3/29/06 8:00 AM I got this error message after changing the default website to redirect to the exchange server logon page via ssl. The fix (as above) was to run C:%ProgramFiles%/Update Services/Setup/InstallSelfupdateOnPort80.vbs and then change the ip address that "Internet maintenance" was listening on to 127.0.0.1
From cparrish70 - 2/17/06 7:59 AM I found another way to fix this problem. Grant Read, Read&Execute, and List Folder Contents NTFS permissions to the entire tree for C:\Program Files\Update Services\SelfUpdate and all subfolders and files of Selfupdate to the IUSR_<ServerName> account. This seemed to fix the problem for me since I have to control permissions on a granular level and I modified the default permissions. If you have ever modified the permissions for any of the higher levels, and propogated them down, that may be the source of your problem. From mohamedr - 2/6/06 10:53 AM Hi I had faced the same problem. What I did is, In IIS direcory security , insteaed of IUSR_Machine name I have given a user of the group "WSUS ADMIN". It worked fine. Rahees
From maespe - 1/12/06 2:15 PM I also had Event id 506 in my Event log and the homepage in SUS said Selfupdate service was not started. This happened to me the next day I uninstalled SUS from our server. Seems it changed some path in the IIS for WSUS.
The fix: I ran C:%ProgramFiles%/Update Services/Setup/InstallSelfupdateOnPort80.vbs on the server and voila! worked!
From NZLamb - 1/12/06 2:09 PM I had this issue once I forced the use of HTTPS for WSUS as recommended by Microsoft. Simply remove the requirement for SSL on the SelfUpdate virtual directory.
From tms - 12/16/05 5:59 AM This problem also can be caused by file system ACCESS DENIED error for Anonymous web user (IUSR_xxx). This error can be result of: 1. Not enought rights in \Program Files\UpdateServices\Selfupdate 2. Explicit deny rights in same catalog 3. User cannot reach \Program Files\UpdateServices\Selfupdate because used do not have Bypass Traverse Checking right.
To solve this situation you need to (depends of what is really caused problem) add user read rights to Selfupdate directory, or remove deny read rights. In last situation you have two methods: you can add list right to all parent directories of Selfupdate (to root of drive, to "Program Files", and to "Update Services") or you can grant Bypass Traverce Checking right to this user (this is set in your local or domain policy). From smanross - 8/19/05 3:28 PM I just figured this one out... This isn't technically a problem with WSUS, but with IIS in general. 1. Verify IIS Auth on the SelfUpdate tree uses anonymous (I took off Windows Auth for the heck of it) 2. Add a Server Binding for 127.0.0.1:80 in IIS to your WSUS site (if you are using a specific IP for your WSUS site) If using IIS 6 Secure Process Isolation mode (also do 3,4 and 5) -- try it anyway if you don't know what secure process isolation mode is -- it won't hurt (unless you are using anonymous elsewhere in your website, and then do step 5 for those webs/nodes also): 3. Verify the username for anonymous access in the ISM (ISM->WSUS Site->Properties->Directory Security->Edit) 4. Change the IIS user password to a new PW in AD (from step 3) 5. Change the Anonymous user password in the "ISM->WSUS Site->Properties->Directory Security->Edit" and "ISM->WSUS Site->SelfUpdate->Properties->Directory Security->Edit" to match it's newly defined password from step 4. Optional: use IIS Resource Kit tool tinyget like so (from the WSUS Server) for additional troubleshooting: tinyget -uri:/selfupdate/iuident.cab -srv:127.0.0.1 -a:0 -h (You should get a HTTP 1.1 200 OK if it is all working correctly) -a:0 forces anonymous -h sends back header info only If you are getting back a 401 it's a permissions or password problem (Verify that permissions allow the IUSR_SERVERNAME on the SelfUpdate directory). From cbovikings - 8/18/05 2:13 PM I had to give Everyone Read NTFS permissions to the C:\Program Files\Update Services\SelfUpdate folder and all subfolders/files. This fixed the problem.
Last Modified 2/10/06 10:50 AM | Hide Tools |