Posts by hiya

1) Message boards : Questions and problems : boinctui on Ubuntu 16.04 gives "unauthorized!" and won't run (Message 78120)
Posted 22 May 2017 by hiya
Post:
Looks like it was just the project I'm working on that runs only one task at a time, as other projects run multiple tasks at once.
2) Message boards : Questions and problems : Cannot start BOINC client on headless Centos 6.9 (Message 78117)
Posted 22 May 2017 by hiya
Post:
Solved the problem.

For some reason the data files are being written to wherever I am when I start the daemon so the boinc client app can't find them if I'm not in the data directory. I'm assuming it has something to do with the fact that the app is built for Fedora and not Centos specifically.

At any rate, I removed boinc client and re-installed, then changed directory to the data directory /var/lib/boinc and started the daemon. (After install, the daemon doesn't auto-start the way it does on Ubuntu version and may even mean I need to add it to start up)

For anyone stumbling upon this, and in an effort to expand the info here on how to install on Centos, the following is the process for installing on Centos 6.9 that I used:

root@server[~]#  wget https://dl.fedoraproject.org/pub/epel/6/x86_64/boinc-client-7.2.33-3.git1994cc8.el6.x86_64.rpm
root@server[~]#  rpm -Uvh boinc-client-7.2.33-3.git1994cc8.el6.x86_64.rpm
root@server[~]#  cd /var/lib/boinc
root@server[~]#  boinc --daemon
root@server[~]#  boinccmd --project_attach https://projectwebsite.com  y89sdf8hidsiu43dfg1sj534d5fjg
root@server[~]#  htop


Where y89sdf8hidsiu43dfg1sj534d5fjg is your project key found by logging in to the project site and checking under your Account screen and clicking View next to Account keys. (See: http://boinc.berkeley.edu/wiki/Boinccmd_tool for other boinccmd options)

I added htop in there at the end to verify boinc daemon and tasks were running. Use yum install htop to install htop.

Thank you @whynot for the help, I discovered logs were at /var/log/boinc.log and /var/log/boincerr.log while all other data files show up in the directory I run the boinc command. I wonder if this is a bug with running Fedora version on Centos or if this happens on Fedora as well. Unfortunately, I don't have any fedoras (besides what my grandpa left in a trunk in the attic... next to a treasure map and a wallet from Chester Copperpot).
3) Message boards : Questions and problems : boinctui on Ubuntu 16.04 gives "unauthorized!" and won't run (Message 78112)
Posted 21 May 2017 by hiya
Post:
Thank you everyone for replying, you've all been very helpful.

I somehow missed the part where you're supposed to match a password in boinctui to what is in the gui_rpc_auth.cfg file. I guess I felt that because I'm running headless with no GPU, that it didn't matter what was in that file. It appears this file is mandatory if you're running an interface of either kind. It's good to know if I want to build a customized interface later.

The following worked for me:

Step 1 - stop boinc client
Step 2 - remove (or replace) password in gui_rpc_auth.cfg
Step 3 - start boinc client
Step 4 - open boinctui and edit password via File > Config

Voila! BOINCing ensues :)

As multiple people said here, I confirmed that this works whether you set a password or not, so long as the contents of gui_rpc_auth.cfg match the host configuration in boinctui at File > Configure hosts. (so if no password in file then no password in boinctui config)

Now I have a new problem: boinctui shows all my tasks but all say WaitR or Wait except for one. However, when I look at the tasks through htop there are 32 running. Looking into it now, but if anyone knows why that would be helpful.

Thanks again!
4) Message boards : Questions and problems : boinctui on Ubuntu 16.04 gives "unauthorized!" and won't run (Message 78077)
Posted 21 May 2017 by hiya
Post:
Having a difficult time finding the root of the problem on this. Brand new server, and on first install boinctui was running great, then I'm not sure what I did but I started to have problems when a project showed my server twice in the computers list on the project site. I also could not run boinccmd anymore and was getting the following:

Operation failed: authentication error


or

Authentication error: -155


FYI, I'm running as root.

After some research, I found that this happens sometimes when data doesn't sync correctly between client and project server, so I used the "merge computers" function which solved the problem on the project's server end and my end as far as BOINC is concerned. But boinctui still shows "unauthorized!" in a red banner at the top.

I'd like to understand the root cause of this problem as well so that I can set up future BOINC servers on ubuntu without issue.

Any ideas??
5) Message boards : Questions and problems : File won't run - BOINC insists CPU is busy (Message 78030)
Posted 19 May 2017 by hiya
Post:
What have you tried so far? Have you looked at the settings for when and when not to compute? Give us more info, maybe someone can help.

Also, another strategy is to ditch the task or maybe even uninstall and reinstall, maybe with a new account... ya know, start fresh.
6) Message boards : Questions and problems : Cannot start BOINC client on headless Centos 6.9 (Message 77882)
Posted 14 May 2017 by hiya
Post:
Hello, I am new here, and I love BOINC! But I cannot get it to run on my remote Centos 6.9 machine properly and could use a little guidance.

With the lack of Centos-specific documentation, I've attempted to install using su -c 'yum install boinc-client boinc-manager' from the Fedora installation guide which leaves me with the following:

root@server [~]# /sbin/service boinc-client start
BOINC client requires initialization (no projects attached)[WARNING]
Starting boinc-client:                                     [FAILED]


I do not know where to find any error logs as /var/lib/boinc is empty, so I don't know what exactly is failing. I tried using boinccmd to attach a project per the warning, but I get can't connect to local host, which makes sense because I cannot start boinc-client.


Any ideas??




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.