Linux Headless installation -- > cant join project

Message boards : Problems : Linux Headless installation -- > cant join project
Message board moderation

To post messages, you must log in.

AuthorMessage
Waldmeisda

Send message
Joined: 27 Mar 20
Posts: 3
Message 372 - Posted: 29 Mar 2020, 11:25:16 UTC

Hi guys,

I'm running seti@home for years now, but since thats beeing terminated, I'm looking for new projects.
Intention was to join the corona project using SU. But looks like the linux client is to old:

#> boinccmd --acct_mgr attach https://scienceunited.org xxxx@xxxxxx.de xxxxxxxxx
polling for reply
poll status: operation in progress
polling for reply
poll status: operation in progress
polling for reply
Messages from account manager:
Science United requires a newer version of BOINC. Please install the current version from https://boinc.berkeley.edu/download.php
#>boinccmd --client_version
Client version: 7.9.3
#> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
#> apt search boinc
Sorting... Done
Full Text Search... Done
boinc/bionic-updates 7.9.3+dfsg-5ubuntu2 all
metapackage for the BOINC client and the manager
ID: 372 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Waldmeisda

Send message
Joined: 27 Mar 20
Posts: 3
Message 373 - Posted: 29 Mar 2020, 12:31:38 UTC - in response to Message 372.  

ok, forget the topic,

I cloned the git repository and compiled the current 7.17.0 .. thats working.
ID: 373 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Waldmeisda

Send message
Joined: 27 Mar 20
Posts: 3
Message 380 - Posted: 31 Mar 2020, 13:19:52 UTC - in response to Message 377.  

Hi,


its easy,

git clone https://github.com/BOINC/boinc.git

cd bonic

./_autosetup
./configure --disable-server --disable-manager


(I'm running headless server without GUI, if you want the GUI on your ubuntu machine, dont disable the manager)
Both commands may throw errors for missing libs, depending on your system (I had to install libcurl4-gnutls-dev on my server)
Just use apt search libXYZ to find the correct lib and install it with sudo apt install libcurl4-gnutls-dev

If thats finished just run
make
and after that sudo make install

sudo systemctl daemon-reload
sudo systemctl start boinc-client.service


boinccmd --acct_mgr attach https://scienceunited.org <email> <password>

finished.
ID: 380 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
WarHawk-AVG

Send message
Joined: 7 Apr 20
Posts: 1
Message 396 - Posted: 7 Apr 2020, 3:02:51 UTC - in response to Message 380.  
Last modified: 7 Apr 2020, 3:45:54 UTC

How often will you have to build the new builds...currently my distro is showing boinccmd, built from BOINC 7.9.3 using the package maintainer

Ok, followed your directions...seems it put all the package developer stuff where it needed to go

boinccmd, built from BOINC 7.17.0

then ran
boinccmd --acct_mgr attach https://scienceunited.org ACCOUNT_EMAIL ACCOUNT_PASSWORD

And kapow...up and running

I also used checkinstall vs make install to build a package

Seems to be working fine so far, at least that's what my boincview says it's doing

Thanks!!!!
ID: 396 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
jeff.ligon

Send message
Joined: 10 Apr 20
Posts: 4
Message 417 - Posted: 15 Apr 2020, 17:51:22 UTC
Last modified: 15 Apr 2020, 18:26:57 UTC

Thanks for posting these steps Waldmeisda.

In my case, the very last step gives me an error message when trying to use boinccmd, it complains it's not connected.

$ boinccmd --acct_mgr info  
can't connect to local host

Any idea how to fix?

I verified that the BOINC client service is running.

$ sudo systemctl status boinc-client.service
● boinc-client.service - LSB: BOINC core client
   Loaded: loaded (/etc/init.d/boinc-client; generated)
   Active: active (exited) since Wed 2020-04-15 18:00:57 UTC; 24min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 9830)
   CGroup: /system.slice/boinc-client.service

Apr 15 18:00:57 iotservertwo systemd[1]: Starting LSB: BOINC core client...
Apr 15 18:00:57 iotservertwo systemd[1]: Started LSB: BOINC core client.

By the way, for reference to others, here were the extra steps I had to do in order to get BOINC 7.17 installed and running.

My Ubuntu version.
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"

Missing packages installed to get { ./_autosetup } to run.
$ sudo apt-get install pkg-config
$ sudo apt-get install autoconf
$ sudo apt-get install libtool

Missing packages installed to get { ./configure --disable-server --disable-manager } to run.
$ sudo apt-get install libssl-dev
$ sudo apt-get install libcurl4-openssl-dev
$ sudo apt-get install libsasl2-dev
$ sudo apt-get install libwxgtk3.0 libwxgtk3.0-dev
$ sudo apt-get install libnotify-dev

Service failed to start.
$ sudo systemctl start boinc-client.service
Failed to start boinc-client.service: Unit boinc-client.service is masked.

Fix by doing.
sudo rm /lib/systemd/system/boinc-client.service
sudo systemctl enable boinc-client.service
sudo systemctl start boinc-client.service
ID: 417 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Problems : Linux Headless installation -- > cant join project


© 2024 UC Berkeley