-
All replies
-
Helpful answers
-
Jan 6, 2014 10:36 AM in response to 105437by Strontium90,Enable Caching Server. That will get you 10.9 updates.
-
Jan 6, 2014 10:45 AM in response to 105437by MrHoffman,Assuming you're running OS X Server 10.9 or later here, check the SUS server logs and see if SUS is generating any errors, or has tipped over for some reason.
-
Jan 6, 2014 12:42 PM in response to Strontium90by 105437,I'm not sure how to enable caching server... I'll do a search and see what I can come up with.
I ran a couple of swupd_syncd commands and got the following.
Mavericks-Server:~ macserver$ swupd_syncd -sync
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>:
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>: swupd_syncd 10.9 (155) for OS X Server 10.9 (Darwin/x86_64)
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>: ========== Sync Started ==========
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>: Checking service data location: /Library/Server/Software Update/Data/html
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving catalog list
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Error>: Metaindex file save failed (/Library/Server/Software Update/Data/html/catalogs.sucatalog.alternate)
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Error>: Public (exported) metaindex file save failed (/Library/Server/Software Update/Data/html/catalogs.sucatalog)
Jan 6 15:01:26 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving deprecated udpates list
Jan 6 15:01:27 Mavericks-Server.local swupd_syncd[6197] <Error>: Download for "Deprecations.plist" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:27 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (SECURE): index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:28 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:28 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (STANDARD): index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:30 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:30 Mavericks-Server.local swupd_syncd[6197] <Error>: All download attempts failed for catalog index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:30 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (SECURE): index-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:31 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-lion-snowleopard-leopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:31 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (STANDARD): index-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:35 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-lion-snowleopard-leopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:35 Mavericks-Server.local swupd_syncd[6197] <Error>: All download attempts failed for catalog index-lion-snowleopard-leopard.merged-1.sucatalog
Jan 6 15:01:35 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (SECURE): index-leopard-snowleopard.merged-1.sucatalog
Jan 6 15:01:36 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-leopard-snowleopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:36 Mavericks-Server.local swupd_syncd[6197] <Info>: Retrieving remote catalog (STANDARD): index-leopard-snowleopard.merged-1.sucatalog
Jan 6 15:01:40 Mavericks-Server.local swupd_syncd[6197] <Warning>: Download for "index-leopard-snowleopard.merged-1.sucatalog.download" failed (reason: The operation couldn’t be completed. (NSURLErrorDomain error -3001.))
Jan 6 15:01:40 Mavericks-Server.local swupd_syncd[6197] <Error>: All download attempts failed for catalog index-leopard-snowleopard.merged-1.sucatalog
Jan 6 15:01:40 Mavericks-Server.local swupd_syncd[6197] <Error>: Unable to retrieve one or more of the catalogs listed in the index
Jan 6 15:01:40 Mavericks-Server.local swupd_syncd[6197] <Error>: Unable to retrieve catalog(s) from the Apple server
Jan 6 15:01:40 Mavericks-Server.local swupd_syncd[6197] <Info>: Sync Complete
Mavericks-Server:~ macserver$ swupd_syncd -showDeprecated
Jan 6 15:02:31 Mavericks-Server.local swupd_syncd[6243] <Info>: Checking service data location: /Library/Server/Software Update/Data/html
Jan 6 15:02:31 Mavericks-Server.local swupd_syncd[6243] <Info>: Retrieving catalog list
Jan 6 15:02:31 Mavericks-Server.local swupd_syncd[6243] <Error>: Public (exported) metaindex file save failed (/Library/Server/Software Update/Data/html/catalogs.sucatalog)
Jan 6 15:02:31 Mavericks-Server.local swupd_syncd[6243] <Info>: Retrieving deprecated udpates list
-
Jan 6, 2014 1:51 PM in response to 105437by Strontium90,★HelpfulOuch, That is a lot of errors.
So, if your server is Mavericks (which based on the hostname of Mavericks-Server.local it is), then Caching Server is as simple as turning the service on. 1: Open Server.app. 2: Turn on Caching Server. As the old commercial goes, there is no step 3. Your Mavericks clients and iOS 7 devices will automatically route through your caching server for updates. It is incredibly efficient.
Now, if you are trying to support systems older than 10.9, then you will need to run SUS. However, it appears that you have some connection issues (or at least I am going to hope that that is what you are seeing (Unable to retrieve catalog(s) from the Apple server)). Perhaps stop SUS and wait an hour or two. Then try again.
Also, going back to the hostname (Mavericks-Server.local). This would suggest that you do not have DNS setup on the machine. I will suggest that you consider setting up and confirming the function of DNS. While this should not be the cause of your SUS errors, I can predict with nearly 100% accuracy that you will run into issues without proper DNS.
R-
Apple Consultants Network
Apple Professional Services
Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store
-
Jan 6, 2014 4:55 PM in response to 105437by MrHoffman,★HelpfulThe error code:
(NSURLErrorDomain error -3001.))
NSURLErrorCannotOpenFile
Returned when NSURLDownload was unable to open the downloaded file on disk.
Available in OS X v10.2 and later.
That error points to the downloaded file, but I'd also check that the Apple software update servers can be accessed; that you're not getting blocked by some local firewall, or by some bad DNS translations for the Apple software update servers.
To echo what Strontium90 wrote: do not use .local for your own DNS server DNS domain (that's reserved to Bonjour, and not something you should have your own server using) (also: best to get your own real and registered domain here, as the folks from ICANN are busily adding thousands of new top-level domains), and do get your local DNS server configured and running. It's not feasible to (successfully) use off-LAN DNS servers for local DNS use, assuming that this configuration is the typical AT'd network. Bad DNS can and has caused many weird and variously subtle errors. Here is how to set up local DNS services on OS X Server.
-
-
-