Kevin Neal

Q: collabauthd crashes after restarting the server

I have a reoccurring issue where I'm unable to log into Profile Manager and Wiki after restarting the server and my only option is to restore from a clone.

 

I believe the problem is with Open Directory but I'm not sure how to fix it.

 

After restoring the server the logs show a repeating message of collabauthd throttling and restarting

Posted on Aug 15, 2014 11:31 AM

Close

Q: collabauthd crashes after restarting the server

  • All replies
  • Helpful answers

Previous Page 2
  • by Kevin Neal,

    Kevin Neal Kevin Neal Aug 18, 2014 4:20 PM in response to Linc Davis
    Level 3 (513 points)
    Servers Enterprise
    Aug 18, 2014 4:20 PM in response to Linc Davis

    Yeah looks like I spoke too soon after a restart the collabauthd error is back, and I tried the exact same way of cloning with no luck

     

    I have observed a few things though, wiki server fails to stop when you turn it off, but if I delete all my virtual hosts from Library/Server/sites then wiki server does stop without turning itself back on. When I manually turn it on I see this in the logs right before the collabauthd error starts

     

     

    Aug 19 00:10:45 xserve.xxx.co.uk servermgrd[585]: servermgr_wiki: enabling WebDAVSharing webapp

    Aug 19 00:10:47 xserve.xxx.co.uk sudo[3937]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/Applications/Server.app/Contents/ServerRoot/usr/bin/psql -h /Library/Server/PostgreSQL For Server Services/Socket -U webauth -d webauth -c SELECT max(version) FROM schema_migrations

    Aug 19 00:10:47 xserve kernel[0]: Sandbox: sandboxd(3943) deny mach-lookup com.apple.coresymbolicationd

    Aug 19 00:10:47 xserve.xxx.co.uk sandboxd[3943] ([3924]): collabpp(3924) deny file-read-data /Applications/Server.app/Contents/ServerRoot/usr/lib/libpq.5.5.dylib

    Aug 19 00:10:48 xserve.xxxx.co.uk sandboxd[3943] ([3924]): collabpp(3924) deny file-read-metadata /private/var/teamsserver

    Aug 19 00:10:48 xserve.xxxx.co.uk sandboxd[3943] ([3924]): collabpp(3924) deny file-read-data /Library/Preferences/.GlobalPreferences.plist

    Aug 19 00:10:50 --- last message repeated 1 time ---

    Aug 19 00:10:50 xserve.xxxx.co.uk com.apple.SecurityServer[25]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [584] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [584] (2,0)

    Aug 19 00:10:50 xserve.xxxx.co.uk com.apple.SecurityServer[25]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [105] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [584] (100000,0)

    Aug 19 00:10:50 xserve.xxxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000009 Pkt Record:        5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 80 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000000 Our Record 2 won:  5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 443 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000009 Pkt Record:        5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 443 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000000 Our Record 2 lost: 5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 80 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000009 Pkt Record:        5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 80 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000000 Our Record 2 won:  5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 443 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000009 Pkt Record:        5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 443 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000000 Our Record 3 lost: 5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 80 xserve.local.

    Aug 19 00:10:50 xserve.xxxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000009 Pkt Record:        5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 80 xserve.local.

    Aug 19 00:10:50 xserve.xxxxx.co.uk mDNSResponder[67]: ResolveSimultaneousProbe: 0000000000000000 Our Record 2 won:  5BA28CC8   20 WebDAV\\032Sharing:\\032xserve\\032*._webdav._tcp.local. SRV 0 0 443 xserve.local.

     

    Aug 19 00:10:51 xserve.xxxx.co.uk com.apple.SecurityServer[25]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl' [3963] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl' [3963] (2,0)

    Aug 19 00:10:51 xserve.xxxx.co.uk com.apple.SecurityServer[25]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [105] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl' [3963] (100000,0)

  • by Linc Davis,

    Linc Davis Linc Davis Aug 18, 2014 5:19 PM in response to Kevin Neal
    Level 10 (208,000 points)
    Applications
    Aug 18, 2014 5:19 PM in response to Kevin Neal

    Back up all data.

      

    Quit the Server application and drag it to the Trash, but don't empty. You'll be prompted to confirm that you want to stop all services. You won't lose any data.

       
    Put the app back where it was and launch it. Test.

  • by Kevin Neal,

    Kevin Neal Kevin Neal Aug 21, 2014 11:51 AM in response to Linc Davis
    Level 3 (513 points)
    Servers Enterprise
    Aug 21, 2014 11:51 AM in response to Linc Davis

    Unfortunately that had no effect. I was wondering if it might be worth restoring the clone again, but before booting into it, try removing the server app so it doesn't start any services while it boots up

  • by Linc Davis,

    Linc Davis Linc Davis Aug 21, 2014 9:48 PM in response to Kevin Neal
    Level 10 (208,000 points)
    Applications
    Aug 21, 2014 9:48 PM in response to Kevin Neal

    What do you get from this:

    sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/collabd_trampoline
  • by Kevin Neal,

    Kevin Neal Kevin Neal Aug 22, 2014 12:28 AM in response to Linc Davis
    Level 3 (513 points)
    Servers Enterprise
    Aug 22, 2014 12:28 AM in response to Linc Davis

    I get "command not found"

  • by Linc Davis,

    Linc Davis Linc Davis Aug 22, 2014 6:41 AM in response to Kevin Neal
    Level 10 (208,000 points)
    Applications
    Aug 22, 2014 6:41 AM in response to Kevin Neal

    You're running 10.8 Server. Maybe upgrading to 10.9 would get you a bug fix.

  • by Kevin Neal,

    Kevin Neal Kevin Neal Nov 11, 2014 6:32 AM in response to Linc Davis
    Level 3 (513 points)
    Servers Enterprise
    Nov 11, 2014 6:32 AM in response to Linc Davis

    I've finally got an opportunity to follow your advice, my plan was to start totally from scratch tonight re-installing the server 10.9 as a new server, but today we have had a sudden spate of power cuts which forced the server to shutdown twice in close succession, and to my surprise I can now log into wiki server ?!?!

     

    And no errors in the logs now.

     

    But as its clearly unstable I'm still pushing ahead with a full re-install, including new OD

     

    Very strange tho!

Previous Page 2