Browse KB by category:
Go to KB #:
I can't stop the BRU Server Server daemon on 10.4.x/10.5.x systems...
When trying to stop the BRU Server Server daemon, either through the command line with the --kill or using the BRU Server Config application, the server daemon will not remain stopped.
The cause of this is due to LaunchD not releasing the BRU Server Server daemon. Each time that LaunchD notices that the daemon has stopped, it immediately restarts the daemon. Making it impossible to terminate/kill through normal means.
To fix this and stop the daemon without having to reboot the system, the following LaunchD unload command will remove LaunchD's control of the daemon and allow it to fully stop so that you may run your hardware scan , apply the license, or do whatever it is that you needed the server daemon to be stopped for.
sudo /bin/launchctl unload -w /Library/LaunchDaemons/com.tolisgroup.bru-server.server.plist
Then, if you needed to run your hardware scan, you may do so with this command:
sudo /usr/local/bru-server/server --scan
You may also run the hardware scan from the BRU Server Config by clicking on the "Hardware Scan" button at the top of the window and clicking the "Scan" button.
To restart the server daemon, you will need to load it back into LaunchD to ensure that it starts at boot. To do this, run this command:
sudo /bin/launchctl load -w /Library/LaunchDaemons/com.tolisgroup.bru-server.server.plist
Once done, the server daemon will automatically have been started.