Cannot start BOINC client on headless Centos 6.9

Message boards : Questions and problems : Cannot start BOINC client on headless Centos 6.9
Message board moderation

To post messages, you must log in.

AuthorMessage
hiya

Send message
Joined: 12 May 17
Posts: 6
United States
Message 77882 - Posted: 14 May 2017, 7:37:33 UTC

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??
ID: 77882 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 78056 - Posted: 20 May 2017, 16:18:21 UTC - in response to Message 77882.  

Probably, I'm too late with this, but I'd give it a try anyway.


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.


I don't do Centos so I don't know The Centos Way of doing things. First, if there's a way to expand what is behind *FAILED* please do. Second, to find logs please try this, probably needs su for this:

find / -type f -name stdoutdae.txt


If it fails, then log files were renamed (besides being moved). Trust me, that makes sense.

find / -type d -name '*boinc*'


If this succeedes please look into everything else except /var/lib/boinc (this onen is already empty, this makes sense).

If everything fails, please seek Centos specific help.

If that fails too, consider install OS-agnostic way (I mean, grub stuff from here).
I'm counting for science,
points just make me sick.
ID: 78056 · Report as offensive
hiya

Send message
Joined: 12 May 17
Posts: 6
United States
Message 78117 - Posted: 22 May 2017, 5:01:43 UTC - in response to Message 78056.  
Last modified: 22 May 2017, 5:04:33 UTC

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).
ID: 78117 · Report as offensive

Message boards : Questions and problems : Cannot start BOINC client on headless Centos 6.9

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.