Can not get Lion clients to access Lion SUS
Dear Macsters
I have recently set up Lion Server Software Update service. It is running and downloading away quite happily. I am trying to get my unmanaged Lion clients to pick up their updates from the server, but without success. All Macs inclduing the server are running 10.7.4, and are on the same network (but are not managed by the server).
I have attempted to get the clients to talk to the server by editing the com.apple.SoftwareUpdate.plist file with the following Terminal command:
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://MiniServer.local:8088/index.sucatalog
My Mini server is called 'MiniServer' - not exactly imaginative eh?
Question: Is this the correct CatalogURL to use? I have checked the /var/swupd/html folder, and there are three aliases called index-leopard-snowleopard.merged-1.sucatalog, index-leopard.merged-1.sucatalog, index-lion-snowleopard-leopard.merged-1.sucatalog. Should there be an alias called index.sucatalog?
I have confirmed that the com.apple.SoftwareUpdate.plist file has picked up this edit correctly.
When I run the software update on the client, it scans for a few seconds and tells me I am up to date, even though I know there are updates on the Server for it.
The Software Update Access Log shows that software update on the client is talking to the MiniServer with the following:
fe80::223:6cff:fe94:bdb - - [01/Jun/2012:19:15:29 +0200] 80 GET "/index.sucatalog" 302 384 "-" "Software%20Update/359 CFNetwork/520.4.3 Darwin/11.4.0 (x86_64) (MacBookPro5%2C1)"
fe80::223:6cff:fe94:bdb - - [01/Jun/2012:19:15:29 +0200] 80 GET "/cgi-bin/SoftwareUpdateServerGetCatalog" 200 57847 "-" "Software%20Update/359 CFNetwork/520.4.3 Darwin/11.4.0 (x86_64) (MacBookPro5%2C1)"
fe80::223:6cff:fe94:bdb - - [01/Jun/2012:19:15:29 +0200] 80 GET "/content/downloads/28/10/041-5297/KmrkhBJdf3vgrvm2KYr4Q6BbLk63BdFVP5/041-5297. English.dist" 200 1334 "-" "Software%20Update/359 CFNetwork/520.4.3 Darwin/11.4.0 (x86_64) (MacBookPro5%2C1)"
However, the error log shows there is a problem:
[Fri Jun 01 19:15:29 2012] [error] [client fe80::223:6cff:fe94:bdb] Jun 1 19:15:29 miniserver.home.private SoftwareUpdateServerGetCatalog[2484] <Debug>: REQUEST FOR CATALOG: /index-lion-snowleopard-leopard.merged-1.sucatalog
[Fri Jun 01 19:15:29 2012] [error] [client fe80::223:6cff:fe94:bdb] Jun 1 19:15:29 miniserver.home.private SoftwareUpdateServerGetCatalog[2484] <Debug>: HTTP HOST: miniserver.local:8088
[Fri Jun 01 19:15:29 2012] [error] [client fe80::223:6cff:fe94:bdb] Jun 1 19:15:29 miniserver.home.private SoftwareUpdateServerGetCatalog[2484] <Debug>: DOCUMENT ROOT: /var/db/swupd/html
[Fri Jun 01 19:15:29 2012] [error] [client fe80::223:6cff:fe94:bdb] Jun 1 19:15:29 miniserver.home.private SoftwareUpdateServerGetCatalog[2484] <Debug>: LINES WRITTEN: 1242
I have restarted the Software Update Service, repaired permissions, restarted the server without any success.
I have really run out of ideas on this - any inputs would be much appreciated.
I'm being greedy now, but in the event I get this thing running, how would I point my Software Update Server at itself to get its own updates?
Thanks in advance and regards,
BB