Thread 'I haven't been able to start boincmgr for the last hour or so. It was fine before that.'

Message boards : Questions and problems : I haven't been able to start boincmgr for the last hour or so. It was fine before that.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72505 - Posted: 17 Sep 2016, 5:45:06 UTC

If I click on the BOINC Manager icon in the Ubuntu Unity launcher, it flashes for a while and then stops flashing, rather than flashing for a while and the application opening about a second after I click the icon.

It's 1000 times quicker to take actions through this UI than through using command
boinccmd
, so I'd really rather get it running again. I've rebooted the computer, but it still didn't work.

I suspended all my projects just before I had to shut down the computer about 2 hours ago, so nothing's happening on any of them right now.

I see on https://boinc.berkeley.edu/wiki/Boinccmd_tool that I can start tasks one at a time, but I can't see any way to use boinccmd to "resume all tasks" or "suspend all tasks".
ID: 72505 · Report as offensive
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72506 - Posted: 17 Sep 2016, 5:51:47 UTC

Out of sheer desperation, I just used the command

sudo boincmgr


and the UI started, so I am able to operate for the time being, however some problem has occurred within the last couple of hours, and I would like any help that anyone can provide to fix the problem and be able to start the UI by clicking the icon, as I have always been able to do for years until earlier this afternoon.
ID: 72506 · Report as offensive
ProfileAgentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 72509 - Posted: 17 Sep 2016, 9:22:03 UTC - in response to Message 72506.  
Last modified: 17 Sep 2016, 9:23:49 UTC

Out of sheer desperation, I just used the command



See When requesting help - need versions please

Also you need to look at and post error messages possibly in two files logged in
~/.BOINC/stderrgui.txt
~/.BOINC/stdoutgui.txt
ID: 72509 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 72511 - Posted: 17 Sep 2016, 10:12:03 UTC

This looks like the lockfile issue on Linux. Check in your home directory if there is a file called 'BOINC Manager-<USERNAME>' where <USERNAME> is your actual username. If there is you can simply delete it and you should be able to use the Unity Shortcut again.
ID: 72511 · Report as offensive
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72535 - Posted: 18 Sep 2016, 4:21:17 UTC - in response to Message 72509.  

My apologies. I know perfectly well that I need to state version number of applications when looking for support. I must have just forgotten yesterday in my exasperation.

I use BOINC Manager version 7.6.31 (x64).
ID: 72535 · Report as offensive
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72536 - Posted: 18 Sep 2016, 4:24:29 UTC - in response to Message 72511.  

Yep that was it.

I don't know anything about
the lockfile issue on Linux
. Is it worth knowing?
ID: 72536 · Report as offensive
ProfileAgentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 72538 - Posted: 18 Sep 2016, 9:54:41 UTC - in response to Message 72536.  
Last modified: 18 Sep 2016, 9:55:49 UTC

Yep that was it.

That's good news, thanks for feeding back.

Was anything posted in either of those logfiles?

I don't know anything about
the lockfile issue on Linux
. Is it worth knowing?

boinc manager should display an error if a problem exists with lockfile, possibly indicating something about another manager is running.

I'm guessing if you typed

boincmgr -m

You may have seen an error about another instance running.
ID: 72538 · Report as offensive
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72543 - Posted: 19 Sep 2016, 1:39:40 UTC - in response to Message 72538.  

Was anything posted in either of those logfiles?

I don't know anything about
the lockfile issue on Linux
. Is it worth knowing?


I gather you mean

~/.BOINC/stderrgui.txt
~/.BOINC/stdoutgui.txt


which in my case would probably be

/mnt/InternalHDD/boinc-client/stderrgui.txt
/mnt/InternalHDD/boinc-client/stdoutgui.txt


because I've located all high-write-cycle stuff onto the HDD instead of the SSD.

I'm guessing if you typed

boincmgr -m


You may have seen an error about another instance running.


It's too late to find out.

In any case, the important thing is I'm up and running again. Hap-hap-happy.
ID: 72543 · Report as offensive
Profileel_gallo_azul

Send message
Joined: 19 Jan 14
Posts: 79
Message 72571 - Posted: 21 Sep 2016, 1:45:20 UTC - in response to Message 72538.  

Uh-oh. It was still fine yesterday, but I just tried to start BOINC Manager and the icon flashed but the application didn't start.

I then checked, and

~/BOINC Manager-el_gallo_azul


is there again. I'll delete it again now, but is there a nice clean way of preventing it from occurring again?

PS I did a quick
boincmgr -m
and it said that another instance is already running. I just had a quick look in
gnome-system-monitor
and there is no other instance running, so it seems to be a problem with that lockfile not being automatically deleted occasionally.
ID: 72571 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 72614 - Posted: 24 Sep 2016, 8:13:21 UTC

Someone needs to simply fix it: https://github.com/BOINC/boinc/issues/1576
ID: 72614 · Report as offensive
ProfileAgentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 72625 - Posted: 24 Sep 2016, 17:00:45 UTC - in response to Message 72614.  
Last modified: 24 Sep 2016, 17:02:46 UTC

Yes, there are several things to fix.

boincmgr should not exit silently on error conditions.

boingmgr -m should run if there is a file.

The file stores a PID so that should be helpful and seems it's not uncommon looking at the link http://trac.wxwidgets.org/ticket/17046

Probably the best workaround until fixed is to write a clean-up script via lightdm conf

[SeatDefaults] 
session-setup-script=/usr/bin/boincmgr.clearlock.sh

If it sees the lockfile but no boincmgr running, then remove the lockfile.

Strangely i have never come across this problem in my world.
ID: 72625 · Report as offensive

Message boards : Questions and problems : I haven't been able to start boincmgr for the last hour or so. It was fine before that.

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.