bruceb108

Q: Caching Server does not cache its own Installs from App Store

I set up the OS X Server App 5.1.5 (15S7047) on an iMac running El Capitan 10.11.5 (Build 15F34). The iMac has 8 GB of Ram and an i5 processor. It is Mid 2011.

 

It is part of a Windows Domain and has a Time Capsule set to Bridge Mode.

 

On the iMac here are the settings, etc.:

Server Overview:

Internet: Reachable at 202.etc., no services available

Public Host Name: None

Network Interface: Ethernet, Ip Address 192.168.0.70 (DHCP assigned - not static, but it never changes)

Accounts: All Users, All Groups (populated by the Windows Domain Controller - Active Directory for the Windows Domain.)

 

Only the Caching Service is ON.

The Caching service Status says "Available - Devices on your local network will automatically use this service.

Permissions: Only local subnets

Serve clients with public addresses: matching this server's network.

 

iCloud Data: unchecked to cache personal iCloud data

 

Cache available: 150GB

Cache used: None

 

When installing from the App Store, the cache is unchanged - always None.

 

I have also downloaded from a MacBook Pro and nothing is cached as well.

 

I am new to Macs and must have missed some setting, but have read lots on various Forums. I suspect the Reachability saying "no services available" may be part of the problem.

 

I have checked the logs - the service log for Caching may help. The first install of the Server App was about a week ago, and it shows a problem with "Request for blacklist..." (see below)

 

Around 12:15pm today, I uninstalled the Server App by moving it to Trash, deleted the Library\Server, etc. then installed the Server App again. Now the failing activity is not being logged.

 

PART OF THE FIRST INSTALL OF SERVER APP'S CACHING LOG FOR TODAY:

Jun 20 11:14:10 dlserver AssetCache[351]: Caching Server shutting down (15)

Jun 20 11:14:10 dlserver com.apple.xpc.launchd[1] (com.apple.AssetCache[351]): Service exited with abnormal code: 15

Jun 20 11:14:34 dlserver AssetCache[1110]: Caching Server version 149.4 started

Jun 20 11:14:37 dlserver AssetCache[1110]: Registration succeeded.  Resuming server.

Jun 20 11:41:56 dlserver AssetCache[321]: Caching Server version 149.4 started

Jun 20 11:41:57 dlserver AssetCache[321]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

Jun 20 11:41:57 dlserver AssetCache[321]: Reverting to last accepted configuration

Jun 20 11:41:57 dlserver AssetCache[321]: Request for blacklist from http://suconfig.apple.com/resource/registration/v1/blacklist.plist failed: The Internet connection appears to be offline.

Jun 20 11:41:57 dlserver AssetCache[321]: 1 consecutive cleanup failure(s).  Will retry in 16 seconds.

Jun 20 11:42:18 dlserver AssetCache[321]: Registration succeeded.  Resuming server.

Jun 21 08:55:28 dlserver AssetCache[319]: Caching Server version 149.4 started

Jun 21 08:55:28 dlserver AssetCache[319]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

Jun 21 08:55:28 dlserver AssetCache[319]: Reverting to last accepted configuration

Jun 21 08:55:43 dlserver AssetCache[319]: Registration succeeded.  Resuming server.

Jun 21 10:07:47 dlserver AssetCache[334]: Caching Server version 149.4 started

Jun 21 10:07:49 dlserver AssetCache[334]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

Jun 21 10:07:49 dlserver AssetCache[334]: Reverting to last accepted configuration

Jun 21 10:07:52 dlserver AssetCache[334]: Request for blacklist from http://suconfig.apple.com/resource/registration/v1/blacklist.plist failed: The Internet connection appears to be offline.

Jun 21 10:07:52 dlserver AssetCache[334]: 1 consecutive cleanup failure(s).  Will retry in 63 seconds.

Jun 21 10:09:07 dlserver AssetCache[334]: Registration succeeded.  Resuming server.

Jun 21 10:15:53 dlserver AssetCache[307]: Caching Server version 149.4 started

Jun 21 10:15:53 dlserver AssetCache[307]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

Jun 21 10:15:53 dlserver AssetCache[307]: Reverting to last accepted configuration

Jun 21 10:15:57 dlserver AssetCache[307]: Request for blacklist from http://suconfig.apple.com/resource/registration/v1/blacklist.plist failed: The Internet connection appears to be offline.

Jun 21 10:15:57 dlserver AssetCache[307]: 1 consecutive cleanup failure(s).  Will retry in 60 seconds.

Jun 21 10:17:00 dlserver AssetCache[307]: Registration succeeded.  Resuming server.

Jun 21 12:05:11 dlserver AssetCache[287]: Caching Server version 149.4 started

