BOINC Client refuses to start under Ubuntu and All-in-one

Message boards : Number crunching : BOINC Client refuses to start under Ubuntu and All-in-one
Message board moderation

To post messages, you must log in.

AuthorMessage
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013406 - Posted: 26 Sep 2019, 19:25:33 UTC

I am encountering problems with a BOINC restart of one of my Linux Ubuntu computers. I have been away for three weeks and during that time, this computer https://setiathome.berkeley.edu/show_host_detail.php?hostid=8791580 and a couple of others failed. I have restarted BOINC successfully on the others simply by logging in - BOINC just fired right up. This one is being recalcitrant. I have tried computer reboots, and the
sudo systemctl start boinc-client
command suggested in another thread, and going into the AIO BOINC directory and executing BOINC, but BOINC refuses to start. I am using the TBar All-in-one under Ubuntu. The system worked very well until the failure. BOINC Manager runs, but all menu selections other than under FILE and HELP are grayed out. BOINC Manager also shows “Disconnected” in the status bar at the bottom of the window. I have attempted to connect to “localhost”, but that fails.

I suspect that the BOINC client isn’t running.

I have two questions:
1. How do I restart the client?
2. Why didn’t it restart automatically like the other computers? What do I need to do to make it restart automatically?

As a relative LINUX newbie, I really appreciate your assistance.
Arnie
Alberta, Canada
ID: 2013406 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2013410 - Posted: 26 Sep 2019, 19:36:03 UTC - in response to Message 2013406.  

Until you receive a better answer.

What happening when you try to run the Boinc client directly on a terminal?

Open a terminal on the Boinc directory and type ./boinc and post the output
ID: 2013410 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2013411 - Posted: 26 Sep 2019, 19:39:57 UTC - in response to Message 2013406.  

I think you had some updates during the time you were away and now there are missing dependencies for the client, boinc.
Open up the AIO BOINC directory and open a Terminal in that directory. Type ldd and a space and then boinc.
ldd boinc

You should see a printout of all the dependencies that the client boinc needs. Look for any line ending in >not found. That would be the missing library that the client needs. Install whatever is missing and run ldd again to check all dependencies are satisfied.
If you have no missing dependencies, then it is possible that the password between the Manager boincmgr and boinc needs to be refreshed. The password is in the rpc_gui_auth.cfg file in the BOINC directory.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2013411 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2013412 - Posted: 26 Sep 2019, 19:40:54 UTC - in response to Message 2013410.  

Until you receive a better answer.

What happening when you try to run the Boinc client directly on a terminal?

Open a terminal on the Boinc directory and type ./boinc and post the output

He already has done that.
going into the AIO BOINC directory and executing BOINC, but BOINC refuses to start

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2013412 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013413 - Posted: 26 Sep 2019, 19:49:30 UTC - in response to Message 2013410.  

Until you receive a better answer.

What happening when you try to run the Boinc client directly on a terminal?

Open a terminal on the Boinc directory and type ./boinc and post the output


I get
./boinc: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Arnie
Alberta, Canada
ID: 2013413 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013415 - Posted: 26 Sep 2019, 19:55:46 UTC - in response to Message 2013411.  

I think you had some updates during the time you were away and now there are missing dependencies for the client, boinc.
Open up the AIO BOINC directory and open a Terminal in that directory. Type ldd and a space and then boinc.
ldd boinc

You should see a printout of all the dependencies that the client boinc needs. Look for any line ending in >not found. That would be the missing library that the client needs. Install whatever is missing and run ldd again to check all dependencies are satisfied.
If you have no missing dependencies, then it is possible that the password between the Manager boincmgr and boinc needs to be refreshed. The password is in the rpc_gui_auth.cfg file in the BOINC directory.


The only "not found" is libXss.so.1 which means nothing to me. How do I reinstall that?

