This discussion is archived
36127 Views 36 Replies Latest reply: Aug 10, 2010 6:21 AM by UKenGB
Currently Being ModeratedDec 10, 2009 12:55 PM (in response to Jan Uschok)Thanks for the hack Jan, took a little futzing around but updates are being served up without issue now. Good to be able to add this functionality to 10.5 without having to fully upgrade to 10.6 server.
Currently Being ModeratedDec 28, 2009 10:40 PM (in response to Lurch66)A little late to the party on this one, but this looks awesome! One question: do you still retain the ability to download only the updates you want via SA, or do these changes require you to download the entire library?
FredPowerBook G4/1.67GHz, Mac OS X (10.5.8)
Currently Being ModeratedJan 6, 2010 10:33 AM (in response to Lurch66)I have followed all the directions to a T and all of the new snow leopard updates show up in my updates list. It appears that things are downloading because my network activity is way up.
The only thing that is concerning me right now is that every second I get this error in the error log
(2)No such file or directory: mod_bandwidth : Can't create/access master file /etc/swupd/apachebw/master/15:683584
I assume it is trying to create a directory for downloading the new updates. Any thoughts?
Message was edited by: Brian CritchlowMacBookPro Unibody, Mac OS X (10.6.2)
Currently Being ModeratedJan 8, 2010 3:35 PM (in response to Lurch66)Dont forget to add a redirect in your webserver like I did. Took me 3 days to figure it out.
http://myserver.com:8088/index-leopard-snowleopard.merged-1.sucatalogMacBookPro Unibody, Mac OS X (10.6.2)
Currently Being ModeratedJan 18, 2010 3:15 AM (in response to Brian Critchlow)@Brian Critchlow: can you help me out, please?
I did exaclty as described above, but I`m getting no result.
In SUS I see new updates, for Snow Leopard, but they are all greyed out!
Nothing helps, not restarting the service, not refreshing, copy now button is not responding.
So, as you suggested, I changed in /usr/share/swupd/html/content/meta/mirror-config-1.plist file the last three entries after <key>CatalogsList</key>, swscan.apple.com with myserver.example.com:8088
All three entries because I have mixed network with all OS-ses, from 10.4 to 10.6
swupd_syncd <Error>: Unable to retrieve one or more of the catalogs listed in the index
swupd_syncd <Error>: swupd_syncd failed with CantCacheDataException: Couldn't write http://myserver.example.com:8088/content/catalogs/index.sucatalog to /usr/share/swupd/html/content/catalogs/index.sucatalog.apple. Error message:file doesn’t exist
File does not exist: /usr/share/swupd/html/content/catalogs/index.sucatalog
File does not exist: /usr/share/swupd/html/content/catalogs/others/index-leopard.merged-1.sucatalog
File does not exist: /usr/share/swupd/html/content/catalogs/others/index-leopard-snowleopard.merged- 1.sucatalog
I checked by hand and missing files are all there, now I`m stuck at dead end
Thanks for help in advance!iMac 27"
Currently Being ModeratedJan 18, 2010 10:46 AM (in response to klemencek)Have you done step 4 as layed out by Jan?
4) Edit /etc/swupd/swupd.plist and change the metaIndexURL entry to look like this:
once you edit the two plist files, you should be at the stage where SWUPD begins to download the new updates. Do you see the blue dot next to each update showing that they have been copied? If so, have you checked 'enable' next to them to make them available to your clients?MacBookPro Unibody, Mac OS X (10.6.2)
Currently Being ModeratedFeb 10, 2010 7:29 AM (in response to Jan Uschok)What about serving Windows updates? Everything works great for 10.4/5/6 updates, but when I add this line:
to the CatalogsList array in the mirror-config-1.plist file, I start getting the following error when I start SUS:
<Error>: swupd_syncd failed with SUCatalogLoaderException: We've been foiled by the SUCatalogLoader: no local display name. Drat.
Any ideas? The Snow Leopard SUS manual contains exactly zero info on Windows updates.MacBook Pro 15" 2.33GHz, Mac OS X (10.6.2), 4GB RAM / 250GB HD
Currently Being ModeratedFeb 26, 2010 6:27 AM (in response to Jan Uschok)Ok, I must be missing something here or maybe I am just not patient enough.
I have followed all the instructions and the updates appear to be downloading, but I do not see the catalog file to create a symbolic link to.
I do not have index-leopard-snowleopard.merged-1.sucatalog
do the downloads need to complete before those files will generate or have I missed a step?
Currently Being ModeratedFeb 26, 2010 10:54 AM (in response to Daniel O\\\'Reilly)Yep, I was just not patient enough, the catalog file load after all the software updates have been copied.
Everything works #1 Ay OK now.
Currently Being ModeratedMar 6, 2010 2:50 PM (in response to Lurch66)Haven't had the chance to try this yet but it's exactly what I've been looking for. In December we replaced several older XServes with two new Intel machines and I've just reformatted one of the old ones to use exclusively as a SUS. If it works I'll be delighted.
Currently Being ModeratedApr 12, 2010 8:56 AM (in response to Lurch66)I believe I have everything set up according to the instructions. I've stopped and started SUS, cleared my DNS cache, then try to connect to download updates. However, I get a "Software Update can't check for updates because of a network problem" message. When I ping swscan.apple.com, it does respond back with the IP address of my local SUS server, which indicates to me my DNS is set up properly. (My SUS server gets its DNS from a remote server.)
When I navigate to http://swscan.apple.com:8088/index.sucatalog, the catalog page comes up, but in the updates list, it has http://mydomain.org:8088/content/downloads/etc instead of http://mysus-server.mydomain.org:8088/content/downloads/etc. mydomain.org is a completely different server from mysus-server.mydomain.org. Could this be the issue? If so, then how do I get it to list the correct URL? If this isn't the issue, then any ideas what it could be?
Thank you for any assistance you can provide. I'm new to Mac, but not to Linux or Windows.
Message was edited by: Marshmallow BunnyMacBook Pro
Currently Being ModeratedApr 12, 2010 11:40 AM (in response to Marshmallow Bunny)OK, I figured out the network problem message. I needed to enter "defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://mysus-server.mydomain.org:8088/index-leopard-snowleopard.merged-1.sucatal og" at the terminal prompt. However, I have several hundred Macs in my network, so this isn't feasible. Also, it seems logical to me hacking the DNS to point to my server should do the trick without having to touch all the clients, but it isn't working. Without changing the CatalogURL defaults, the clients don't appear to be contacting my SUS server, even though it responds to ping and web requests. Any ideas?MacBook Pro
Currently Being ModeratedApr 12, 2010 12:58 PM (in response to Marshmallow Bunny)Marshmallow Bunny,
check out this article on MacOSXHints.com, it should get you up and running transparently w/o editing the host files on each client.
Currently Being ModeratedApr 14, 2010 9:21 AM (in response to Geoffrey Mattheis)Thank you, Geoffrey. I've been banging my head against those instructions, as well.
I found if I correct the FQDN in my index-leopard-snowleopard.merged-1.sucatalog file and use the defaults write CLI command on my workstation, I can connect and download the updates. However, the next time my SUS server downloads an update, it rewrites the URL in the *.sucatalog file, removing my server's hostname. Then, if I try to connect, I get the message "Your software us up to date", which I know is not correct. (I've intentionally NOT installed any updates since 10.6.2 on my workstation.)
So, my question is, what could be causing my SUS server write the wrong URL in the *.sucatalog files (http://mydomain.org:8088/content/downloads/etc instead of http://mysus-server.mydomain.org:8088/content/downloads/etc)? I have rechecked my config files several times, and I don't see any errors. If I can fix this one issue, then I will be one step closer to having my SUS server working properly.
Thank you.Mac OS X (10.5.8)
Currently Being ModeratedApr 14, 2010 3:41 PM (in response to Marshmallow Bunny)Problem solved. It seems hostname was resolving to mydomain.org, instead of mysus-server, even though every GUI setting showed hostname set to mysus-server and the FQDN set to mysus-server.mydomain.org. I ran changeip in the CLI to correct the hostname, ran the updates again, and my *.suscatalog files then reflected the correct URLs. Not sure what would cause this, but that issue is fixed now.MacBook Pro