foonon

Q: How do I disable everything but named?

I downloaded Server 3.0 after upgrading to Mavericks because Apple took BIND out of the standard OS.

\

After I set up DNS with Server.app, I started noticing errors like:

 

serveradmin[835]: [XcodeRequestHandler+EntityHelpers.m:455 753db310 +0ms] Query dict is empty, excluding from devices query

collabd[326]: [CSODService.m:78 b360000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check

xcsdevicesnifferd[63948]: [XCSPDeviceHelper.m:106 6681000 +0ms] Ignoring device because we don't know how to handle it: <DVTiPhonePlaceholder: 0x7ffe4a529320 (iOS Device | armv7)>

collabd[326]: [CSODService.m:78 b360000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check

serveradmin[835]: [XcodeRequestHandler+DeviceSupport.m:183 753db310 +0ms] Filtering device because it does not have a serial number (e.g. mac or simulator device)

collabd[326]: [CSODService.m:78 b360000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check

 

in the system log every few minutes! Maddening!

 

I don't use any of this stuff.  I might want to experiment with it one day, but not today.

 

How can I disable it?

 

~f

Posted on Dec 22, 2013 6:46 AM

Close

Q: How do I disable everything but named?

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Dec 22, 2013 5:21 PM in response to foonon
    Level 10 (207,936 points)
    Applications
    Dec 22, 2013 5:21 PM in response to foonon

    The log messages are not necessarily significant. What functional problem do you have?

  • by foonon,

    foonon foonon Dec 22, 2013 8:13 PM in response to Linc Davis
    Level 1 (10 points)
    Dec 22, 2013 8:13 PM in response to Linc Davis

    Thanks very much for replying. It is much appreciated.

     

    The constant stream of errors is disconcerting, especially since they are sucking up about a gig:

     

    starbug:Server root# pwd

    /Library/Server

    starbug:Server root# du -k -s */Logs

    762004  Wiki/Logs

    285552  Xcode/Logs

     

    Also, I don't know if there's anything functionally wrong, but I've not enabled the Wiki or the Xcode services and yet, here they are, taking up resources.

     

    Since I rebooted the system two days ago, collabd has racked up about 3 hours of CPU time. To my mind, that rather a lot for something that is (as far as I can tell) not supposed to be running.

     

    More than anything else, I would just like to understand what is going on. Why does collabd care about the servermgr_xcode's uuid_t? And what membership is it looking for? and what device is getting filtered? Why do these things matter when the Xcode and Wiki services are not running?

     

    And on and on...

     

    Any enlightenment welcomed!

     

    ~f

  • by Linc Davis,

    Linc Davis Linc Davis Dec 23, 2013 12:02 AM in response to foonon
    Level 10 (207,936 points)
    Applications
    Dec 23, 2013 12:02 AM in response to foonon

    All you can do is turn off the services you don't want to use. OS X Server adds many background processes, and it generates a lot of log messages, all of which you should ignore unless something isn't working. If you can't deal with it, uninstall Server and instead install a standalone build of BIND.

  • by foonon,Solvedanswer

    foonon foonon Dec 23, 2013 4:03 PM in response to Linc Davis
    Level 1 (10 points)
    Dec 23, 2013 4:03 PM in response to Linc Davis

    Through trial and error, I managed to find the minimal set of services to unload with launchctl to calm down the logs and still allow Server.app to work for the services I currently use:

     

    /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.xcsdevicesnifferd.plist

    /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.servermgr_xcode.get_currently_connected_devices.plist

    /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.servermgr_xcode.sync_adc.plist

    /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.collabd.plist

     

    It would be nice to know what those collabd errors mean and how to deal with them properly, but another day!

     

    ~f

  • by UptimeJeff,Helpful

    UptimeJeff UptimeJeff Dec 24, 2013 8:50 PM in response to foonon
    Level 4 (3,477 points)
    Dec 24, 2013 8:50 PM in response to foonon

    You may want to look at serverctl

     

    To view services which are enabled/disabled

     

         sudo serverctl list

     

    You can disable services which you don't need with (just an example)

     

         sudo serverctl disable service=com.apple.collabd.notifications

     

    Jeff