Jun 21 12:05:13 dlserver AssetCache[287]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

Jun 21 12:05:13 dlserver AssetCache[287]: Reverting to last accepted configuration

Jun 21 12:05:13 dlserver AssetCache[287]: Request for blacklist from http://suconfig.apple.com/resource/registration/v1/blacklist.plist failed: The Internet connection appears to be offline.

Jun 21 12:05:13 dlserver AssetCache[287]: 1 consecutive cleanup failure(s).  Will retry in 72 seconds.

Jun 21 12:06:30 dlserver AssetCache[287]: Registration succeeded.  Resuming server.

Jun 21 12:14:36 dlserver AssetCache[287]: Caching Server shutting down (15)

Jun 21 12:14:36 dlserver com.apple.xpc.launchd[1] (com.apple.AssetCache[287]): Service exited with abnormal code: 15

 

(THIS IS THE POINT WHEN THE SERVER APP WAS RE-INSTALLED)

 

Jun 21 14:55:50 dlserver AssetCache[2986]: Caching Server version 149.4 started

Jun 21 14:55:54 dlserver AssetCache[2986]: Registration succeeded.  Resuming server.

 

BUT STILL NO CACHING OF ITS OWN INSTALLS FROM THE APP STORE.

 

I have also tried it with OS X Firewall off, Avira Real-Time Protection off, but to no avail.

 

I suspect the No services available status for the Internet setting, mentioned at the very beginning of this post, to be significant but have not found out what is missing.

 

Thank you very much for any help.

iMac, OS X Server

Posted on Jun 21, 2016 12:09 AM

Close

Q: Caching Server does not cache its own Installs from App Store

  • All replies
  • Helpful answers

