Headless ubuntu 24.04 lts wont "run"

Moderators: Site Moderators, FAHC Science Team

NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post 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.
calxalot
Site Moderator
Posts: 1545
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Headless ubuntu 24.04 lts wont "run"

Post by calxalot »

Please try

Code: Select all

fah-client --info
nada391
Posts: 41
Joined: Sun Mar 09, 2025 10:46 am

Re: Headless ubuntu 24.04 lts wont "run"

Post 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.
arisu
Posts: 532
Joined: Mon Feb 24, 2025 11:11 pm

Re: Headless ubuntu 24.04 lts wont "run"

Post by arisu »

Post the contents of /var/log/fah-client/log.txt.
nada391
Posts: 41
Joined: Sun Mar 09, 2025 10:46 am

Re: Headless ubuntu 24.04 lts wont "run"

Post 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
nada391
Posts: 41
Joined: Sun Mar 09, 2025 10:46 am

Re: Headless ubuntu 24.04 lts wont "run"

Post 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.
Post Reply