Skip navigation

Can not get Lion clients to access Lion SUS

1237 Views 5 Replies Latest reply: Jul 8, 2012 11:24 PM by DeeBeeMac RSS
BiscuitBarrel Level 1 Level 1 (0 points)
Currently Being Moderated
Jun 1, 2012 10:38 AM

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

  • DeeBeeMac Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 20, 2012 11:13 AM (in response to BiscuitBarrel)

    I seem to be facing a similar issue, although i know there are updates waiting, the client always returns no updates available.

     

    Did you manage to sort this issue out?

     

    These are the errors i am getting in the software update error log

     

    [Wed Jun 20 11:58:47 2012] [error] [client xxx.xxx.x.xx] Attempt to serve directory: /var/db/swupd/html/content/downloads

    [Wed Jun 20 14:04:38 2012] [error] [client xxx.xxx.x.xx] Jun 20 14:04:38 <FQDN Address> SoftwareUpdateServerGetCatalog[11916] <Debug>: REQUEST FOR CATALOG: /index-lion-snowleopard-leopard.merged-1.sucatalog

    [Wed Jun 20 14:04:38 2012] [error] [client xxx.xxx.x.xx] Jun 20 14:04:38 <FQDN Address> SoftwareUpdateServerGetCatalog[11916] <Debug>: HTTP HOST:  <FQDN Address>:8088

    [Wed Jun 20 14:04:38 2012] [error] [client xxx.xxx.x.xx] Jun 20 14:04:38 <FQDN Address> SoftwareUpdateServerGetCatalog[11916] <Debug>: DOCUMENT ROOT: /var/db/swupd/html

    [Wed Jun 20 14:04:38 2012] [error] [client xxx.xxx.x.xx] Jun 20 14:04:38 <FQDN Address> SoftwareUpdateServerGetCatalog[11916] <Debug>: LINES WRITTEN: 1646

  • DeeBeeMac Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 8, 2012 11:24 PM (in response to BiscuitBarrel)

    That's Great @BiscuitBarrel, i long gave up on the Apple SUS and moved over to Reposado running out of Fusion on the Mac Server. I just can't keep faith with that one service on Lion Server. The only downside to Reposado is downloading every update on the server which may not work for you (About 100GB).

     

    Regards,

    DBM

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.