In addition, I have no rpc_gui_auth.cfg file in the BOINC directory. Could the whole installation be hosed?
Arnie
Alberta, Canada
ID: 2013415 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2013416 - Posted: 26 Sep 2019, 19:56:19 UTC - in response to Message 2013413.  

Until you receive a better answer.

What happening when you try to run the Boinc client directly on a terminal?

Open a terminal on the Boinc directory and type ./boinc and post the output


I get
./boinc: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Now follow Keith lead's he is a lot more suited to help than me, but that shows you have a missing dependency almost sure is because that your client did not start.
ID: 2013416 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2013417 - Posted: 26 Sep 2019, 19:57:17 UTC - in response to Message 2013406.  

sudo systemctl start boinc-client

That command is for the Repository version of BOINC installed as a Service. The All-In-One is the Berkeley Version of BOINC and is Not run as a service. The old instructions are here, https://boinc.berkeley.edu/wiki/Installing_BOINC#The_Berkeley_Installer
Note, if you want to use the run_client & run_manager script you will need to open both of them in the Text Editor and enter the correct path, usually that involves replacing the word 'User' with your home folder name.
Besides what has already been posted, some times after a power outage a file named similar to BOINC Manager - username is left in your Home folder and some say that prevents boinc from starting. You might Stop the Manager, remove that file if there, and relaunch the Manager. Otherwise, try ldd and even running boinc from the Terminal by simply dragging and dropping boinc into the Terminal window and hitting Enter. If boinc doesn't start from the Terminal it should give a reason for not starting.
ID: 2013417 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2013418 - Posted: 26 Sep 2019, 19:57:38 UTC - in response to Message 2013413.  

That seems to be needed for the Manager and not the Client.

libxss1
X11 Screen Saver extension library


Likely for the BOINC screen saver. Can you just install that library?
sudo apt install libxss1

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2013418 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013419 - Posted: 26 Sep 2019, 20:14:16 UTC - in response to Message 2013418.  

That seems to be needed for the Manager and not the Client.

libxss1
X11 Screen Saver extension library


Likely for the BOINC screen saver. Can you just install that library?
sudo apt install libxss1


Did all this, and the install worked. BOINC client started using the ./boinc commnad. After considerable churning and chugging, it terminated with the following:
26-Sep-2019 14:10:59 [---] Suspending GPU computation - computer is in use
^C26-Sep-2019 14:11:41 [---] Received signal 2
26-Sep-2019 14:11:42 [---] Exiting

Arnie
Alberta, Canada
ID: 2013419 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2013420 - Posted: 26 Sep 2019, 20:17:30 UTC - in response to Message 2013419.  

That seems to be needed for the Manager and not the Client.

libxss1
X11 Screen Saver extension library


Likely for the BOINC screen saver. Can you just install that library?
sudo apt install libxss1


Did all this, and the install worked. BOINC client started using the ./boinc commnad. After considerable churning and chugging, it terminated with the following:
26-Sep-2019 14:10:59 [---] Suspending GPU computation - computer is in use
^C26-Sep-2019 14:11:41 [---] Received signal 2
26-Sep-2019 14:11:42 [---] Exiting

That's a Preferences problem. You need to change your web or local preferences so that gpu computation is allowed with the computer in use. Or raise it to a much higher value like 80%.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2013420 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013421 - Posted: 26 Sep 2019, 20:27:52 UTC - in response to Message 2013420.  

Keith, the reinstall of the lib seemed to do the trick. I restarted BOINC Manager and it then reconnected to the BOINC server. I selected SETI and tasks downloaded. The computing preferences were different, so I edited the local copy and I am now back in operation.

I very much appreciate your kind assistance, but I do have a follow-up question. What should I do to prevent this from happening again? My other Ubuntu box just restarted all by itself while I was a thousand kilometers away.
Arnie
Alberta, Canada
ID: 2013421 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2013423 - Posted: 26 Sep 2019, 20:39:50 UTC - in response to Message 2013421.  

Make sure you don't have LivePatch enabled. Make sure you don't have "Download and install automatically" enabled in Software and Updates. You only want updates installed when you are present to inspect what is going to be installed, removed or changed and approve the changes.

