Page 1 of 1

FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Wed Nov 26, 2025 4:37 pm
by alteir
Hello,

I´m using on a Server first time ubuntu via CLI: Ubuntu-2404-noble-amd64-base

I have installed: fah-client_8.4.9_amd64.deb

/var/log/fah-client:

16:26:52:I1:OUT324:> PUT https://api.foldingathome.org/machine/y ... J4O0B5C8VU HTTP/1.1
16:26:53:I1:OUT324:< HTTP/1.1 400 HTTP_BAD_REQUEST

From the installation day:

*********************** Log Started 2025-11-25T19:11:07Z ***********************
19:11:07:I1:*********************** Folding@home Client ***********************
19:11:07:I1: Version: 8.4.9
19:11:07:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
19:11:07:I1: Org: foldingathome.org
19:11:07:I1: Copyright: 2023-2024, foldingathome.org
19:11:07:I1: Homepage: https://foldingathome.org/
19:11:07:I1: License: GPL-3.0-or-later
19:11:07:I1: URL: https://v8-4.foldingathome.org/
19:11:07:I1: Date: Nov 20 2024
19:11:07:I1: Time: 14:47:19
19:11:07:I1: Revision: 360fe71b1bd05bb89814bfb97b73a5bda84802d6
19:11:07:I1: Branch: master
19:11:07:I1: Compiler: GNU 8.3.0
19:11:07:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
19:11:07:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
19:11:07:I1: Platform: linux 4.19.0-27-cloud-amd64
19:11:07:I1: Bits: 64
19:11:07:I1: Mode: Release
19:11:07:I1: Args: --config=/etc/fah-client/config.xml
19:11:07:I1: --log=/var/log/fah-client/log.txt
19:11:07:I1: --log-rotate-dir=/var/log/fah-client/
19:11:07:I1: Config: /etc/fah-client/config.xml
19:11:07:I1:****************************** CBang ******************************
19:11:07:I1: Version: 1.7.2
19:11:07:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
19:11:07:I1: Org: Cauldron Development
19:11:07:I1: Copyright: Cauldron Development, 2003-2024
19:11:07:I1: Homepage: https://cauldrondevelopment.com/
19:11:07:I1: License: LGPL-2.1-or-later
19:11:07:I1: Date: Nov 19 2024
19:11:07:I1: Time: 21:54:38
19:11:07:I1: Revision: 443c54e909eb8d8994405a18fb328b5b05a623a5
19:11:07:I1: Branch: master
19:11:07:I1: Compiler: GNU 8.3.0
19:11:07:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
19:11:07:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
19:11:07:I1: -fPIC
19:11:07:I1: Platform: linux 4.19.0-27-cloud-amd64
19:11:07:I1: Bits: 64
19:11:07:I1: Mode: Release
19:11:07:I1:***************************** System ******************************
19:11:07:I1: CPU: AMD Ryzen 9 3900 12-Core Processor
19:11:07:I1: CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
19:11:07:I1: CPUs: 24
19:11:07:I1: Memory: 125.71GiB
19:11:07:I1:Free Memory: 124.21GiB
19:11:07:I1: OS Version: 6.8
19:11:07:I1:Has Battery: false
19:11:07:I1: On Battery: false
19:11:07:I1: Hostname: Ubuntu-2404-noble-amd64-base
19:11:07:I1: UTC Offset: 1
19:11:07:I1: PID: 7910
19:11:07:I1: CWD: /var/lib/fah-client
19:11:07:I1: Exec: /usr/bin/fah-client
19:11:07:I1:*******************************************************************
19:11:07:I2:<config>
19:11:07:I2: <!-- User Information -->
19:11:07:I2: <passkey v='*****'/>
19:11:07:I2: <team v='2'/>
19:11:07:I2: <user v='alteir'/>
19:11:07:I2:</config>
19:11:07:I1:Opening Database
19:11:07:I1:F@H ID = XXXXXXX (changed by me)
19:11:07:I3:Loading default resource group
19:11:07:I1:Listening for HTTP on 127.0.0.1:7396
"log-20251126-000000.txt" 301L, 22248B

