Questions and Answers :
Unix/Linux :
CentOS Homepage - Cern
Message board moderation
Author | Message |
---|---|
Send message Joined: 2 May 07 Posts: 2104 Credit: 159,819,191 RAC: 123,837 |
|
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Hello everyone! I was curious about CentOS and installed the latest build 8.2-2004 on one of my backup machines. I never used CentOS before, so i'm a noob regarding this OS. Now i'm running into problems with the BOINC manager which does not connect to localhost. I did the following steps to install BOINC on a fresh OS installation: Installation of CVMFS for native applications: sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm sudo yum install -y cvmfs sudo cvmfs_config setup sudo wget https://lhcathome.cern.ch/lhcathome/download/default.local -O /etc/cvmfs/default.local sudo cvmfs_config reload cvmfs_config probe Installation of BOINC client and manager: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf config-manager --set-enabled PowerTools sudo yum install boinc-client boinc-manager This installed CVMFS (2.7.3) and BOINC 7.16.6. No problems up to here. When i now start the BOINC manager it tells me "not connected" (to localhost). I already tried to start the BOINC client manually and afterwards the manager, but i was out of luck so far. Anyone here who can explain how to get BOINC working? Thanks in advance and regards, djoser Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 13 Jul 05 Posts: 167 Credit: 14,945,019 RAC: 463 |
Anyone here who can explain how to get BOINC working?I did have a CentOS 8 box running for a long time but it's now down for the summer, so I can't easily check details. The BOINC client from EPEL will install as a daemon in /var/lib/boinc; you then need to do something like a "system boinc-client start" or systemctl equivalent to actually start it. To authenticate as a user and use boinccmd, you need a local copy of a file I forget the name of, which you can (as root) copy from /var/lib/boinc to a suitable local directory. The first thing to check (with ps) is whether boinc is already running or not. |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Hello and thanks for your answer! you then need to do something like a "system boinc-client start" or systemctl equivalent to actually start it. This is what i did and meant by "trying to start BOINC client manually". That didn't work, probably because of the "missing" file you mentioned. The deamon was not to be found in taskmanager. Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 2 May 07 Posts: 2104 Credit: 159,819,191 RAC: 123,837 |
Have CentOS7: Starting Boinc with boincmgr -d /var/lib/boinc in Console as root |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Hello maeax, trying this gives me: No protocol specified Unable to init server: Could not connect: Connection refused Error: Unable to initialize GTK+, is DISPLAY set properly? Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 2 May 07 Posts: 2104 Credit: 159,819,191 RAC: 123,837 |
Have a CentOS77 also: sudo systemctl start boinc-client before this boincmgr -d /var/lib/boinc |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Gives me the same error message. Interestingly command "systemctl status boinc-client.service" gives me: boinc-client.service - Berkeley Open Infrastructure Network Computing Client Loaded: loaded (/usr/lib/systemd/system/boinc-client.service; enabled; vendo> Active: active (running) since Fri 2020-07-10 20:20:33 CEST; 15min ago Docs: man:boinc(1) Main PID: 1425 (boinc) Tasks: 2 (limit: 46092) Memory: 29.3M CGroup: /system.slice/boinc-client.service └─1425 /usr/bin/boinc I can see it now it the taskmanager, but manager does not connect to it. Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 2 May 07 Posts: 2104 Credit: 159,819,191 RAC: 123,837 |
When you have a Account for WCG in Download -> Fedora Linux is a good help how to install boinc for Fedora/CentOS. |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
I found this and will try step by step: https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Fedora Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Okay, finally i got it working :-) My mistake was to believe that BOINC manager would connect itself to the client, but with CentOS you have to do this manually. I was not aware of that, because in every other OS i tried the BOINC manager did this automatically. I successfully connected to LHC project now...let's see what other problems occur :-) Greetings, djoser Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 13 Jul 05 Posts: 167 Credit: 14,945,019 RAC: 463 |
Hello and thanks for your answer!The file I was thinking of was gui_rpc_auth.cfg, which gets created automatically once the daemon first starts (and which boinccmd uses to connect to the daemon). |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
The file I was thinking of was gui_rpc_auth.cfg, which gets created automatically once the daemon first starts (and which boinccmd uses to connect to the daemon). Thanks for looking it up for me! Yes, it's the file that contains the password for connecting the manager to localhost. I already had successful native Theory tasks on CentOs 8, so everything is fine for me now and i gained some experience :-) Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
©2024 CERN