Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

software update service not working after upgrade to Mavericks and Server 3.0

I get an error that says


File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog


and the log on the server shows the following.


GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"


Any ideas on how to fix this?

Posted on Nov 1, 2013 4:57 AM

Reply
16 replies

Nov 1, 2013 7:10 AM in response to Mukund R.

That's the HTTP query from the client and probably from the web server logs.


A couple of probably-obvious questions...


Is Software Update Services configured, started and appearing as if it's working in Server.app?


Are there any SUS-related errors showing in the logs viewer (Applications > Utilities > Console.app), and not just in what diagnostics that Server.app shows?

Nov 1, 2013 11:08 AM in response to Bi-noix

Is there anything relevent in the SUS log files?


/var/log/swupd/swupd_access_log

/var/log/swupd/swupd_error_log

/var/log/swupd/swupd_syncd_log


What's the full status for SUS?


sudo serveradmin fullstatus swupdate


Here's what I see for an HTTP index.sucatalog query on the local Mavericks Server box (the formatting errors in the following are mine and/or the local forum software; the stuff displays correctly in Safari):


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>CatalogsList</key>

<array>

<string>http://updates.example.com:8088/content/catalogs/others/index-mountainlion-lion- snowleopard-leopard.merged-1.sucatalog</string>

<string>http://updates.example.com:8088/content/catalogs/others/index-10.9-mountainlion- lion-snowleopard-leopard.merged-1.sucatalog</string>

<string>http://updates.example.com:8088/content/catalogs/others/index-lion-snowleopard-l eopard.merged-1.sucatalog</string>

<string>http://updates.example.com:8088/content/catalogs/others/index-leopard-snowleopar d.merged-1.sucatalog</string>

</array>

<key>PrimaryCatalog</key>

<string>http://updates.example.com:8088/content/catalogs/others/index-mountainlion-lion- snowleopard-leopard.merged-1.sucatalog</string>

</dict>

</plist>

Nov 4, 2013 9:22 PM in response to MrHoffman

This is what I get from the status. There is nothing wrong that is being reported by the service. index.sucatalog is just absent.


$ sudo serveradmin fullstatus swupdate
Password:
swupdate:state = "RUNNING"
swupdate:lastChecktime = 2013-11-04 21:30:06 +0000
swupdate:syncStatus = "DONE"
swupdate:syncServiceState = "RUNNING"
swupdate:setStateVersion = 1
swupdate:lastProductsUpdate = 2013-11-04 21:41:30 +0000
swupdate:logPaths:swupdateAccessLog = "/var/log/swupd/swupd_access_log"
swupdate:logPaths:swupdateErrorLog = "/var/log/swupd/swupd_error_log"
swupdate:logPaths:swupdateServiceLog = "/var/log/swupd/swupd_syncd_log"
swupdate:readWriteSettingsVersion = 1
swupdate:checkError = no
swupdate:pluginVers = "10.8.93 (93)"
swupdate:updatesDocRoot = "/Library/Server/Software Update/Data/"
swupdate:hostServiceState = "RUNNING"
swupdate:autoMirror = yes
swupdate:numOfEnabledPkg = 623
swupdate:servicePortsAreRestricted = "NO"
swupdate:numOfMirroredPkg = 623
swupdate:autoMirrorOnlyNew = no
swupdate:startTime = 2013-11-01 12:01:56 +0000
swupdate:autoEnable = yes


In addition, access log looks like this:



172.25.31.21 - - [01/Nov/2013:18:55:07 +0530] 80 GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"
172.25.31.21 - - [01/Nov/2013:18:55:09 +0530] 80 GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"
172.25.32.25 - - [05/Nov/2013:10:34:22 +0530] 80 GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"
172.25.32.25 - - [05/Nov/2013:10:34:24 +0530] 80 GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"
172.25.32.25 - - [05/Nov/2013:10:34:37 +0530] 80 GET "/index.sucatalog" 404 306 "-" "Software%20Update (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro8%2C2)"


error log looks like this:



