Page 2 of 2

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Wed Jun 11, 2025 7:45 am
by NetoriusNick
muziqaz wrote: Tue Jun 10, 2025 8:03 pm
NetoriusNick wrote: Tue Jun 10, 2025 7:56 pm installed following this guide
viewtopic.php?t=42491
That would not cause your client to not start.
Also newer distros have issue with FAHClient initiation sequence. I have to restart the fah-client right after the system restart for OpenCL stuff to be seen by FAHClient.
Apparently FAHClient starts before any libraries are being loaded or something.
I probably mentioned this somewhere around here
even a stop and a start will not produce any logs

the only sign there is an issue is

Code: Select all

srx@srx:~$ sudo systemctl start fah-client
srx@srx:~$ systemctl status --no-pager -l fah-client
× fah-client.service - Folding@home Client
     Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-06-10 19:13:33 UTC; 3s ago
   Duration: 20ms
    Process: 2037 ExecStart=/usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/ (code=exited, status=1/FAILURE)
   Main PID: 2037 (code=exited, status=1/FAILURE)
        CPU: 18ms

Jun 10 19:13:33 srx systemd[1]: fah-client.service: Scheduled restart job, restart counter is at 5.
Jun 10 19:13:33 srx systemd[1]: fah-client.service: Start request repeated too quickly.
Jun 10 19:13:33 srx systemd[1]: fah-client.service: Failed with result 'exit-code'.
Jun 10 19:13:33 srx systemd[1]: Failed to start fah-client.service - Folding@home Client.

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Wed Jun 11, 2025 7:50 am
by calxalot
Please try

Code: Select all

fah-client --info

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Tue Jun 24, 2025 5:58 pm
by nada391
i am having similar problem

ubuntu-server 24.04.2 lts
fah-client --info

Code: Select all

fah-client --info
***************************** Folding@home Client ******************************
    Version: 8.4.9
     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
        Org: foldingathome.org
  Copyright: 2023-2024, foldingathome.org
   Homepage: https://foldingathome.org/
    License: GPL-3.0-or-later
        URL: https://v8-4.foldingathome.org/
       Date: Nov 20 2024
       Time: 14:47:19
   Revision: 360fe71b1bd05bb89814bfb97b73a5bda84802d6
     Branch: master
   Compiler: GNU 8.3.0
    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
             -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
   Platform: linux 4.19.0-27-cloud-amd64
       Bits: 64
       Mode: Release
       Args: --info
************************************ CBang *************************************
    Version: 1.7.2
     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
        Org: Cauldron Development
  Copyright: Cauldron Development, 2003-2024
   Homepage: https://cauldrondevelopment.com/
    License: LGPL-2.1-or-later
       Date: Nov 19 2024
       Time: 21:54:38
   Revision: 443c54e909eb8d8994405a18fb328b5b05a623a5
     Branch: master
   Compiler: GNU 8.3.0
    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
             -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
             -fPIC
   Platform: linux 4.19.0-27-cloud-amd64
       Bits: 64
       Mode: Release
************************************ System ************************************
        CPU: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz
     CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
       CPUs: 4
     Memory: 15.40GiB
Free Memory: 13.82GiB
 OS Version: 6.8
Has Battery: false
 On Battery: false
   Hostname: ubuntu24server
 UTC Offset: 0
        PID: 15417
        CWD: /home/rich
       Exec: /usr/bin/fah-client
********************************************************************************

Code: Select all

systemctl status --no-pager -l fah-client
× fah-client.service - Folding@home Client
     Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-06-24 17:58:46 UTC; 6s ago
   Duration: 17ms
    Process: 15546 ExecStart=/usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/ (code=exited, status=1/FAILURE)
   Main PID: 15546 (code=exited, status=1/FAILURE)
        CPU: 17ms

Jun 24 17:58:46 ubuntu24server systemd[1]: fah-client.service: Scheduled restart job, restart counter is at 5.
Jun 24 17:58:46 ubuntu24server systemd[1]: fah-client.service: Start request repeated too quickly.
Jun 24 17:58:46 ubuntu24server systemd[1]: fah-client.service: Failed with result 'exit-code'.
Jun 24 17:58:46 ubuntu24server systemd[1]: Failed to start fah-client.service - Folding@home Client.

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Wed Jun 25, 2025 1:14 am
by arisu
Post the contents of /var/log/fah-client/log.txt.

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Wed Jun 25, 2025 8:15 am
by nada391