When I run top --> There is no FAH Client running.

What is wrong with my config? What did i miss?

CU
alteir

Re: FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Wed Nov 26, 2025 8:07 pm
by Nicolas_orleans
Hello,
The most logical reason would be the client is running but was not instructed to fold so you do not see a core running.
If you can have physical access once to the machine check on the web interface if you need to press the "play/fold" button once.
If you don't have access physical access to the machine then I would recommend you :
- link you username/team/passkey to an FAH account on another machine, this will generate a token that can be found on your profile once logged to the FAH account
- install on the CLI server the tarball version
- launch the tarball version using the CLI

Code: Select all

cd /home/user
wget https://download.foldingathome.org/releases/public/fah-client/debian-10-64bit/release/fah-client_8.4.9-64bit-release.tar.bz2
tar xf fah-client_8.4.9-64bit-release.tar.bz2
cd fah-client_8.4.9-64bit-release
./fah-client --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/ --account-token=YOUR_ACCOUNT_TOKEN --machine-name="NAME_EASY_TO_IDENTIFY" --user=alteir --team=2 --passkey=YOUR_PASSKEY
- then press "play/fold" on the other machine or your phone (the one with a screen being connected with your FAH account)
Hope this helps

If you want to be cutting edge and fix some bugs like memory leaks, replace the code by

Code: Select all

cd /home/user
wget https://download.foldingathome.org/releases/beta/fah-client/debian-10-64bit/release/fah-client_8.5.4-64bit-release.tar.bz2
tar xf fah-client_8.5.4-64bit-release.tar.bz2
cd fah-client_8.5.4-64bit-release
./fah-client --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/ --account-token=YOUR_ACCOUNT_TOKEN --machine-name="NAME_EASY_TO_IDENTIFY" --user=alteir --team=2 --passkey=YOUR_PASSKEY 

Re: FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Wed Nov 26, 2025 8:17 pm
by Joe_H
To follow on to this response, just the fact that you have a log such as you posted indicates fah-client was running as creating a client log is part of its function. However it uses very little CPU and mostly when downloading and uploading WUs. Active WUs are spawned into separate processes which will be running FAHCore_nn executables.

The default installation of the v7 client started a WU after a short pause. Many complaints about that default resulted in the v8 client installation defaulting to leaving it installed, the fah-client process running in the background, and no work requested until folding was started. That can be from a local Web Control running in a browser or remotely.

Re: FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Wed Nov 26, 2025 10:33 pm
by muziqaz
alteir wrote: Wed Nov 26, 2025 4:37 pm Hello,
<...>
What is wrong with my config? What did i miss?

CU
alteir
You missed the message in the terminal window right after installation. Message was explaining what to do next to start folding :) It gave you URL to click and visit web control page.

If you installed the package through GUI window manager by double clicking .deb package, you most likely would have been automatically redirected to Web control page after installation (I might be wrong, though, since it's been years since I double clicked on executable files in Linux).

Re: FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Thu Nov 27, 2025 4:21 pm
by alteir
I tryed
● fah-client.service - Folding@home Client
Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-11-25 20:11:07 CET; 1 day 21h ago
Main PID: 7910 (fah-client)
Tasks: 3 (limit: 154377)
Memory: 18.1M (peak: 19.1M)
CPU: 36.833s
CGroup: /system.slice/fah-client.service
└─7910 /usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/

It seems that the client is running, but I don´t see someting with top. How cam i get rid of the limits?

Re: FAH Client will not start on Ubuntu-2404-noble-amd64-base

Posted: Thu Nov 27, 2025 4:31 pm
by muziqaz
Search this forum for headless install. I remember there being discussion on how to configure FAHclient in headless setup. Once it is set up with account token and stuff, you can controll it remotely with any other PC