FAH-Client 8 not working on Ubuntu Server
Posted: Wed Jul 31, 2024 10:45 pm
I installed fah-client 8.4.2 on my headless Ubuntu server but I am having difficulty getting it up and running.
I followed the installation procedures at: https://github.com/FoldingAtHome/fah-cl ... bian-linux
Fah-client installed without issue and the service is running:
~$ sudo service fah-client status
● fah-client.service - Folding@home Client
Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-07-30 22:12:06 AEST; 1 day 10h ago
Main PID: 2417 (fah-client)
Tasks: 2 (limit: 2265)
Memory: 10.3M (peak: 10.8M)
CPU: 2min 29.949s
CGroup: /system.slice/fah-client.service
└─2417 /usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/
Jul 30 22:12:06 folding-laptop systemd[1]: Started fah-client.service - Folding@home Client.
I added the following lines to file /etc/fah-client/config.xml:
<config>
<account-token v="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
<machine-name v="Folding Laptop"/>
</config>
Not sure if this is the correct way to go with the config.xml file.
Should I have just left it at its default?:
</config>
I created a account at: https://beta.foldingathome.org/account (from another PC on our network).
Once the account was created and I logged in I see under the Machines tab:
No folding machines found.
Login or install the Folding@home client software.
Here is the FAHClient Log file:
/v/l/f/log-20240731-000000.txt
12:12:06:I1: Org: foldingathome.org
12:12:06:I1: Copyright: 2023-2024, foldingathome.org
12:12:06:I1: Homepage: https://foldingathome.org/
12:12:06:I1: License: GPL-3.0-or-later
12:12:06:I1: URL: https://v8-4.foldingathome.org/
12:12:06:I1: Date: Jul 30 2024
12:12:06:I1: Time: 17:53:00
12:12:06:I1: Revision: 88692f3db014831bb4d226b4fc2efa8066b5118d
12:12:06:I1: Branch: master
12:12:06:I1: Compiler: GNU 13.2.0
12:12:06:I1: Options: -Wsuggest-override -faligned-new -std=c++14 -fsigned-char
12:12:06:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
12:12:06:I1: Platform: linux 6.8.0-39-generic
12:12:06:I1: Bits: 64
12:12:06:I1: Mode: Release
12:12:06:I1: Args: --config=/etc/fah-client/config.xml
12:12:06:I1: --log=/var/log/fah-client/log.txt
12:12:06:I1: --log-rotate-dir=/var/log/fah-client/
12:12:06:I1: Config: /etc/fah-client/config.xml
12:12:06:I1:****************************** CBang ******************************
12:12:06:I1: Version: 1.7.2
12:12:06:I1: Author: Joseph Coffland <[email protected]>
12:12:06:I1: Org: Cauldron Development
12:12:06:I1: Copyright: Cauldron Development, 2003-2024
12:12:06:I1: Homepage: https://cauldrondevelopment.com/
12:12:06:I1: License: LGPL-2.1-or-later
12:12:06:I1: Date: Jul 30 2024
12:12:06:I1: Time: 17:51:32
12:12:06:I1: Revision: bb6841b234fcbbad74272d081b31eb3bb78bdde1
12:12:06:I1: Branch: master
12:12:06:I1: Compiler: GNU 13.2.0
12:12:06:I1: Options: -Wsuggest-override -faligned-new -std=c++14 -fsigned-char
12:12:06:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
12:12:06:I1: -fPIC
12:12:06:I1: Platform: linux 6.8.0-39-generic
12:12:06:I1: Bits: 64
12:12:06:I1: Mode: Release
12:12:06:I1:***************************** System ******************************
12:12:06:I1: CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
12:12:06:I1: CPU ID: GenuineIntel Family 6 Model 23 Stepping 6
12:12:06:I1: CPUs: 2
12:12:06:I1: Memory: 1.91GiB
12:12:06:I1:Free Memory: 1.03GiB
12:12:06:I1: OS Version: 6.8
12:12:06:I1:Has Battery: false
12:12:06:I1: On Battery: false
12:12:06:I1: Hostname: folding-laptop
12:12:06:I1: UTC Offset: 10
12:12:06:I1: PID: 2417
12:12:06:I1: CWD: /var/lib/fah-client
12:12:06:I1: Exec: /usr/bin/fah-client
12:12:06:I1:*******************************************************************
12:12:06:I2:<config>
12:12:06:I2: <!-- Account -->
12:12:06:I2: <account-token v='xKiw2xKiRAntQRAnY3kDgY3lL4CdlL4IwxgRowxcQPY'/>
12:12:06:I2: <machine-name v='Folding Laptop'/>
12:12:06:I2:</config>
12:12:06:I1:Opening Database
12:12:06:I1:F@H ID = CIKK3xspUHL9YPCBagEmxXKzyyDVxDLs7uFXawZd1oo
12:12:06:I3:Loading default group
12:12:06:I3:Loading default resource group
12:12:06:I1:Listening for HTTP on 127.0.0.1:7396
12:12:06:I3:Loaded 0 wus.
12:12:07:I1:OUT1:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:07:E :OUT1:Failed response: EOF^[[0m
12:12:22:I1:OUT2:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:22:E :OUT2:Failed response: EOF^[[0m
12:12:44:I1:OUT3:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:44:E :OUT3:Failed response: EOF^[[0m
12:13:18:I1:OUT4:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:13:18:E :OUT4:Failed response: EOF^[[0m
12:14:08:I1:OUT5:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:14:08:E :OUT5:Failed response: EOF^[[0m
12:15:24:I1:OUT6:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:15:24:E :OUT6:Failed response: EOF^[[0m
12:17:18:I1:OUT7:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
The laptop is not folding, the CPU is idling.
I also tried to log into https://beta.foldingathome.org/machines using elinks and lynx on the Ubuntu server via SSH but it just produces a blank page.
Not sure if this was necessary, on our Internet router I port forwarded 7396 to the fah-client laptop.
How to I get fah-client folding and the web interface to show the machine?
I followed the installation procedures at: https://github.com/FoldingAtHome/fah-cl ... bian-linux
Fah-client installed without issue and the service is running:
~$ sudo service fah-client status
● fah-client.service - Folding@home Client
Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-07-30 22:12:06 AEST; 1 day 10h ago
Main PID: 2417 (fah-client)
Tasks: 2 (limit: 2265)
Memory: 10.3M (peak: 10.8M)
CPU: 2min 29.949s
CGroup: /system.slice/fah-client.service
└─2417 /usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/
Jul 30 22:12:06 folding-laptop systemd[1]: Started fah-client.service - Folding@home Client.
I added the following lines to file /etc/fah-client/config.xml:
<config>
<account-token v="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
<machine-name v="Folding Laptop"/>
</config>
Not sure if this is the correct way to go with the config.xml file.
Should I have just left it at its default?:
</config>
I created a account at: https://beta.foldingathome.org/account (from another PC on our network).
Once the account was created and I logged in I see under the Machines tab:
No folding machines found.
Login or install the Folding@home client software.
Here is the FAHClient Log file:
/v/l/f/log-20240731-000000.txt
12:12:06:I1: Org: foldingathome.org
12:12:06:I1: Copyright: 2023-2024, foldingathome.org
12:12:06:I1: Homepage: https://foldingathome.org/
12:12:06:I1: License: GPL-3.0-or-later
12:12:06:I1: URL: https://v8-4.foldingathome.org/
12:12:06:I1: Date: Jul 30 2024
12:12:06:I1: Time: 17:53:00
12:12:06:I1: Revision: 88692f3db014831bb4d226b4fc2efa8066b5118d
12:12:06:I1: Branch: master
12:12:06:I1: Compiler: GNU 13.2.0
12:12:06:I1: Options: -Wsuggest-override -faligned-new -std=c++14 -fsigned-char
12:12:06:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
12:12:06:I1: Platform: linux 6.8.0-39-generic
12:12:06:I1: Bits: 64
12:12:06:I1: Mode: Release
12:12:06:I1: Args: --config=/etc/fah-client/config.xml
12:12:06:I1: --log=/var/log/fah-client/log.txt
12:12:06:I1: --log-rotate-dir=/var/log/fah-client/
12:12:06:I1: Config: /etc/fah-client/config.xml
12:12:06:I1:****************************** CBang ******************************
12:12:06:I1: Version: 1.7.2
12:12:06:I1: Author: Joseph Coffland <[email protected]>
12:12:06:I1: Org: Cauldron Development
12:12:06:I1: Copyright: Cauldron Development, 2003-2024
12:12:06:I1: Homepage: https://cauldrondevelopment.com/
12:12:06:I1: License: LGPL-2.1-or-later
12:12:06:I1: Date: Jul 30 2024
12:12:06:I1: Time: 17:51:32
12:12:06:I1: Revision: bb6841b234fcbbad74272d081b31eb3bb78bdde1
12:12:06:I1: Branch: master
12:12:06:I1: Compiler: GNU 13.2.0
12:12:06:I1: Options: -Wsuggest-override -faligned-new -std=c++14 -fsigned-char
12:12:06:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
12:12:06:I1: -fPIC
12:12:06:I1: Platform: linux 6.8.0-39-generic
12:12:06:I1: Bits: 64
12:12:06:I1: Mode: Release
12:12:06:I1:***************************** System ******************************
12:12:06:I1: CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
12:12:06:I1: CPU ID: GenuineIntel Family 6 Model 23 Stepping 6
12:12:06:I1: CPUs: 2
12:12:06:I1: Memory: 1.91GiB
12:12:06:I1:Free Memory: 1.03GiB
12:12:06:I1: OS Version: 6.8
12:12:06:I1:Has Battery: false
12:12:06:I1: On Battery: false
12:12:06:I1: Hostname: folding-laptop
12:12:06:I1: UTC Offset: 10
12:12:06:I1: PID: 2417
12:12:06:I1: CWD: /var/lib/fah-client
12:12:06:I1: Exec: /usr/bin/fah-client
12:12:06:I1:*******************************************************************
12:12:06:I2:<config>
12:12:06:I2: <!-- Account -->
12:12:06:I2: <account-token v='xKiw2xKiRAntQRAnY3kDgY3lL4CdlL4IwxgRowxcQPY'/>
12:12:06:I2: <machine-name v='Folding Laptop'/>
12:12:06:I2:</config>
12:12:06:I1:Opening Database
12:12:06:I1:F@H ID = CIKK3xspUHL9YPCBagEmxXKzyyDVxDLs7uFXawZd1oo
12:12:06:I3:Loading default group
12:12:06:I3:Loading default resource group
12:12:06:I1:Listening for HTTP on 127.0.0.1:7396
12:12:06:I3:Loaded 0 wus.
12:12:07:I1:OUT1:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:07:E :OUT1:Failed response: EOF^[[0m
12:12:22:I1:OUT2:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:22:E :OUT2:Failed response: EOF^[[0m
12:12:44:I1:OUT3:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:12:44:E :OUT3:Failed response: EOF^[[0m
12:13:18:I1:OUT4:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:13:18:E :OUT4:Failed response: EOF^[[0m
12:14:08:I1:OUT5:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:14:08:E :OUT5:Failed response: EOF^[[0m
12:15:24:I1:OUT6:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
^[[91m12:15:24:E :OUT6:Failed response: EOF^[[0m
12:17:18:I1:OUT7:> PUT https://api.foldingathome.org/machine/C ... uFXawZd1oo HTTP/1.1
The laptop is not folding, the CPU is idling.
I also tried to log into https://beta.foldingathome.org/machines using elinks and lynx on the Ubuntu server via SSH but it just produces a blank page.
Not sure if this was necessary, on our Internet router I port forwarded 7396 to the fah-client laptop.
How to I get fah-client folding and the web interface to show the machine?