Always issues with OS X Server, not sure why I'm not using Ubuntu exclusively. The only feature I am missing is the caching server. In a world of unlimited bandwidth (or at least more bandwidth than I typically use ) do I even require this server?
My goal was to make Apple software downloads super fast. I keep running into issues.
For one any sane deployment is going to be virtualized -- right? Wrong. I'm continually bombarded by console errors since Mavericks is running virtualized. Not a major pain, it certainly does not affect my work but I can't help but feel it shouldn't be happening in the first place.
I can roll back to a previous snapshot of the server fairly effortlessly (with a VM) but I always feel a bit better with a software manipulation to resolve any bugs. I was able to get my system back up after a disk utility permissions repair for 1 reboot, then back to Connection to DB failed. I re-ran the permissions repair but I assume it is still in a pretty fragile state.
Below is the error report I was seeing on my server.
Caught exception "Connection to DB failed" [CSDatabaseError] executing route /auth/?redirect=https://server.local/devicemanagement/api/authentication/callback: ( 0 CoreFoundation 0x00007fff8cf2525c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff910d2e75 objc_exception_throw + 43 2 CSService 0x00000001074579bd -[CSConnectionPool openConnection] + 3309 3 CSService 0x000000010745838a -[CSConnectionPool currentConnection] + 98 4 CSService 0x00000001074e7329 -[CSAuthService unauthenticatedSession] + 82 5 CSService 0x00000001074e7903 -[CSAuthService currentOrNewSession] + 154 6 CSService 0x00000001074d7c71 +[CSHTTPRouteHelper setCurrentSessionForRequest:] + 264 7 CSService 0x00000001074e1c09 __21-[CSAuthService init]_block_invoke + 367 8 CSService 0x00000001074d381a __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95 9 CSService 0x00000001074d6d6c -[CSHTTPBackgroundResponse bounce:] + 286 10 Foundation 0x00007fff880dc76b __NSThread__main__ + 1318 11 libsystem_pthread.dylib 0x00007fff8eda5899 _pthread_body + 138 12 libsystem_pthread.dylib 0x00007fff8eda572a _pthread_struct_init + 0 13 libsystem_pthread.dylib 0x00007fff8eda9fc9 thread_start + 13 )
Now I've just moved to a brand new system - bare metal - no vm. For me its not a pain if everything gets wiped again, but its less than inspiring. This new system uses an external disk for a lot of the "Assets" so I am hoping this will be more disaster resilient. pfft