ENVYDLE

Q: Server app not caching

Hi All,

 

So I have 2 machines, one here and one across the pond.

Here are the similarities:

Both machines are running 10.11.5 and Server 5.1

Both machines, under the Software Update tab, has the latest updates (latest enabled is iTunes 12.4.1)

Both configured the same

 

First machine works flawless for all of us (updates, caches, distributes caching), here is the debug log snippet

 

2016-06-05 15:26:57.011 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded

2016-06-05 15:26:57.029 Registering with local address: 192.168.200.226 (1000 Mbit/sec wired); on AC power: yes; cache size: ~350 GB; capabilities: im,ns,pc,qp,sc; portable: no

2016-06-05 15:26:57.076 Cleanup succeeded.

2016-06-05 15:26:57.559 Request for registration from https://lcdn-registration.apple.com/lcdn/register succeeded

2016-06-05 15:26:57.560 Got back public IP 216.35.7.254

2016-06-05 15:26:57.562 This server has 0 peers

 

I have over 10 users connected and doing various things, packages, updates, etc

 

 

The other machine is vastly different, i dont get the above messages.

 

2016-06-06 22:24:13.375 Reloading preferences

2016-06-06 22:24:16.383 CacheLimit setting changed: 550000000000 -> 350000000000

2016-06-06 22:24:40.223 Received signal 15

2016-06-06 22:24:40.242 Caching Server shutting down (15)

2016-06-06 22:24:47.894 Caching Server version 149.4 started

2016-06-06 22:24:47.901 Server GUID is 97F1A902-9217-4B02-B9ED-0EE4FD717E9A

2016-06-06 22:24:47.922 Cache manager initialized, cache contains 0 bytes of 350.00 GB (including 0 bytes of 350.00 GB personal [icloud])

2016-06-06 22:24:47.922 HTTPServer: Started HTTP server on all interfaces, port 53372

2016-06-06 22:24:47.922 Retrieving configuration

2016-06-06 22:24:48.582 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded

2016-06-06 22:24:49.626 Cleaning cache

2016-06-06 22:24:50.042 Cleanup succeeded.

2016-06-06 22:24:50.042 Registering for notifications

2016-06-06 22:24:50.050 Waiting for push token

2016-06-06 22:25:00.779 Flushing cache

2016-06-06 23:06:27.018 Reloading preferences

2016-06-06 23:06:27.237 Flushing personal [icloud] cache

2016-06-06 23:06:30.018 AllowPersonalCaching setting changed: 1 -> 0

2016-06-06 23:06:30.018 Reregistering because the configuration changed

 

 

There are 0 connected users

0 bytes server in the past 7 days also.

 

 

What could be the problem?

MacBook Pro (Retina, Mid 2012), OS X El Capitan (10.11.5), Server app 5.1

Posted on Jun 6, 2016 11:20 AM

Close