Code: Select all

  GNU nano 7.2                                  /var/log/fah-client/log.txt                                           
*********************** Log Started 2025-06-24T17:30:14Z ***********************
17:30:14:I1:*********************** Folding@home Client ***********************
17:30:14:I1:    Version: 8.4.9
17:30:14:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
17:30:14:I1:        Org: foldingathome.org
17:30:14:I1:  Copyright: 2023-2024, foldingathome.org
17:30:14:I1:   Homepage: https://foldingathome.org/
17:30:14:I1:    License: GPL-3.0-or-later
17:30:14:I1:        URL: https://v8-4.foldingathome.org/
17:30:14:I1:       Date: Nov 20 2024
17:30:14:I1:       Time: 14:47:19
17:30:14:I1:   Revision: 360fe71b1bd05bb89814bfb97b73a5bda84802d6
17:30:14:I1:     Branch: master
17:30:14:I1:   Compiler: GNU 8.3.0
17:30:14:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
17:30:14:I1:             -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
17:30:14:I1:   Platform: linux 4.19.0-27-cloud-amd64
17:30:14:I1:       Bits: 64
17:30:14:I1:       Mode: Release
17:30:14:I1:       Args: --config=/etc/fah-client/config.xml
17:30:14:I1:             --log=/var/log/fah-client/log.txt
17:30:14:I1:             --log-rotate-dir=/var/log/fah-client/
17:30:14:I1:     Config: /etc/fah-client/config.xml
17:30:14:I1:****************************** CBang ******************************
17:30:14:I1:    Version: 1.7.2
17:30:14:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
17:30:14:I1:        Org: Cauldron Development
17:30:14:I1:  Copyright: Cauldron Development, 2003-2024
17:30:14:I1:   Homepage: https://cauldrondevelopment.com/
17:30:14:I1:    License: LGPL-2.1-or-later
17:30:14:I1:       Date: Nov 19 2024
17:30:14:I1:       Time: 21:54:38
17:30:14:I1:   Revision: 443c54e909eb8d8994405a18fb328b5b05a623a5
17:30:14:I1:     Branch: master
17:30:14:I1:   Compiler: GNU 8.3.0
17:30:14:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
17:30:14:I1:             -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
17:30:14:I1:             -fPIC
17:30:14:I1:   Platform: linux 4.19.0-27-cloud-amd64
17:30:14:I1:       Bits: 64
17:30:14:I1:       Mode: Release
17:30:14:I1:***************************** System ******************************
17:30:14:I1:        CPU: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz
17:30:14:I1:     CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
17:30:14:I1:       CPUs: 4
17:30:14:I1:     Memory: 15.40GiB
17:30:14:I1:Free Memory: 12.10GiB
17:30:14:I1: OS Version: 6.8
17:30:14:I1:Has Battery: false
17:30:14:I1: On Battery: false
17:30:14:I1:   Hostname: ubuntu24server
17:30:14:I1: UTC Offset: 0
17:30:14:I1:        PID: 36255
17:30:14:I1:        CWD: /var/lib/fah-client
17:30:14:I1:       Exec: /usr/bin/fah-client
17:30:14:I1:*******************************************************************
17:30:14:I2:<config>
17:30:14:I2:  <!-- User Information -->
17:30:14:I2:  <passkey v='*****'/>
17:30:14:I2:  <team v='234980'/>
17:30:14:I2:  <user v='d69hw0irhkuy'/>
17:30:14:I2:</config>
17:30:14:I1:Opening Database
17:30:14:I1:Generating RSA key.......................................................................................>
17:30:16:I1:F@H ID = 02QMerqXF8cRYjFPlBsGKVTrNda7z19X4_YD3l9K8_Y
17:30:16:I3:Loading default resource group
17:30:16:I1:Listening for HTTP on 127.0.0.1:7396
17:30:16:I3:Loaded 0 wus.
17:30:16:I1:OUT1:> GET https://api.foldingathome.org/gpus HTTP/1.1
17:30:20:I1:OUT1:< HTTP/1.1 200 HTTP_OK
17:30:21:I3:gpus = {
17:30:21:I3:  "gpu:03:00:00": {
17:30:21:I3:    "vendor": 4318,
17:30:21:I3:    "type": "nvidia",
17:30:21:I3:    "description": "NVIDIA T400",
17:30:21:I3:    "uuid": "5b338e7a-2ab0-46cb-b852-91abcbc76f92",
17:30:21:I3:    "opencl": {"platform": 0, "device": 0, "compute": "3.0", "driver": "570.169"},
17:30:21:I3:    "cuda": {"platform": 0, "device": 0, "compute": "7.5", "driver": "12.8"},
17:30:21:I3:    "device": 8114,
17:30:21:I3:    "supported": true
17:30:21:I3:  }
17:30:21:I3:}
17:35:57:I1:Clean exit
it seems that under config there is missing account-token and for passkey there is ***** instead of the real passkey, although both values are inserted correctly in /etc/fah-client/config.xml

