Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can 10.5.8 Server serve 10.6 updates using Software Update Services?

Hi Folks,

I realize Snow Leopard Server is technically required for other Snow Leopard clients that want to use it as a Software Update server, but if my clients are all Snow Leopard and the server is still just Leopard Server, is there any modification or tweak I can make on the server that will allow it to also serve up Snow Leopard-related updates?

Many thanks,

Lurch

iMac, Mac OS X (10.6.1)

Posted on Sep 20, 2009 12:47 PM

Reply
36 replies

Jan 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 Critchlow

Jan 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 syncdlog shows:
swupd_syncd[351] <Error>: Unable to retrieve one or more of the catalogs listed in the index
swupd_syncd[351] <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
swupd errorlog shows:
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!

Jan 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:

<key>metaIndexURL</key>
<string> http://myserver.com:8088/content/meta/mirror-config-1.plist</string>
<key>portToUse</key>

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?

Feb 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:

<string> http://swscan.apple.com/content/catalogs/others/index-windows.merged-1.sucatalog</string>

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.

Feb 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.

ls /usr/share/swup/html/content/catalogs/others
index-leopard-snowleopard.merged-1.sucatalog.apple
index-leopard-snowleopard.merged-1.sucatalog.apple.previous
index-leopard.merged-1.sucatalog.apple
index-leopard.merged-1.sucatalog.apple.previous


I do not have index-leopard-snowleopard.merged-1.sucatalog
or index-leopard.merged-1.sucatalog

do the downloads need to complete before those files will generate or have I missed a step?

Apr 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 Bunny

Apr 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?

Apr 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.

Apr 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.

Can 10.5.8 Server serve 10.6 updates using Software Update Services?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.