mac.ron Posted April 1, 2010 Report Share Posted April 1, 2010 Hi all! Did anybody find -- or is there -- a working and reliable way to stop and restart the Retrospect Engine via command line? To make sure that all newly attached tape drives are recognized by the engine at a certain time we simply would like to stop the engine once weekly when there are no backup processes running. And then restart it after a few seconds to achieve a rescan of the available devices. The computer the engine is running on is a server which needs to be up all the time. We are using Retro 8 Multi Server (Engine 8.1.626.1) on a Mac OS X Server 10.6.2 machine. I would like to setup a launchd plist which simply runs a shell script to perform the Retrospect Engine restart at a certain time every week. Of course I've found several ways to kill and relaunch the engine, but it would be helpful to know the commands issued when you hit the "Start/Stop Engine" button in Retrospect's system preferences. Thank you in advance and happy Easter, Ron. 2 Quote Link to comment Share on other sites More sharing options...
Maser Posted April 1, 2010 Report Share Posted April 1, 2010 I *believe* this works to start it sudo /bin/launchctl load /Library/LaunchDaemons/com.retrospect.launchd.retroengine.plist and this to stop it: sudo /bin/launchctl unload /Library/LaunchDaemons/com.retrospect.launchd.retroengine.plist I know the former command will start the engine if the engine has crashed and will not start from the System Preference (I can make that happen on rare occasion...) Quote Link to comment Share on other sites More sharing options...
mac.ron Posted April 1, 2010 Author Report Share Posted April 1, 2010 :-) Thank you for your quick response! — Yes, it appears to work. For some reason I've tried the launchctl start/stop commands instead of ... load/unload as you suggested. When I used the start and stop subcommands, I received an error that there was "no such process" ... But anyway, with load and unload it works fine! Thanks again! Cheers, Ron. Quote Link to comment Share on other sites More sharing options...
sussox Posted April 1, 2010 Report Share Posted April 1, 2010 This should have been in the user manual Quote Link to comment Share on other sites More sharing options...
CallMeDave Posted April 1, 2010 Report Share Posted April 1, 2010 The launchctl man page has no mention of "start" or "stop" subcommands. Dave Quote Link to comment Share on other sites More sharing options...
sussox Posted April 2, 2010 Report Share Posted April 2, 2010 I meant that it would have been nice if the whole command-line startup procedure was documented in the Retrospect Usermanual. Quote Link to comment Share on other sites More sharing options...
dcomiskey Posted April 2, 2010 Report Share Posted April 2, 2010 Well, it shouldn't have to be if this program wasn't so unbelievably buggy..... :angryred: Quote Link to comment Share on other sites More sharing options...
demani Posted September 27, 2010 Report Share Posted September 27, 2010 Just for completeness (and for the next person who needs to find the info)- now that it's under Roxio the new commands (reflecting the new pathname) are: sudo /bin/launchctl unload /Library/LaunchDaemons/com.roxio.launchd.retroengine.plist sudo /bin/launchctl load /Library/LaunchDaemons/com.roxio.launchd.retroengine.plist Quote Link to comment Share on other sites More sharing options...
fotmasta Posted March 10, 2015 Report Share Posted March 10, 2015 Update. # Start Retrospect 11 Engine sudo /bin/launchctl load /Library/LaunchDaemons/com.retrospect.retroengine.plist #!/bin/sh # Stop Retrospect 11 Engine sudo /bin/launchctl unload /Library/LaunchDaemons/com.retrospect.retroengine.plist Quote Link to comment Share on other sites More sharing options...
rsbradfordjr Posted October 29, 2015 Report Share Posted October 29, 2015 How do we modify this for Yosemite 10.10.5? Using Terminal (Computer Name "Myserver", Admin account "admin") Myserver:~ admin$ sudo /bin/launchctl unload /Library/LaunchDaemons/com.retrospect.retroengine.plist /Library/LaunchDaemons/com.retrospect.retroengine.plist: Could not find specified service Did the launchctl command structure change with 10.10.5? com.retrospect.retroengine.plist is located in /Library/LaunchDaemons/ on Myserver Quote Link to comment Share on other sites More sharing options...
twickland Posted October 29, 2015 Report Share Posted October 29, 2015 /Library/LaunchDaemons/com.retrospect.retroengine.plist: Could not find specified service That is the output you would expect if Retrospect engine was not actually running at the time you entered the unload command. (The command lines that fotmasta cites are the same in Yosemite.) Quote Link to comment Share on other sites More sharing options...
rsbradfordjr Posted October 29, 2015 Report Share Posted October 29, 2015 Tim, Thanks for the quick response. Quote Link to comment Share on other sites More sharing options...
rsbradfordjr Posted October 29, 2015 Report Share Posted October 29, 2015 Just validated that both load and unload commands that fotmasta cites work correctly in Yosemite 10.10.5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.