Q: Server app not caching

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Jun 6, 2016 6:42 PM in response to ENVYDLE
    Level 10 (207,963 points)
    Applications
    Jun 6, 2016 6:42 PM in response to ENVYDLE

    What do you get from these:

     

    sudo serveradmin settings caching

    sudo serveradmin fullstatus caching

  • by More Broccoli Please,

    More Broccoli Please More Broccoli Please Jun 7, 2016 10:30 AM in response to ENVYDLE
    Level 1 (29 points)
    Jun 7, 2016 10:30 AM in response to ENVYDLE

    Your second caching server is not getting past this step:

    2016-06-06 22:24:50.050 Waiting for push token

    The next step should be "Registering for service".  Without registering for service your caching server is not really up and running.

     

    Other folks have reported this hang after having their Mac's motherboard replaced (something about a serial number mismatch), or when their network firewall blocks the push port (see If you're not getting Apple push notifications - Apple Support).

  • by ENVYDLE,

    ENVYDLE ENVYDLE Jun 7, 2016 2:23 PM in response to Linc Davis
    Level 1 (4 points)
    Servers Enterprise
    Jun 7, 2016 2:23 PM in response to Linc Davis

    here are the results good sir:

     

    sudo serveradmin settings caching

     

     

    caching:ListenRangesOnly = no

    caching:LocalSubnetsOnly = no

    caching:ListenRanges = _empty_array

    caching:ReservedVolumeSpace = 25000000000

    caching:ServerRoot = "/Library/Server"

    caching:CacheLimit = 350000000000

    caching:PublicRanges = _empty_array

    caching:AllowPersonalCaching = no

    caching:DataPath = "/Library/Server/Caching/Data"

    caching:ServerGUID = "97F1A902-9217-4B02-B9ED-0EE4FD717E9A"

    caching:Port = 0

    IN-MAC-SUS:~ yodmin$ sudo serveradmin settings caching

    Password:

    caching:ListenRangesOnly = no

    caching:LocalSubnetsOnly = no

    caching:ListenRanges = _empty_array

    caching:ReservedVolumeSpace = 25000000000

    caching:ServerRoot = "/Library/Server"

    caching:CacheLimit = 350000000000

    caching:PublicRanges = _empty_array

    caching:AllowPersonalCaching = no

    caching:DataPath = "/Library/Server/Caching/Data"

    caching:ServerGUID = "97F1A902-9217-4B02-B9ED-0EE4FD717E9A"

    caching:Port = 0

     

     

     

    sudo serveradmin fullstatus caching

     

     

    caching:CacheLimit = 350000000000

    caching:RegistrationStarted = 2016-06-07 21:09:21 +0000

    caching:StartupStatus = "PENDING"

    caching:RegistrationStatus = 0

    caching:CacheFree = 350000000000

    caching:PersonalCacheUsed = 0

    caching:TotalBytesDropped = 0

    caching:CacheStatus = "OK"

    caching:TotalBytesStoredFromOrigin = 0

    caching:state = "STARTING"

    caching:Port = 53372

    caching:Peers = _empty_array

    caching:TotalBytesStoredFromPeers = 0

    caching:RestrictedMedia = no

    caching:CacheDetails:_array_index:0:BytesUsed = 0

    caching:CacheDetails:_array_index:0:LocalizedType = "Mac Software"

    caching:CacheDetails:_array_index:0:MediaType = "Mac Software"

    caching:CacheDetails:_array_index:0:Language = "en"

    caching:CacheDetails:_array_index:1:BytesUsed = 0

    caching:CacheDetails:_array_index:1:LocalizedType = "iOS Software"

    caching:CacheDetails:_array_index:1:MediaType = "iOS Software"

    caching:CacheDetails:_array_index:1:Language = "en"

    caching:CacheDetails:_array_index:2:BytesUsed = 0

    caching:CacheDetails:_array_index:2:LocalizedType = "iCloud"

    caching:CacheDetails:_array_index:2:MediaType = "iCloud"

    caching:CacheDetails:_array_index:2:Language = "en"

    caching:CacheDetails:_array_index:3:BytesUsed = 0

    caching:CacheDetails:_array_index:3:LocalizedType = "Books"

    caching:CacheDetails:_array_index:3:MediaType = "Books"

    caching:CacheDetails:_array_index:3:Language = "en"

    caching:CacheDetails:_array_index:4:BytesUsed = 0

    caching:CacheDetails:_array_index:4:LocalizedType = "iTunes U"

    caching:CacheDetails:_array_index:4:MediaType = "iTunes U"

    caching:CacheDetails:_array_index:4:Language = "en"

    caching:CacheDetails:_array_index:5:BytesUsed = 0

    caching:CacheDetails:_array_index:5:LocalizedType = "Movies"

    caching:CacheDetails:_array_index:5:MediaType = "Movies"

    caching:CacheDetails:_array_index:5:Language = "en"

    caching:CacheDetails:_array_index:6:BytesUsed = 0

    caching:CacheDetails:_array_index:6:LocalizedType = "Music"

    caching:CacheDetails:_array_index:6:MediaType = "Music"

    caching:CacheDetails:_array_index:6:Language = "en"

    caching:CacheDetails:_array_index:7:BytesUsed = 0

    caching:CacheDetails:_array_index:7:LocalizedType = "Other"

    caching:CacheDetails:_array_index:7:MediaType = "Other"

    caching:CacheDetails:_array_index:7:Language = "en"

    caching:PersonalCacheLimit = 350000000000

    caching:CacheUsed = 0

    caching:TotalBytesStored = 0

    caching:TotalBytesImported = 0

    caching:PersonalCacheFree = 350000000000

    caching:Active = no

    caching:TotalBytesReturned = 0

     

     

    @morebrocolli

     

    I checked the FW - nothing is being blocked

    i also added a proxy that the WAN uses

    the posted results above are new

     

    these are also my new debug logs

     

    2016-06-08 02:39:18.035 Received signal 15

    2016-06-08 02:39:18.060 Caching Server shutting down (15)

    2016-06-08 02:39:21.713 Caching Server version 149.4 started

    2016-06-08 02:39:21.721 AllowPersonalCaching setting = 0

    2016-06-08 02:39:21.721 Server GUID is 97F1A902-9217-4B02-B9ED-0EE4FD717E9A

    2016-06-08 02:39:21.735 Cache manager initialized, cache contains 0 bytes of 350.00 GB (including 0 bytes of 350.00 GB personal [icloud])

    2016-06-08 02:39:21.735 HTTPServer: Started HTTP server on all interfaces, port 53372

    2016-06-08 02:39:21.735 Retrieving configuration

    2016-06-08 02:39:22.342 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded

    2016-06-08 02:39:22.369 Cleaning cache

  • by Linc Davis,

    Linc Davis Linc Davis Jun 7, 2016 3:50 PM in response to ENVYDLE
    Level 10 (207,963 points)
    Applications
    Jun 7, 2016 3:50 PM in response to ENVYDLE

    Screen Shot 2016-06-07 at 15.49.00.png

  • by ENVYDLE,

    ENVYDLE ENVYDLE Jun 8, 2016 11:43 AM in response to Linc Davis
    Level 1 (4 points)
    Servers Enterprise
    Jun 8, 2016 11:43 AM in response to Linc Davis

    wouldnt all be better since its all encompassing? currently our working SUS is set to all networks, matching this servers network.

  • by Linc Davis,

    Linc Davis Linc Davis Jun 8, 2016 11:54 AM in response to ENVYDLE
    Level 10 (207,963 points)
    Applications
    Jun 8, 2016 11:54 AM in response to ENVYDLE

    As long as you're sure you're not giving the whole Internet access.