OSX Server 3.0 cache data flush
The cache server has been working great up to the point where registration failed which I accept, but upon the 3300 seconds re-register the log below shows it doesn't attempt the re-register. Fine these things happen but the biggest problem i have that it flushes all the cached data already downloaded.
How can this be prevented/edited etc so we don't have to re-download what was cached already.
2014/10/09 18:14:02:740 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/09 18:14:04:476 Request for registration from https://lcdn-registration.apple.com/lcdn/register succeeded
2014/10/09 18:14:04:476 Got back public IP 41.160.234.162
2014/10/09 18:14:04:479 This server has 0 peer(s)
2014/10/09 19:09:04:595 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/09 19:10:00:480 Request for registration from https://lcdn-registration.apple.com/lcdn/register failed: HTTP response 401, body "REQUEST_REAUTH"
2014/10/09 19:10:00:481 Registration rejected.
2014/10/09 19:10:00:481 Flushing cache.
2014/10/09 19:10:00:993 Server is suspended. Will re-register in 3300 seconds.
2014/10/09 19:10:58:127 Received signal 15
2014/10/09 19:10:58:130 Caching Server shutting down (15)
2014/10/10 09:13:38:428 Caching Server started
2014/10/10 09:13:38:520 Server GUID is 63311B9B-B1BD-4157-8027-AB4361304264
2014/10/10 09:13:39:638 Cache manager initialized, cache limit = 113.92 GB, current cache size = 0 bytes
2014/10/10 09:13:39:638 xpcListener should be running
2014/10/10 09:13:39:638 HTTPServer: Started HTTP server on port 53508
2014/10/10 09:13:39:641 Retrieving configuration
2014/10/10 09:13:40:111 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
2014/10/10 09:13:40:887 Cleaning cache
2014/10/10 09:13:41:111 Cleanup succeeded.
2014/10/10 09:13:41:111 Registering for notifications
2014/10/10 09:13:41:141 Registering for service
2014/10/10 09:13:43:484 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/10 09:13:43:908 Request for registration from https://lcdn-registration.apple.com/lcdn/register succeeded
2014/10/10 09:13:43:908 Got back public IP 41.160.234.162
2014/10/10 09:13:43:936 Registration succeeded. Resuming server.
2014/10/10 09:13:43:937 This server has 0 peer(s)
The cache server has been working great up to the point where registration failed which I accept, but upon the 3300 seconds re-register the log below shows it doesn't attempt the re-register. Fine these things happen but the biggest problem i have that it flushes all the cached data already downloaded.
How can this be prevented/edited etc so we don't have to re-download what was cached already.
2014/10/09 18:14:02:740 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/09 18:14:04:476 Request for registration from https://lcdn-registration.apple.com/lcdn/register succeeded
2014/10/09 18:14:04:476 Got back public IP 41.160.234.162
2014/10/09 18:14:04:479 This server has 0 peer(s)
2014/10/09 19:09:04:595 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/09 19:10:00:480 Request for registration from https://lcdn-registration.apple.com/lcdn/register failed: HTTP response 401, body "REQUEST_REAUTH"
2014/10/09 19:10:00:481 Registration rejected.
2014/10/09 19:10:00:481 Flushing cache.
2014/10/09 19:10:00:993 Server is suspended. Will re-register in 3300 seconds.
2014/10/09 19:10:58:127 Received signal 15
2014/10/09 19:10:58:130 Caching Server shutting down (15)
2014/10/10 09:13:38:428 Caching Server started
2014/10/10 09:13:38:520 Server GUID is 63311B9B-B1BD-4157-8027-AB4361304264
2014/10/10 09:13:39:638 Cache manager initialized, cache limit = 113.92 GB, current cache size = 0 bytes
2014/10/10 09:13:39:638 xpcListener should be running
2014/10/10 09:13:39:638 HTTPServer: Started HTTP server on port 53508
2014/10/10 09:13:39:641 Retrieving configuration
2014/10/10 09:13:40:111 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
2014/10/10 09:13:40:887 Cleaning cache
2014/10/10 09:13:41:111 Cleanup succeeded.
2014/10/10 09:13:41:111 Registering for notifications
2014/10/10 09:13:41:141 Registering for service
2014/10/10 09:13:43:484 Registering with local address: 10.0.0.199; local subnet range only: 10.0.0.0-10.0.0.255
2014/10/10 09:13:43:908 Request for registration from https://lcdn-registration.apple.com/lcdn/register succeeded
2014/10/10 09:13:43:908 Got back public IP 41.160.234.162
2014/10/10 09:13:43:936 Registration succeeded. Resuming server.
2014/10/10 09:13:43:937 This server has 0 peer(s)
Similar Messages
-
Do we need to point clients to internal SUS with Caching on OSX Server
It's my understanding that devices (iOS and OSX) on the same local network will grab content from the Caching Service in OSX Server automatically without any configuration. If that is correct, do we need to point our managed clients to that server for OS updates anymore? Can't we just leave it to use Apples Public Update Servers, and then anytime when it's on this local network it will grab the updates from the server?
Caching Server 2 catches and mirrors recent traffic for iOS and OS X systems and will inherently flush out older material as space is needed — as the name states it's a cache, after all — where Software Update Server downloads and maintains copies of all updates for OS X.
When there are a number of OS X systems around, Software Update Server tends to be more predictable. The updates are available. With caching server, a barrage of iOS updates or a big OS X update might flush out the stuff you need, and it's off to the network to fetch it again.
The systems around generally have more disk space available than network bandwidth, so Software Update Server and Caching Server 2 are both in common use, or maybe Reposado, depending on local requirements. If you have more network than disk, then you might make a different choice — at the price of disk space these days, the extra space is an obvious choice.
If there isn't enough disk space on a Mac available but you do have something that'll boot Linux, then Reposado has you covered. -
Stale Near Cache data when all Cache Server fails and are restarted
Hi,
We are currently making use of Coherence 3.6.1. We are seeing an issue. The following is the scenario:
- caching servers and proxy server are all restarted.
- one of the cache say "TestCache" is bulk loaded with some data (e.g. key/value of : key1/value1, key2/value, key3/value3) on the caching servers.
- near cache client connects onto the server cluster via the Extend Proxy Server.
- near cache client is primed with all data from the cache server "TestCache". Hence, near cache client now has all key/values locally (i.e. key1/value1, key2/value, key3/value3).
- all caching servers in the cluster is down, but the extend proxy server is ok.
- all cache server in the cluster comes back up.
- we reload all cache data into "TestCache" on the cache server, but this time it only has key/value of : key1/value1, key2/value.
- So the caching server's state for "TestCache" is that it should only have key1/value1, key2/value, but the near cache client still thinks it's got key1/value1, key2/value, key3/value3. So in effect, it still knows about key3/value3 which no longer exists.
Is there anyway for the near cache client to invalidate the key3/value3 automatically? This scenario happens because the extend proxy server is actually not down, but all caching servers are, but the near cache client for some reason doesn't know about this and does not invalidate the cache client near cache data.
Can anyone help?
Thanks
Regards
Wilson.Hi,
I do have the invalidation strategy as "ALL". Remember this cache client is connected via the Extend proxy server where it's connectivity is still ok, just the caching server holding the storage data in the cluster are all down.
Please let me know why else we can try.
Thanks
Regards
Wilson. -
OSX Server Caching iOS updates
Hello,
I have a question regarding the OSX Server Caching feature, the documentation states that this feature will cache all updates(including iOS) which is great for the company i work at.
However, the biggest issue is that the server itself does not download or cache the iOS updates, if i were to add the *.ipsw files manually to "~/Library/iTunes/iPad Software Updates/" for example the server will NOT cache these.
If a computer in the network downloads the IPSW via iTunes, the server will not cache this.
If i were to restore a device in iTunes on the server and iTunes has to download the update, it is NOT cached.
We're trying to have all IPSWs ready to go from one device instead of 7-10 devices individually downloading each and every update from Apple but we cannot find a solution for this.
If anyone knows a good solution, that would be great.The answer is here:
OS X Server: Caching service doesn't cache the iOS 8 update -
OSX Server file sharing data location issues.
I have a mac mini running OSX Server on Mavericks. I also have a Lacie 2big nas running RAID 1 for Superduper! backups that is hooked up via thunderbolt to the mac mini. My problem is, even though my Service Data location is set to the mac mini's hard drive, all of the shared folder items are housed on the Lacie drive.
Is there a way I can move this data back to the hard drive and point the server to that location instead? I really don't want any services or data directly stored on the Lacie drive, it's mainly there in the event that the mac mini hard drive fails and I need a bootable copy so the business may stay up and running.There are two possibilities: one is that your server is keeping all its server data on the external HD, the other is that your accounts are individually set up to each refer to that external HD.
Server.app
Click the line in the sidebar which has the server's name in it
Choose the Settings tab
Check the bottom line that says 'Service Data'
If that lists your external HD, just change it to the internal one, wait for it to make the change and you're done.
If not, then your accounts are individually set up to refer to the external HD. While there are bulk methods of moving them all over they are annoying and complicated and hard to describe. It would be simpler to use the Finder to copy your entire home folder structure across to your hard disk, then to go down the list of users, and for each user
Control-click on the user
pick 'Advanced Options...'
Change the Home folder to its new place
Once you're sure the new locations are working for all your users you can delete the home folder copies from the external hard disk. -
OSX Server Hangs on Blue screen at startup
We have an Xserve Running 10.5.8. We have been having strange issues for some weeks with client's logging in and their desktops being missing. Last Friday I noticed that the backup was not running correctly and I had a student who had lost her work mysteriously too. I decided to restart the server to see what would happen. On restart I cannot log in to the server either remotely or locally because after the white apple with spinner screen the machine goes to a blue screen with no login window. Services are up and running, I can view and use Server Admin and Workgroup Manager, and I can ssh into the server. I have trawled the internet in search of answers but all to no avail. There are some errors in the log but I am not familiar enough with these things to know which are significant to this problem. To further complicate matters the OSX server disk is nowhere to be found, hasn't been seen since well before I arrived on campus. I have ordered Snow Leopard for this machine but would like to get to the bottom of the issues.
I have booted into safe mode from ssh but this has made no change to the situation. I am relatively new to comand line management of macs so please don't assume I know how to use it like an old pro. I am learning rapidly.
Thanks
Lincoln
Here is a log from a fresh reboot:
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: /etc/rc.server: line 55: logger: command not found
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: kern.maxproc: 532 -> 2500
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: kern.ipc.somaxconn: 128 -> 2500
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: kern.maxnbuf: 16384 -> 21000
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: kern.maxvnodes: 66560 -> 120000
Jul 6 13:37:50 localhost com.apple.launchctl.System[2]: kern.maxprocperuid: 266 -> 1000
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: propertyList is NULL
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: no plist was returned for: /System/Library/LaunchDaemons/nmbd.plist
Jul 6 13:37:54: --- last message repeated 1 time ---
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: propertyList is NULL
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: no plist was returned for: /System/Library/LaunchDaemons/org.samba.winbindd.plist
Jul 6 13:37:54: --- last message repeated 1 time ---
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: propertyList is NULL
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: no plist was returned for: /System/Library/LaunchDaemons/smbd.plist
Jul 6 13:37:54: --- last message repeated 1 time ---
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
Jul 6 13:37:52 localhost com.apple.launchctl.System[2]: getaddrinfo(): Temporary failure in name resolution
Jul 6 13:37:52 localhost com.apple.launchd[1] (com.apple.RemoteDesktop.PrivilegeProxy): Unknown key for boolean: EnableTransactions
Jul 6 13:37:52 localhost com.apple.launchd[1] (org.apache.httpd): Unknown key: SHAuthorizationRight
Jul 6 13:37:52 localhost com.apple.launchd[1] (org.cups.cupsd): Unknown key: SHAuthorizationRight
Jul 6 13:37:52 localhost com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight
Jul 6 13:37:52 localhost com.apple.launchd[1] (org.x.privileged_startx): Unknown key for boolean: EnableTransactions
Jul 6 13:37:55 localhost kernel[0]: formExpert/PCI0@0/AppleACPIPCI/RP01@1C/IOPCI2PCIBridge/P8PC@0/IOPCI2PCIBridge/S AS@2/AppleLSIFusionSAS/SAS Target 052B290A8A98376A@3/IOSCSITargetDevice/IOSCSILogicalUnitNub@0/IOSCSIPeripheralDe viceType00/IOBlockStorageServices/IOBlockStorageDriver/ST380815AS N Media/IOGUIDPartitionScheme/Customer@2
Jul 6 13:37:52 localhost kextd[24]: safe boot detected
Jul 6 13:37:55 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
Jul 6 13:37:52 localhost kextd[24]: safe boot; invalidating extensions caches
Jul 6 13:37:55 localhost kernel[0]: FusionMPT: Notification = 22 (SAS Discovery) for SCSI Domain = 0
Jul 6 13:37:55 localhost kernel[0]: Discovery condition = 0x00000000
Jul 6 13:37:55 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 6 13:37:55 localhost kernel[0]: Jettisoning kernel linker.
Jul 6 13:37:55 localhost DirectoryService[25]: Launched version 5.8.1 (v514.28)
Jul 6 13:37:59 localhost kernel[0]: AppleIntel8254XEthernet: Ethernet address 00:1e:52:f3:ca:24
Jul 6 13:37:59 localhost kernel[0]: AppleIntel8254XEthernet: Ethernet address 00:1e:52:f3:ca:25
Jul 6 13:38:06 localhost kernel[0]: Resetting IOCatalogue.
Jul 6 13:38:06 localhost kextd[24]: 0 cached, 287 uncached personalities to catalog
Jul 6 13:38:06 localhost kernel[0]: Matching service count = 0
Jul 6 13:38:06 localhost mDNSResponder mDNSResponder-176.3 (Jun 17 2009 18:57:49)[31]: starting
Jul 6 13:38:08 localhost kernel[0]: Previous Shutdown Cause: 3
Jul 6 13:38:08 localhost kernel[0]: ACPI_SMC_PlatformPlugin::getCPU_PSSData - WARNING: _PSS table invalid; ACPI is probably incomplete
Jul 6 13:38:10: --- last message repeated 3 times ---
Jul 6 13:38:10 localhost com.apple.launchd[1] (com.openssh.sshd): Unknown key: SHAuthorizationRight
Jul 6 13:38:12 localhost kernel[0]: Ethernet [Intel8254X]: Link down on en0 called by enableHardware() --
Jul 6 13:38:13 localhost bootlog[83]: BOOT_TIME: 1309923414 0
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS_Media_A3_Printer[63]: Registering Service Media A3 Printer._printer._tcp port 515 TXT txtvers=1 qtotal=1 rp=Media_A3_Printer pdl=application/postscript ty=\(null\)
Jul 6 13:38:16 localhost kernel[0]: Ethernet [Intel8254x]: Link up on en1, 1-Gigabit, Full-duplex, No flow-control, Debug [792d,ac08,0de1,0e00,c1e1,7800]
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS_Media_A3_Printer[63]: 13:38:14.436 Got a reply for service Media A3 Printer._printer._tcp.local.: Name now registered and active
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS__ITS3_01m[65]: Registering Service Media A3 Printer @ ITS3-01m._printer._tcp port 515 TXT txtvers=1 qtotal=1 rp=_ITS3_01m pdl=application/postscript ty=\(null\)
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS__ITS3_01m[65]: 13:38:14.436 Got a reply for service Media A3 Printer @ ITS3-01m._printer._tcp.local.: Name now registered and active
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS_HCCSTU_Media_Test_Printer[64]: Registering Service HCCSTU-Media Test Printer._printer._tcp port 515 TXT txtvers=1 qtotal=1 rp=HCCSTU_Media_Test_Printer pdl=application/postscript ty=\(null\)
Jul 6 13:38:14 localhost com.apple.printservice_LPR_mDNS_HCCSTU_Media_Test_Printer[64]: 13:38:14.436 Got a reply for service HCCSTU-Media Test Printer._printer._tcp.local.: Name now registered and active
Jul 6 13:38:14 hillcrestmac com.apple.HeadlessStartup[74]: 65:6e:30:00:1e:52
Jul 6 13:38:15 hillcrestmac watchdogtimerd[54]: Automatic reboot timer enabled.
Jul 6 13:38:15 hillcrestmac named[50]: starting BIND 9.4.3-P3 -f
Jul 6 13:38:16 hillcrestmac fseventsd[75]: event logs in /.fseventsd out of sync with volume. destroying old logs. (21 77 136)
Jul 6 13:38:17 hillcrestmac rpc.statd[59]: statd.notify - no notifications needed
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: Too many groups for root
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:2: path contains non-directory or non-existent components: /Volumes/Data/Library/NetBoot/NetBootSP0
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:2: no usable directories in export entry
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:2: using fallback (marked offline): /Volumes/Data
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: Too many groups for root
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:3: path contains non-directory or non-existent components: /Volumes/Data/Library/NetBoot/NetBootClients0
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:3: no usable directories in export entry
Jul 6 13:38:17 hillcrestmac /sbin/nfsd[67]: exports:3: using fallback (marked offline): /Volumes/Data
Jul 6 13:38:19 hillcrestmac fseventsd[75]: log dir: /.fseventsd getting new uuid: 99F02D5F-57A3-4BDE-AC4B-76CC829E92B0
Jul 6 13:38:19 hillcrestmac configd[29]: setting hostname to "hillcrestmac.hillcrest.local"
Jul 6 13:38:19 hillcrestmac configd[29]: AppleTalk startup
Jul 6 13:38:19 hillcrestmac kextd[24]: writing kernel link data to /var/run/mach.sym
Jul 6 13:38:20 hillcrestmac named[50]: command channel listening on 127.0.0.1#54
Jul 6 13:38:24 hillcrestmac /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[69]: Login Window Application Started -- Threaded auth
Jul 6 13:38:25 hillcrestmac emond[77]: SetUpLogs: uid = 0 gid = 0
Jul 6 13:38:25 hillcrestmac emond[77]: SetUpLogs: opening /Library/Logs/EventMonitor/EventMonitor.error.log
Jul 6 13:38:26 hillcrestmac com.apple.launchd[1] (com.apple.portmap[100]): Policy denied Mach service lookup: com.apple.dyld
Jul 6 13:38:28 hillcrestmac /sbin/nfsd[67]: Too many groups for root
Jul 6 13:38:28 hillcrestmac /sbin/nfsd[67]: exports:2: export entry OK (previous errors cleared)
Jul 6 13:38:28 hillcrestmac /sbin/nfsd[67]: Too many groups for root
Jul 6 13:38:28 hillcrestmac /sbin/nfsd[67]: exports:3: export entry OK (previous errors cleared)
Jul 6 13:38:28 hillcrestmac fseventsd[75]: bumping event counter to: 0x34cab (current 0x166) from log file '00000000000347cc'
Jul 6 13:38:28 hillcrestmac configd[29]: AppleTalk startup complete
Jul 6 13:38:36 hillcrestmac com.apple.KerberosAutoConfig[143]: Couldn't find KerberosClient config record
Jul 6 13:38:37 hillcrestmac com.apple.KerberosAutoConfig[144]: Couldn't find KerberosClient config record
Jul 6 13:38:54 hillcrestmac com.apple.ATSServer[154]: FODBCheck: New annex file created
Jul 6 13:38:59 hillcrestmac loginwindow[69]: Login Window Started Security Agent
Jul 6 13:39:02 hillcrestmac servermgrd[60]: servermgr_web: Created WebDAV lock directory /var/run/davlocks
Jul 6 13:39:08 hillcrestmac servermgrd[60]: servermgr_calendar: created default calendar virtual host
Jul 6 13:39:09 hillcrestmac servermgrd[60]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
Jul 6 13:39:09 hillcrestmac servermgrd[60]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
Jul 6 13:39:15 hillcrestmac servermgrd[60]: servermgr_info: [60] [CertificateManager exportIdentity:]: Error exporting private key: SecKeychainItemExport (err = -25260)
Jul 6 13:39:16: --- last message repeated 1 time ---
Jul 6 13:39:16 hillcrestmac com.apple.DirectoryServices[25]: Enter machine password:
Jul 6 13:39:54 hillcrestmac kernel[0]: serialnumberd 209 FS_WRITE_DATA SBF /dev/dtracehelper 13 (seatbelt)
Jul 6 13:39:54 hillcrestmac /usr/sbin/serialnumberd[209]: serialnumberd started as /usr/sbin/serialnumberd.
Jul 6 13:39:55 hillcrestmac kernel[0]: serialnumberd 209 FS_READ_DATA SBF /dev/autofs_nowait 13 (seatbelt)
Jul 6 13:39:55 hillcrestmac kernel[0]: serialnumberd 209 FS_READ_DATA SBF /usr/sbin 13 (seatbelt)
Jul 6 13:39:55 hillcrestmac /usr/sbin/serialnumberd[209]: SN_Register(): New persistent, network record [tag=xsvr, extra=hillcrestmac.hillcrest.local] registered successfully by pid 209.
Jul 6 13:40:01 hillcrestmac /usr/sbin/serialnumberd[209]: launchd did not pass version 1 Mach port (bad launchd plist?)
Jul 6 13:40:31 hillcrestmac com.apple.dyld[26]: update_dyld_shared_cache[26] regenerated cache for arch=i386Well I never did come up with a solution to this problem. In the end the Snow Leopard discs turned up and an upgrade fixed the problem.
-
Why the cached data lost from Coherence?
Yesterday,I sarted a storage-enabledcache server by running cache-server.cmd and started a storage-disabled cache console by running coherence.cmd.
Then I inputed the following commands to input some data into the Coherence caches:
cache(cb)
put a a
put b b
put c c
put d d
put e e
Map (cb): list
c = c
e = e
a = a
d = d
b = bBut today, when I issue the list command from the Coherence command line, the output become "null".
Why the data lost?By running cache-server.cmd Coherence will be using the configuration file from the coherence.jar which will default to a cache with expiry of one hour. So if you had checked you cache after an hour or so you would have seen it was empty.
If you look at the coherence-cache-config.xml file inside the coherence jar you will see this mapping (which will apply to the cache you created with the name "cb"
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>example-distributed</scheme-name>
</cache-mapping>This maps to a scheme called example-distributed that looks like this:
<distributed-scheme>
<scheme-name>example-distributed</scheme-name>
<service-name>DistributedCache</service-name>
<!-- To use POF serialization for this partitioned service,
uncomment the following section -->
<!--
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
-->
<backing-map-scheme>
<local-scheme>
<scheme-ref>example-binary-backing-map</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>which uses the example-binary-backing-map scheme
<local-scheme>
<scheme-name>example-binary-backing-map</scheme-name>
<eviction-policy>HYBRID</eviction-policy>
<high-units>{back-size-limit 0}</high-units>
<unit-calculator>BINARY</unit-calculator>
<expiry-delay>{back-expiry 1h}</expiry-delay>
<flush-delay>1m</flush-delay>
<cachestore-scheme></cachestore-scheme>
</local-scheme>which you can see has expiry set to 1 hour.
I once had to help out a team who managed to get a node using this configuration on their production cluster and lost random data every hour!
JK -
Server 2.2: Caching server not caching content
I configured and turned on the new Caching server, then on the same computer went into Mac App Srore and purchased an app. I then checked the cache data directory and it is still empty. Shouldn't it be caching purchases as well as updates? According to the Server app help file, it should. It also says that no client configuration is needed.
I checked the debug log at /Library/Server/Caching/Logs/Debug.log, and it contains these entries:
2012/12/08 11:57:28:531 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
2012/12/08 11:57:28:715 computerModelRules missing from configuration http://suconfig.apple.com/resource/registration/v1/config.plist
Is this normal? Would it prevent caching?Well, all the permissions look right.
I have deleted all the directries under Caching and it recreates them with the right permissions.
I've moved the logging level to verbose and run it again and that seems to make no difference.
I have two files in the directory Logs
macpro:Logs XXXXXX$ ls -l
total 16
-rw-r--r-- 1 _assetcache _assetcache 1235 17 Dec 20:56 Debug.log
-rw-r--r-- 1 root _assetcache 929 17 Dec 20:56 LastState.plist
macpro:Logs XXXXXXX$
Debug.Log looks like
and LastState.plist looks like
If I show the directory /Library/Server/Caching I get
macpro:Caching XXXXXX$ sudo ls -lR
Password:
total 0
drwxrwxr-x 3 _assetcache _assetcache 102 17 Dec 20:56 Config
drwxr-x--- 3 _assetcache _assetcache 102 17 Dec 20:56 Data
drwxr-xr-x 4 _assetcache _assetcache 136 17 Dec 20:56 Logs
./Config:
total 24
-rw-r--r-- 1 _assetcache _assetcache 10015 17 Dec 20:56 Config.plist
./Data:
total 40
-rw-r----- 1 _assetcache _assetcache 20480 17 Dec 20:56 AssetInfo.db
./Logs:
total 16
-rw-r--r-- 1 _assetcache _assetcache 1235 17 Dec 20:56 Debug.log
-rw-r--r-- 1 root _assetcache 929 17 Dec 20:56 LastState.plist
plutil -p looks OK (well to me it does)
macpro:Config rwillett$ plutil -p Config.plist
"ReservedVolumeSpace" => 25000000000
"LastConfigURL" => "http://suconfig.apple.com/resource/registration/v1/config.plist"
"SingleMachineMode" => 0
"Port" => 0
"SavedCacheSize" => 0
"LastPort" => 53484
"Version" => 1
"CacheLimit" => 0
"DataPath" => "/Library/Server/Caching/Data"
"LastConfigData" => <LOTS AND LOTS OF RANDOM DATA REMOVED AS I HAVE NO IDEA WHAT IT IS >
"ServerGUID" => "882E672A-0172-4A21-84E0-0C1FC08DBC53"
"ServerRoot" => "/Library/Server"
After all this good stuff, I still have the same error of
2012/12/17 20:56:19:750 Caching server started
2012/12/17 20:56:19:768 Server GUID is 882E672A-0172-4A21-84E0-0C1FC08DBC53
2012/12/17 20:56:19:787 Cache manager initialized, cache limit = unlimited, current cache size = 0 bytes
2012/12/17 20:56:19:787 xpcListener should be running
2012/12/17 20:56:19:788 HTTPServer: Started HTTP server on port 53484
2012/12/17 20:56:19:797 Retrieving configuration
2012/12/17 20:56:19:950 Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
2012/12/17 20:56:20:027 computerModelRules missing from configuration http://suconfig.apple.com/resource/registration/v1/config.plist
2012/12/17 20:56:20:112 Cleaning cache
2012/12/17 20:56:20:185 Cleanup succeeded.
2012/12/17 20:56:20:185 Registering for notifications
2012/12/17 20:56:20:188 Registering for service
2012/12/17 20:56:21:432 Request for registration from https://lcdn-registration.apple.com/lcdn/register failed: HTTP response 400, body "INVALID_DEVICE"
2012/12/17 20:56:21:436 Registration rejected.
2012/12/17 20:56:21:440 Flushing cache.
2012/12/17 20:56:21:440 Server is suspended. Will re-register in 3600 seconds.
2012/12/17 20:56:25:055 Server shutting down (15)
I'm surprised I'm the only person having this. It looks as if the system makes a connection to Apple, downloads some stuff and then rejects my registration.
I'm very puzzled. -
Does simple file and folder sharing on an iMac work with OSX Server?
Hi There
I wonder if I should install OSX Server on an iMac wher several users work on the same files and folders.
My question - before I do something I might regret:
Does simple file and folder sharing on an iMac within several users really work with the help of OSX Server?
All I want to be able to do:
Admin creates a new folder1 and gives it read- and write access for user1 and user2.
User1 creates a subfolder1 in folder1, and a document1 in subfolder1.
User2 edits document1. Later Admin edits document1.
All these simple editing of files and folders (and subfolders) within a main folder should be possible. This is not possible now.
Is everything clear? I'm not a network specialist or something, I just want to give some co-workers access to some data on my computer without problems.So what you need are recursive permissions.
I suggest you create a group and add user1 and user2 to that group. You can name that group whatever you want, but for now i will call it FSUsers
Execute this in terminal. Replace FSUsers with your new group
sudo chmod -R +a "FSUsers allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit" /Users/Shared/*
Replace /Users/Shared with the location of your shared folder. Make sure you keep the /* at the end (this allows all subfolders and files to get the same permissions.
If you need to add people to the share just add them to the FSUsers group, the FSUsers group should should also be allowed in the sharing preferences. -
Can I use my external hdd with OSX server
Hi i am thinking about using OSX server, but I dont have very much space on the computer I would b running it of of so I would store everything on my 4TB Wd external HDD. Is this posible, and how would I set it up to do that? Also, my external also has some backups from other computers on it and will I loose any of that? I would probably partition it so that 1TB of it has all the servers files and everything.
Thanks,
BenYep you can use any connected drive for server storage, its under the settings tab called Service Data
No you wouldn't lose anything on the drive (assuming its Mac formatted) but clean partition would be a good idea -
TV don't work with OSX Server software?
Everything worked great BEFORE I updated our MacMini Intel to OSX Server software, now iTunes can't find the recent found Apple TV. And therefore the connection is gone and the syncing don't work anymore.
Any work-around or suggestions on how to solve this?
Or do I have to revert to previus userversion of OSX to make it work again?
Is there a limitation built into OSX Server software or is there maybe some kind of firewall / preferences etc that needs to be adjusted? (The built in firewall has been disconnected.)
FYI:
All apps are up to date. The Mac Mini + Apple TV is on my local network at home and I'm trying to make it my family's digital hub for all family-related media.
MacBook Pro CD2 & X-servers Mac OS X (10.4.9)
MacBook Pro CD2 & X-servers Mac OS X (10.4.9)1) I've not tried to reset ATV from scratch. But it works fine on other Mac's on the network (sharing).
2) Security options, yes I belive so to. I've followed all instructions and opened all ports I've seen mentioned i apples Knowledge database / support. Still don't work. Maybe I've missed some ports...
3) YES! It works fine sharing the MacMinis lib over the network.
4) Today I also tried to reinstall iTunes. But no luck.
Any mor suggestions anyone? Thx
I really wanny solve this, otherwhise my ATV is pretty useless for me... -
Website issue with osx server and hosting
so i had a website hosted from my osx server and i had bought the domain name from godaddy it worked great but i desided to instead of hosting it on my osx server to just host it on godaddy so i turned to server off and added the domain to my godaddy account hosting and now it works but one problem all computers can veiw the website but mine. i think it has somthing to do with the fact that my mac was the one hosting it. but if i go to my browser and go to my wesite i get a error but than i go to any other computer and it works great help please
A couple ideas
check our /etc/hosts file, you might have an entry for your domain.
sudo pico /etc/hosts
do you see any entries for your domain? If so:
edit the file by navigating with the arrow keys, delete the line
with your domain. Hit ctrl-x when done (enter 'y' to save the change)
Clear your DNS cache
dscacheutil -flushcache
Try a different DNS server, go into your network settings (In System Preferences)
Go to Ethernet or Wifi (whichever you are using), click Advanced and under the DNS tab enter:
8.8.8.8
Make sure no entries are ABOVE it.
If none of this works, send the results of these commands:
cat /etc/hosts
cat /etc/resolv.conf
dig +short mydomain.com (replace with your domain)
The results of these should point us in the right direction.
Jeff -
Report Using A Stored Procedure Is Caching Data
Post Author: springerc69
CA Forum: Data Connectivity and SQL
I converted a report from a view that worked fine to a stored procedure to try and improve the performance of the report, but when I publish the report it seems to cache the data. When you change the parameters you use to call the report or simply run the report again with the original parameters the report doesn't run the sproc and just shows the cached data from the original request. If I right click on the report and select refresh (web based crystal report), it prompts for the parameters. I just close out the prompt window, report window and click on the link for the report again it returns the correct results based on the new parameters or a refresh based on the original parameters. I've checked the cache time setting and set it to 0, and if you close the Internet Explorer window that originally called the report, open IE back up and request the report it will return the appropriate data. I have also verify that the report is not setup to save data with report. This is on Crystal XI Server.Post Author: synapsevampire
CA Forum: Data Connectivity and SQL
Which viewer are you using?
It might be that your IE settings are caching the report pages. because you're using an HTML viewer.
Try the Active-X viewer.
I've forgotten which icon it is that changes the viewer...it's under the preferences options, I think it's the one that looks like a hunk of cheese on the right upper side.
-k -
Error -36 while copying files to SMB shares but not AFP. (OSX Server APP)
Hello,
So far my transition to OSX server has been a sloppy one. I have had so many problems. I have problems with permissions about everyday. Anyhoos, here is my latest problem. Everytime (from any client computer) a computer tries to copy a file or folder to a share using SMB protocol to the osx server i get this message:
The Finder can’t complete the operation because some data in “File or folder name" can’t be read or written.
(Error code -36)
This does NOT happen when copying the same files using AFP protocol. I using a windows box at work, (dialing in throught the VPN) it doesn't seem to have any problems dropping files either. Anyone know whats up? I have read on the site that others are experiencing problems with SMB within OSX servers. Some report that it stright doesn't work!!!!
Anyhoos, through all my problems, you guys have been VERY helpful to help me work through it. I really appreciate it!!Just found a slight work around:
http://www.macwindows.com/TIP--Workaround-to-Mavericks-file-sharing-is-to-force- SMB.html
Several readers offered a suggestion for yesterday's report of problems with OS X 10.9 Mavericks accessing some Windows file servers and network attached storage device. Mavericks now defaults to SMB2 file sharing protocol, but a bug seems prevent OS X from using SMB1 or AFP when the server doesn't support the newer SMB2.
A workaround is to force OS X to use the old SMB1 (also known as SMB/CIFS). To do that, instead of mounting the server using the Finder, use the Connect to Server command in the Finder's Go menu. Then type in the following:
cifs://server_address (using the IP address or network name of the server)
Using smb://server_address won't work, as this will use SMB2 to access the device.
Thanks to Mario Cajina and Kevin Lepard for the suggestion. -
Time Machine Backup Not Performed (OSX Server)
On a newly installed 10.6.4 OSX Server (MiniServer hardware), I am trying to do a Time Machine backup to a freshly formatted external FW drive (GUID Partition map). Whenever I attempt a first backup I get a dialog:
"The backup was not performed because an error occurred while copying files to the hard disk. The problem may be temporary, try again later."
Disk Utility can find no problem on the drive. Repaired permissions, and verified both disks (Boot and Data) to be backed up.
Yes, the server is running and AFP is on.
I excluded the boot volume from Time Machine, and the Data drive seems to be backing up fine- so it's only the boot volume that is having a problem.
Can the Boot drive of a server be backed up with Time Machine?
(Both drives get cloned every night, as well as Time Machine and offsite Retrospect backups.)
Thanks.Gary Hobish wrote:
"The backup was not performed because an error occurred while copying files to the hard disk. The problem may be temporary, try again later."
See #C3 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum). It will show you how to locate the message(s) that describe the problem, then help you fix it.
If that doesn't help, post back with details, including all the messages, your setup (especially the destination for the backups), what you've done, and the results.
Can the Boot drive of a server be backed up with Time Machine?
Yes.
Maybe you are looking for
-
Doubt regarding Multiple recervers without using BPM
Hi Experts, Our RFC<->XI<->SOAP asynchronous scenario is working fine, in this case RFC is sender, SOAP is Receiver, i want to send some fields form the response of SOAP to be send it as mail using Mail adapter. My existing asynchronous scenario i
-
Error occurs in patching J2EE engine to SP11
Hi there, I try to update my J2ee engine to sp11. But in the phase 16 of 21,"start J2EE engine", a error was thrown out as below: <i>ERROR 2005-08-24 14:37:55 CJS-20058 J2EE Engine JC00 of SAP system J2E did not reach state "Starting Applications" a
-
This isn't so much of a problem as it is an annoyance, but I installed Win7 so I can use several Microsoft products that aren't compatible with Mac, and whenever I turn of the computer the OS defaults to Windows. Obviously I know if I hold down optio
-
Even though my Google toolbar doesn't work as easily as I would like with Firefox, I don't want it not working at all, so I continue to tell the, ( up date now is recommended) reminder to ask me later. How long can I continue to do this?
-
Bluetooth system in my car showing 'audio track'
When I pair my iPhone 4S with my car Bluetooth, the music is listed only as 'audio track'. Is there something I can do to display the track or is it just down to the Bluetooth system in my car?