If you want BOINC to run automatically after an unexpected reboot, use the run_client script in the AIO BOINC directory. Make sure you edit it to the location of the BOINC directory and put the script into your Startup Programs list or folder.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2013423 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013425 - Posted: 26 Sep 2019, 20:45:55 UTC - in response to Message 2013423.  

Make sure you don't have LivePatch enabled. Make sure you don't have "Download and install automatically" enabled in Software and Updates. You only want updates installed when you are present to inspect what is going to be installed, removed or changed and approve the changes.

If you want BOINC to run automatically after an unexpected reboot, use the run_client script in the AIO BOINC directory. Make sure you edit it to the location of the BOINC directory and put the script into your Startup Programs list or folder.


OK! All that makes sense. I will make the changes.

Thanks again for your help.
Arnie
Alberta, Canada
ID: 2013425 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2013426 - Posted: 26 Sep 2019, 20:53:37 UTC - in response to Message 2013421.  

Keith, the reinstall of the lib seemed to do the trick. I restarted BOINC Manager and it then reconnected to the BOINC server. I selected SETI and tasks downloaded. The computing preferences were different, so I edited the local copy and I am now back in operation.
I very much appreciate your kind assistance, but I do have a follow-up question. What should I do to prevent this from happening again? My other Ubuntu box just restarted all by itself while I was a thousand kilometers away.
Actually that screensaver lib isn't needed to run the Client or Manager. It appears the machine dumped the preferences, it's cache, and reattached to the project. You weren't clear about what stopped the machine, "I have been away for three weeks and during that time, this computer https://setiathome.berkeley.edu/show_host_detail.php?hostid=8791580 and a couple of others failed."
What do you mean by failed? If it was a power outage, then it's the luck of the draw. I've had machines reboot from a power outage without any trouble, while I've had others dump their preferences, but, I don't remember one dumping it's cache and reattaching. Just lucky I suppose. It all depends on what the machine is doing when it gets zapped.
ID: 2013426 · Report as offensive
wandrr

Send message
Joined: 24 Dec 00
Posts: 19
Credit: 40,182,080
RAC: 48
Canada
Message 2013428 - Posted: 26 Sep 2019, 21:08:59 UTC - in response to Message 2013426.  

Keith, the reinstall of the lib seemed to do the trick. I restarted BOINC Manager and it then reconnected to the BOINC server. I selected SETI and tasks downloaded. The computing preferences were different, so I edited the local copy and I am now back in operation.
I very much appreciate your kind assistance, but I do have a follow-up question. What should I do to prevent this from happening again? My other Ubuntu box just restarted all by itself while I was a thousand kilometers away.
Actually that screensaver lib isn't needed to run the Client or Manager. It appears the machine dumped the preferences, it's cache, and reattached to the project. You weren't clear about what stopped the machine, "I have been away for three weeks and during that time, this computer https://setiathome.berkeley.edu/show_host_detail.php?hostid=8791580 and a couple of others failed."
What do you mean by failed? If it was a power outage, then it's the luck of the draw. I've had machines reboot from a power outage without any trouble, while I've had others dump their preferences, but, I don't remember one dumping it's cache and reattaching. Just lucky I suppose. It all depends on what the machine is doing when it gets zapped.


It appears the failure was a power outage, probably quite short. It looks like the entire cache and preferences and connection to the project were munged. Another possibility is the network connection. I am using a powerline link (for several reasons related to the strange apartment I live in) and it might have contributed to the "failure". I have another old PC on the way, and I think I will invest in a UPS for those two since they are dedicated SETI crunchers. My daily driver PC also needs a UPS since it stopped as well after the power outage. Oh well, it is only money. Sigh.
Arnie
Alberta, Canada
ID: 2013428 · Report as offensive

Message boards : Number crunching : BOINC Client refuses to start under Ubuntu and All-in-one


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.