or maybe the fah-client does not like the NVIDIA installer .sh that is used?
upon installing it , chose
Nvidia Proprietary vs MIT/GDP

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Thu Jun 26, 2025 11:19 am
by nada391
thanks,

there was an error in account-token syntax, which got copied over, and the "apostrophes" got messed up in format.
now it is folding.

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Sat Nov 15, 2025 10:06 pm
by nada391
if i may there is problem with another sbc that has risc-v cores;

maybe it is too slow as getting no WU?

thanks.

Code: Select all

cat /var/log/fah-client/log.txt 
*********************** Log Started 2025-11-15T21:43:24Z ***********************
21:43:24:I1:*********************** Folding@home Client ***********************
21:43:24:I1:    Version: 8.5.4
21:43:24:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:43:24:I1:        Org: foldingathome.org
21:43:24:I1:  Copyright: 2023-2025, foldingathome.org
21:43:24:I1:   Homepage: https://foldingathome.org/
21:43:24:I1:    License: GPL-3.0-or-later
21:43:24:I1:        URL: https://v8-5.foldingathome.org/
21:43:24:I1:       Date: Nov 15 2025
21:43:24:I1:       Time: 21:40:01
21:43:24:I1:   Revision: 7f623b54defa44bea1a2b7ce279e57599d7071f7
21:43:24:I1:     Branch: master
21:43:24:I1:   Compiler: GNU 12.2.0
21:43:24:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC
21:43:24:I1:   Platform: linux 6.12.5-starfive
21:43:24:I1:       Bits: 64
21:43:24:I1:       Mode: Release
21:43:24:I1:       Args: --config=/etc/fah-client/config.xml
21:43:24:I1:             --log=/var/log/fah-client/log.txt
21:43:24:I1:             --log-rotate-dir=/var/log/fah-client/
21:43:24:I1:     Config: /etc/fah-client/config.xml
21:43:24:I1:****************************** CBang ******************************
21:43:24:I1:    Version: 1.7.2
21:43:24:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:43:24:I1:        Org: Cauldron Development
21:43:24:I1:  Copyright: Cauldron Development, 2003-2025
21:43:24:I1:   Homepage: https://cauldrondevelopment.com/
21:43:24:I1:    License: LGPL-2.1-or-later
21:43:24:I1:       Date: Nov 15 2025
21:43:24:I1:       Time: 21:36:41
21:43:24:I1:   Revision: 5868642541dd8c4a0bc2c7f9754be098fc7606bb
21:43:24:I1:     Branch: master
21:43:24:I1:   Compiler: GNU 12.2.0
21:43:24:I1:    Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char -O3 -fPIC
21:43:24:I1:   Platform: linux 6.12.5-starfive
21:43:24:I1:       Bits: 64
21:43:24:I1:       Mode: Release
21:43:24:I1:***************************** System ******************************
21:43:24:I1:        CPU: unknown
21:43:24:I1:     CPU ID: unknown Family 0 Model 0 Stepping 0
21:43:24:I1:       CPUs: 4
21:43:24:I1:     Memory: 3.77GiB
21:43:24:I1:Free Memory: 1.71GiB
21:43:24:I1: OS Version: 6.12
21:43:24:I1:Has Battery: false
21:43:24:I1: On Battery: false
21:43:24:I1:   Hostname: starfive
21:43:24:I1: UTC Offset: 0
21:43:24:I1:        PID: 98311
21:43:24:I1:        CWD: /var/lib/fah-client
21:43:24:I1:       Exec: /usr/bin/fah-client
21:43:24:I1:*******************************************************************
21:43:24:I2:<config/>
21:43:25:I1:Opening Database
21:43:25:I1:Generating RSA key..+...+................+..+.......+..+......+.........+.........+....+........+...+.........+.+...........+......+...+.+.....+.+............+..+.+........+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+..+.........+.........+.........+.+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...........+......+.....................+.......+..+...+................+..+.......+...+.....+.........+...+......+.......+.....+...+.+.....+...+......................+...+..+.........+....+..+......+.......+........+.......+.....+...+...+.........+...+.......+...+..............+.+..+............+...+................+...........+...+...+..................+..........+..+...+.........+......+.......+........+.+......+..+...+....+......+........+....+........+............+.+.........+............+........+.+.....+.+.....+.+..+.......+.....+......+.............+..............+............+................+.........+...+..+.+...............+.........+........+...+.............+.....+.........+.+...........+..........+........+......+.+...+...........+.+...........+.......+..+...+...+...+...............+.......+.....+.......+..+......+.......+...........+......+...................+..+...............+..........+.....+...........................+.+.....+.........+......................+...........+...+....+...........+....+...+........+.........................+......+........+...+....+......+...+.................+...................+...+..............................+......+......+...+...+...+..+....+.........+...........+.........+.+......+..+............+.+...+..+.........+...+..........+..+..........+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-.....+...+..+..................+...+......+......+....+...+...+...+..+.............+..+.......+..+......+....+...+...+..+......+.+.........+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+....+...+........+....+..+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+.....................+............+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
21:44:09:I1:F@H ID = lAqmlSeemkIssZlpYHIh3wT9GgTxaiOo8the3XToEik
21:44:09:I3:Loading default resource group
21:44:09:I2:Listening for HTTP on 127.0.0.1:7396
21:44:09:I3:Loaded 0 wus.
21:44:09:I2:No previous gpus.json
21:44:09:I2:OUT1:> GET /gpus HTTP/1.1
21:44:13:I2:OUT1:< HTTP/1.1 200 HTTP_OK
21:49:33:I1:Clean exit

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Sat Nov 15, 2025 10:38 pm
by muziqaz
CPU: unknown is definitely too slow

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Sun Nov 16, 2025 12:00 am
by Joe_H
RISC-V is not a supported CPU architecture. Currently the F@h client supports x86 and ARM CPUs. In the past it supported PowerPC when it was used in Macs and the CELL processor used in PS3s.

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Mon Nov 17, 2025 4:49 pm
by nada391
thanks, am very fond of the powerpc computer, like useing it;
however, the country were live it, has some highest energy prices, so it is not very tempting to run the computer 24/h;