Page 1 of 3 last Next
  • by bruceb108,

    bruceb108 bruceb108 Jun 21, 2016 3:09 PM in response to bruceb108
    Level 1 (8 points)
    Servers Enterprise
    Jun 21, 2016 3:09 PM in response to bruceb108

    Update:

     

    After downloading a few App Store items, the Caching Log now shows this (again). I definitely have internet given I was installing from the App Store:

     

    Jun 22 09:50:12 dlserver AssetCache[314]: Caching Server version 149.4 started

    Jun 22 09:50:12 dlserver AssetCache[314]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

    Jun 22 09:50:12 dlserver AssetCache[314]: Reverting to last accepted configuration

    Jun 22 09:50:12 dlserver AssetCache[314]: Request for blacklist from http://suconfig.apple.com/resource/registration/v1/blacklist.plist failed: The Internet connection appears to be offline.

    Jun 22 09:50:12 dlserver AssetCache[314]: 1 consecutive cleanup failure(s).  Will retry in 74 seconds.

    Jun 22 09:51:40 dlserver AssetCache[314]: Registration succeeded.  Resuming server.

     

    And nothing got saved in the Server's Cache.

  • by bruceb108,

    bruceb108 bruceb108 Jun 21, 2016 3:48 PM in response to bruceb108
    Level 1 (8 points)
    Servers Enterprise
    Jun 21, 2016 3:48 PM in response to bruceb108

    I am wondering if the problem lies in the fact that this Server is in Fiji and the Apple ID is for the US? The Language & Region is still set to the United States, but physically the computer is now in Fiji.

     

    Unfortunately, I have only been using Macs for a week or so now, so any help will be appreciated. I will keep testing possibilities in the mean time. Thank you.

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Jun 21, 2016 9:53 PM in response to bruceb108
    Level 10 (207,926 points)
    Applications
    Jun 21, 2016 9:53 PM in response to bruceb108

    Please double-click anywhere in the line of text below on this page to select it, then copy it to the Clipboard by pressing the key combination command-C:

    suconfig.apple.com

    Launch the Network Utility application.

    Step 1

    Select the Lookup tab and paste into the address field by pressing command-V. Then press return. Post the output that appears below – the text, please, not a screenshot.

    Step 2

    Select the Ping tab and do the same. Please enter the same input as you did in Step 1. Don't use the output of Step 1 as input to Step 2.

    Important Note

    Some web browsers and mail clients will automatically convert a domain name such as "www.example.com" to a clickable URL, such as http://www.example.com. That will interfere with the test. If necessary, edit the input in the Network Utility window to remove any added characters.

  • by bruceb108,

    bruceb108 bruceb108 Jun 21, 2016 10:07 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 21, 2016 10:07 PM in response to Linc Davis

    Thank you for your response and very clear instructions.

     

    Lookup has started…

    suconfig.apple.com -> 27.123.130.74, 27.123.130.72

     

    Ping has started…

    PING a803.g4.akamai.net (27.123.130.72): 56 data bytes

    64 bytes from 27.123.130.72: icmp_seq=0 ttl=58 time=28.872 ms

    64 bytes from 27.123.130.72: icmp_seq=1 ttl=58 time=37.940 ms

    64 bytes from 27.123.130.72: icmp_seq=2 ttl=58 time=61.619 ms

    64 bytes from 27.123.130.72: icmp_seq=3 ttl=58 time=24.131 ms

    64 bytes from 27.123.130.72: icmp_seq=4 ttl=58 time=25.943 ms

    64 bytes from 27.123.130.72: icmp_seq=5 ttl=58 time=17.062 ms

    64 bytes from 27.123.130.72: icmp_seq=6 ttl=58 time=17.087 ms

    64 bytes from 27.123.130.72: icmp_seq=7 ttl=58 time=17.138 ms

    64 bytes from 27.123.130.72: icmp_seq=8 ttl=58 time=19.251 ms

    64 bytes from 27.123.130.72: icmp_seq=9 ttl=58 time=31.605 ms

     

    --- a803.g4.akamai.net ping statistics ---

    10 packets transmitted, 10 packets received, 0.0% packet loss

    round-trip min/avg/max/stddev = 17.062/28.065/61.619/13.020 ms

  • by bruceb108,

    bruceb108 bruceb108 Jun 21, 2016 10:09 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 21, 2016 10:09 PM in response to Linc Davis

    P.S. I am not sure how I managed to mark this as solved - still getting used to the Forum here.

  • by Linc Davis,

    Linc Davis Linc Davis Jun 22, 2016 8:16 AM in response to bruceb108
    Level 10 (207,926 points)
    Applications
    Jun 22, 2016 8:16 AM in response to bruceb108

    Those results are correct.

     

    When you click one of the URL's in the log extracts, a small file should be downloaded by your web browser. Does that happen? You can delete the file.

  • by bruceb108,

    bruceb108 bruceb108 Jun 22, 2016 1:45 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 22, 2016 1:45 PM in response to Linc Davis

    When I load this url into Firefox, it does download the file:

     

    http://suconfig.apple.com/resource/registration/v1/config.plist

  • by bruceb108,

    bruceb108 bruceb108 Jun 22, 2016 1:48 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 22, 2016 1:48 PM in response to Linc Davis

    When clicking on the two links that failed in the log listed above, Firefox offers to save the file each time.

  • by Linc Davis,

    Linc Davis Linc Davis Jun 22, 2016 2:13 PM in response to bruceb108
    Level 10 (207,926 points)
    Applications
    Jun 22, 2016 2:13 PM in response to bruceb108

    In case it wasn't clear, those tests were to be done on the server, not on a client. Assuming that they were, is the server running in a virtual machine? If so, the caching service won't work.

  • by bruceb108,

    bruceb108 bruceb108 Jun 22, 2016 2:17 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 22, 2016 2:17 PM in response to Linc Davis

    Oddyly enough, some iOS device on the network downloaded from itunes yesterday and it was cached:

     

    Jun 22 16:25:58 dlserver AssetCache[310]: Caching Server version 149.4 started

    Jun 22 16:25:59 dlserver AssetCache[310]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

    Jun 22 16:25:59 dlserver AssetCache[310]: Reverting to last accepted configuration

    Jun 22 16:26:06 dlserver AssetCache[310]: Registration succeeded.  Resuming server.

    Jun 22 18:38:23 dlserver AssetCache[310]: #hKgpIXU2Z0kJ Received GET request by "itunesstored/1.0" for /ios9/031-63450-20160531-6FD99436-236D-11E6-811D-B5E0662719FC/com_apple_MobileA sset_routined_defaults/a499000c8fa5157deac0d44f822e9d9797c5110a.zip

    Jun 22 18:38:23 dlserver AssetCache[310]: #hKgpIXU2Z0kJ Served all 1 KB of 1 KB; 0 bytes from cache, 1 KB stored from Internet, 0 bytes from peers

    Jun 22 18:38:23 dlserver AssetCache[310]: Since server start: 1 KB returned to clients, 1 KB stored from Internet, 0 bytes from peers; 0 bytes imported.

    Jun 22 18:38:25 dlserver AssetCache[310]: #/3riXG3YQf7e Received GET request by "itunesstored/1.0" for /iOS9/031-63250-20160607-6E0A56B8-2048-11E6-B634-BA4B5529DBDF/com_apple_MobileA sset_CoreSuggestions/5647f85afc1a32acd6baed12d90075cb5a2ba05d.zip

    Jun 22 18:38:55 dlserver AssetCache[310]: #/3riXG3YQf7e Served all 2.4 MB of 2.4 MB; 0 bytes from cache, 2.4 MB stored from Internet, 0 bytes from peers

    Jun 22 18:38:55 dlserver AssetCache[310]: Since server start: 2.4 MB returned to clients, 2.4 MB stored from Internet, 0 bytes from peers; 0 bytes imported.

     

    But downloading an App from the App Store via the Caching Server computer today, it gave the usual failed message and no cached data:

     

    Jun 23 08:28:40 dlserver AssetCache[312]: Caching Server version 149.4 started

    Jun 23 08:28:41 dlserver AssetCache[312]: Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist failed: The Internet connection appears to be offline.

    Jun 23 08:28:41 dlserver AssetCache[312]: Reverting to last accepted configuration

    Jun 23 08:28:53 dlserver AssetCache[312]: Registration succeeded.  Resuming server.

  • by bruceb108,

    bruceb108 bruceb108 Jun 22, 2016 2:18 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 22, 2016 2:18 PM in response to Linc Davis

    Yes, everything is being done on the server. The server app is just running natively on the iMac - not through a VM.

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Jun 22, 2016 6:45 PM in response to bruceb108
    Level 10 (207,926 points)
    Applications
    Jun 22, 2016 6:45 PM in response to bruceb108

    Please start up the server in safe mode and test.

    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • by bruceb108,

    bruceb108 bruceb108 Jun 22, 2016 3:25 PM in response to Linc Davis
    Level 1 (8 points)
    Servers Enterprise
    Jun 22, 2016 3:25 PM in response to Linc Davis

    I have some more learning to do. When entering Safe Mode my password to get into the Server does not work. I rebooted in normal mode and the password works. I then changed my password in the Server's User profile for me, then rebooted in Safe Mode and this still did not work.

     

    Will read up on this and do the test you describe above. Thanks for your help.

  • by Linc Davis,

    Linc Davis Linc Davis Jun 22, 2016 3:52 PM in response to bruceb108
    Level 10 (207,926 points)
    Applications
    Jun 22, 2016 3:52 PM in response to bruceb108

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.

    The test works on OS X 10.8 ("Mountain Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.

    Don't be put off by the complexity of these instructions. The procedure is easy to do right, but it's also easy to do wrong, so I've made the instructions very detailed. You do harder tasks with the computer all the time.

    2. If you don't already have a current backup, please back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.

    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.

    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.

    In this case, however, there are ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone who understands the code can verify what it does.

    You may not be able to understand the script yourself. But variations of it have been posted on this website many times over a period of years. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.

    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.

    4. Here's a general summary of what you need to do, if you choose to proceed:

    ☞ Copy the text of a particular web page (not this one) to the Clipboard.

    ☞ Paste into the window of another application.

    ☞ Wait for the test to run. It usually takes a few minutes.

    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.

    These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.

    5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is intermittently slow, run the test during a slowdown.

    You may have started up in safe mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual before running it. If you can only test in safe mode, do that.

    6. If you have more than one user, and only one user is affected by the problem,, and the affected user is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.

    7. Load this linked web page (on the website "Pastebin") in Safari. Press the key combination command-A to select all the text, then copy it to the Clipboard by pressing command-C.

    8. Launch the built-in Terminal application in any one of the following ways:

    ☞ Enter the first few letters of its name ("Terminal") into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.

    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.

    If the test is taking much longer than usual to run because the computer is very slow, you might be prompted for your password a second time. The authorization that you grant by entering it expires automatically after five minutes.

    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:

        Test started
            Part 1 of 4 done at: … sec
            …
            Part 4 of 4 done at: … sec
        The test results are on the Clipboard.
        Please close this window.

    The intervals between parts won't be exactly equal, but they give a rough indication of progress.

    Wait for the final message "Please close this window" to appear—again, usually within a few minutes. If you don't see that message within about 30 minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it. Then go to the next step. You'll have incomplete results, but still something.

    In order to get results, the test must either be allowed to complete or else manually stopped as above. If you close the Terminal window while the test is still running, the partial results won't be saved.

    11. When the test is complete, or if you stopped it manually, quit Terminal. The results will have been saved to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "close this window" message. Please wait for it and try again.

    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

    12. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the software that runs this website. Please post the test results on Pastebin, then post a link here to the page you created.

    If you have an account on Pastebin, please don't select Private from the Paste Exposure menu on the page, because then no one but you will be able to see it.

    13. When you're done with the test, it's gone. There is nothing to uninstall or clean up.

    14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.

    15. The linked UNIX shell script bears a notice of copyright. Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Page 1 of 3 last Next