Mukund R.

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

Close

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

  • All replies
  • Helpful answers

Page 1 Next
  • by MrHoffman,

    MrHoffman MrHoffman Nov 1, 2013 7:10 AM in response to Mukund R.
    Level 6 (15,627 points)
    Mac OS X
    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?

  • by Bi-noix,

    Bi-noix Bi-noix Nov 1, 2013 9:22 AM in response to MrHoffman
    Level 1 (4 points)
    Mac App Store
    Nov 1, 2013 9:22 AM in response to MrHoffman

    I have the same issue here.

     

    index.sucatalog is indeed not present. Looking at catalogs.sucatalogs, there is no mention of mavericks ! (snow leopard to mountain lion only are mentionned).

    Does this mean Mavericks is not supported yet ?

  • by raimattern,Helpful

    raimattern raimattern Nov 1, 2013 10:52 AM in response to Bi-noix
    Level 1 (104 points)
    Nov 1, 2013 10:52 AM in response to Bi-noix

    This issue has been solved already. Search this forum !!!!!

  • by MrHoffman,

    MrHoffman MrHoffman Nov 1, 2013 11:08 AM in response to Bi-noix
    Level 6 (15,627 points)
    Mac OS X
    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>

  • by Mukund R.,

    Mukund R. Mukund R. Nov 4, 2013 9:22 PM in response to MrHoffman
    Level 1 (35 points)
    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
    
    
  • by Mukund R.,

    Mukund R. Mukund R. Nov 4, 2013 9:31 PM in response to Mukund R.
    Level 1 (35 points)
    Nov 4, 2013 9:31 PM in response to Mukund R.

    Reading the other thread on this topic, https://discussions.apple.com/message/23608397#23608397  I am able to see some changes that are required to the configuration to make this work. https://gist.github.com/erikng/7140045  I will go ahead and make those changes for now.  It looks like a bug in the product.

  • by Mukund R.,

    Mukund R. Mukund R. Nov 5, 2013 1:30 AM in response to Mukund R.
    Level 1 (35 points)
    Nov 5, 2013 1:30 AM in response to Mukund R.

    I made those changes and the update server downloaded software for Mavericks and created a new catalogue, but it still doesn't work for the client.  The client's error remains that "Can't load data from the Apple Software Update server."

  • by raimattern,

    raimattern raimattern Nov 5, 2013 3:10 AM in response to Mukund R.
    Level 1 (104 points)
    Nov 5, 2013 3:10 AM in response to Mukund R.

    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

  • by MrHoffman,

    MrHoffman MrHoffman Nov 5, 2013 5:48 AM in response to raimattern
    Level 6 (15,627 points)
    Mac OS X
    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.

  • by Bi-noix,

    Bi-noix Bi-noix Nov 9, 2013 5:07 PM in response to MrHoffman
    Level 1 (4 points)
    Mac App Store
    Nov 9, 2013 5:07 PM in response to MrHoffman

    Have you had a look at http://support.apple.com/kb/TS5305 ?

     

    I just tried deleting and reconfiguring the service, as advised in the kb, but I get an error though.

  • by J. David Arnold,

    J. David Arnold J. David Arnold Nov 10, 2013 4:06 PM in response to Bi-noix
    Level 1 (0 points)
    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?

  • by mikebourt,Helpful

    mikebourt mikebourt Nov 13, 2013 9:33 AM in response to J. David Arnold
    Level 1 (5 points)
    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.

  • by Mukund R.,Solvedanswer

    Mukund R. Mukund R. Nov 13, 2013 7:10 PM in response to raimattern
    Level 1 (35 points)
    Nov 13, 2013 7:10 PM in response to raimattern

    The clients were pointing to the server, the problem went away after the server finished downloading the complete catalog.  I did edit the conf files as mentioned in the other post, but as per the KB article by Apple, it might be sufficient just to delete the conf files to let the server recreate them.  http://support.apple.com/kb/TS5305

  • by applebit924,

    applebit924 applebit924 Nov 25, 2013 8:42 AM in response to Mukund R.
    Level 1 (5 points)
    Nov 25, 2013 8:42 AM in response to Mukund R.
Page 1 Next