if it was used for Folding in the past; it should not be such endeavour to "open" again the risc-v, since those spend/consume less energy at the moment; but all this is already known to you;

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Mon Nov 17, 2025 5:19 pm
by muziqaz
nada391 wrote: Mon Nov 17, 2025 4:49 pm thanks, am very fond of the powerpc computer, like useing it;
however, the country were live it, has some highest energy prices, so it is not very tempting to run the computer 24/h;

if it was used for Folding in the past; it should not be such endeavour to "open" again the risc-v, since those spend/consume less energy at the moment; but all this is already known to you;
There is not going to be a core supporting an architecture which will be used by 1 person (if even that) in the FAH world. And it would be incredible waste of developers resources (which FAH does not have) to develop such a core

Re: Headless ubuntu 24.04 lts wont "run"

Posted: Mon Nov 17, 2025 5:31 pm
by Joe_H
You appear to misunderstand, F@h has never supported RISC-V. It is not a continuation of PowerPC or Cell, but a different RISC implementation. That still exists as the Power-ISA which was released by IBM to the current OpenPOWER Foundation. Since 2019 that foundation is part of the Linux Foundation.

So it would not be a case of opening again a development system that hasn't existed for 15 years. As best as I can find out the last folding core for PowerPC Macs dated to about 3 years before that, or 2007. In any case any development for RISC-V would be starting from scratch. Whether F@h ever does do that will depend on how powerful the systems it might run on are and how common they are. Right now they are not too powerful, and are not common.