[Fri Nov 01 17:31:56 2013] [notice] Apache/2.2.24 (Unix) configured -- resuming normal operations
[Fri Nov 01 17:33:32 2013] [error] [client 172.25.32.25] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Fri Nov 01 17:50:31 2013] [error] [client 172.25.32.25] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Fri Nov 01 18:55:07 2013] [error] [client 172.25.31.21] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Fri Nov 01 18:55:09 2013] [error] [client 172.25.31.21] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Tue Nov 05 10:34:22 2013] [error] [client 172.25.32.25] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Tue Nov 05 10:34:24 2013] [error] [client 172.25.32.25] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog
[Tue Nov 05 10:34:37 2013] [error] [client 172.25.32.25] File does not exist: /Library/Server/Software Update/Data/html/index.sucatalog


service log looks like:



Nov  5 03:03:57 --- swupd_syncd[12595] <Info>: Updating local catalog: index-lion-snowleopard-leopard.merged-1.sucatalog
Nov  5 03:08:43 --- swupd_syncd[12595] <Info>: * Auto-copy (ALL) option is ON.  Applying option to eligible products.
Nov  5 03:08:43 --- swupd_syncd[12595] <Info>: * Auto-enable option is ON.  Applying option to eligible products.
Nov  5 03:08:45 --- swupd_syncd[12595] <Info>: Updating local catalog: index-leopard-snowleopard.merged-1.sucatalog
Nov  5 03:11:21 --- swupd_syncd[12595] <Info>: * Auto-copy (ALL) option is ON.  Applying option to eligible products.
Nov  5 03:11:21 --- swupd_syncd[12595] <Info>: * Auto-enable option is ON.  Applying option to eligible products.
Nov  5 03:11:23 --- swupd_syncd[12595] <Info>: Updating product updates information
Nov  5 03:11:24 --- swupd_syncd[12595] <Info>: Starting product update downloads
Nov  5 03:11:31 --- swupd_syncd[12595] <Info>: Sync Complete

Nov 5, 2013 5:48 AM in response to raimattern

raimattern wrote:


On the unmanaged client, open Terminal:

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.example.com:8088/index.sucatalog

Replace su.example.com with your server's FQDN.

http://support.apple.com/kb/HT4069


FWIW, if the OS X clients are hitting the server as per the selection of IP addresses in a log posting earlier, then at least that step has been performed. Unless there's an error with the specification.


The URL I'm using to view the software update catalogs in a web browser is this one:


http://updates.example.net:8088/catalogs.sucatalog


Domain obfuscated.

Nov 10, 2013 4:06 PM in response to Bi-noix

None of my 10.9 Clients will pull updates from 10.9 SUS. The reqest shows up in the server logs, but the


index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog


does not exist. I tried the workaround however server overwrites the file every time it starts up and deletes the 10.9 line in swupd.plist.


I also tried the knowledge base article, but same problem occurs.


[Sun Nov 10 17:50:03 2013] [error] [client 10.0.1.101] Nov 10 17:50:03 XXXXXX SoftwareUpdateServerGetCatalog[9063] <Debug>: REQUEST FOR CATALOG: /index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

[Sun Nov 10 17:50:03 2013] [error] [client 10.0.1.101] Nov 10 17:50:03 XXXXXX SoftwareUpdateServerGetCatalog[9063] <Debug>: HTTP HOST: 10.0.1.200:8088

[Sun Nov 10 17:50:03 2013] [error] [client 10.0.1.101] Nov 10 17:50:03 XXXXX SoftwareUpdateServerGetCatalog[9063] <Debug>: DOCUMENT ROOT: /Library/Server/Software Update/Data/html

[Sun Nov 10 17:50:03 2013] [error] [client 10.0.1.101] Nov 10 17:50:03 XXXXX SoftwareUpdateServerGetCatalog[9063] <Debug>: LINES WRITTEN: 0




Any other suggestions?

Nov 13, 2013 9:33 AM in response to J. David Arnold

I also had the same problem and found out by trial and error that the SUS server is not available until it has completed downloading the complete Catalog.


If you have upgraded to Mavericks, you need to do the following:


http://support.apple.com/kb/TS5305


If you have no patience and want to get you SUS running, so to Software Update on your Server and Select Manual.


Check the SUS Service Log and after 10 minutes or so, it should show Sync Complete.


Now your clients can access the SUS.


If you want to continue downlaoding the Catalog, the goto Updates page and tick "Automatically downlaod new updates"


When the Catalog is complete, you can go back select Automatic to enable all of the downlaods.


Worked for me.

software update service not working after upgrade to Mavericks and Server 3.0

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