Message boards : BOINC client : I've broken my setup
Message board moderation
Author | Message |
---|---|
Send message Joined: 23 May 09 Posts: 40 |
Hi all, Running Linux Mint 20.2. I'm trying to write a couple of simple scripts in Linux to start/stop Boinc. For stopping I have: #!/bin/sh boinccmd --quit This kills all the WUs and leaves boincmgr open. How do I now restart Boinc, with it running my previous project and WUs? I have boincmgr starting up at boot with a 3 second delay. To do this I added the command "/usr/bin/boincmgr" to my Startup Applications. When I now reboot, boincmgr opens, but is disconnected from the client - ie, no WUs are running. |
Send message Joined: 31 Dec 18 Posts: 296 |
Hi all, Where do you start the client? Don’t you need “/user/bin/boinc —start_delay 3” or the like? ETA, I have always run Boinc as a service, that way there’s no need to start or stop either client or manager when you reboot. |
Send message Joined: 23 May 09 Posts: 40 |
I start BOINC Manager through the Startup Applications app by running "/usr/bin/boincmgr" and with a start delay of 3 seconds. Yes, I too run boinc as a service. I was just trying to use the command line to stop/start crunching when needed (like during an update). |
Send message Joined: 31 Dec 18 Posts: 296 |
I start BOINC Manager through the Startup Applications app by running "/usr/bin/boincmgr" and with a start delay of 3 seconds. Have you tried running that command in a user terminal so that you can see any messages that it returns? |
Send message Joined: 23 May 09 Posts: 40 |
Boinc Manager is open. Projects and tasks displayed. I kill all the WUs with "boinccmd --quit" Then to restart I type "/usr/bin/boinc" And get an error: 15-Jul-2021 19:15:23 Another instance of BOINC is running. But didn't I just kill all the tasks before? |
Send message Joined: 31 Dec 18 Posts: 296 |
Boinc Manager is open. Projects and tasks displayed. I think that command stops the client when running as a program. When running as a service I think you need :- /etc/init.d/boinc-client stop See https://boinc.berkeley.edu/wiki/Stop_or_start_BOINC_daemon_after_boot for details. |
Send message Joined: 23 May 09 Posts: 40 |
Yes, these work. I will use the boinc-client script in /etc/init.d to control Boinc in the future. Now, I have the problem of boincmgr not recognising the password in /etc/boinc-client/gui_rpc_auth.cfg Whenever I boot up, boincmgr complains that it can't connect and says to reinstall. I have to manually go to "Select Computer" and type in "localhost", delete the old password hash (where is this stored?) and add my own password. Boincmgr then connects to running client. How do I stop boincmgr from reading the old password? |
Send message Joined: 31 Dec 18 Posts: 296 |
Yes, these work. I will use the boinc-client script in /etc/init.d to control Boinc in the future. See https://boinc.berkeley.edu/forum_thread.php?id=14013 |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.