FAH-Client 8 not working on Ubuntu Server

Moderators: Site Moderators, FAHC Science Team

Locked
DoctorBob
Posts: 28
Joined: Sun Sep 12, 2021 9:28 pm
Hardware configuration: OS: Ubuntu 24.04 LTS x86_64
Host: Toshiba Satellite U400
Kernel: 6.8.0-39-generic
Shell: bash 5.2.21
CPU: Intel Core 2 Duo T8300
GPU: Intel Mobile GM965/GL960
Memory: 346MiB / 1958MiB
Location: Cairns, Qld. Australia
Contact:

FAH-Client 8 not working on Ubuntu Server

Post by DoctorBob »

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 <joseph@cauldrondevelopment.com>
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?
Last edited by DoctorBob on Wed Jul 31, 2024 11:58 pm, edited 2 times in total.
Joe_H
Site Admin
Posts: 7936
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: FAH-Client 8 not working on Ubuntu Server

Post by Joe_H »

No idea. v8.4.2 is an Alpha build, problems with it need to be reported on Github. It is not a public Beta.

https://github.com/FoldingAtHome/fah-client-bastet

https://github.com/FoldingAtHome/fah-web-client-bastet
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: FAH-Client 8 not working on Ubuntu Server

Post by calxalot »

You should use the prebuilt debian package on alpha download page.

You should read https://github.com/FoldingAtHome/fah-cl ... ssions/214

You should create your config.xml before installing for best results.
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: FAH-Client 8 not working on Ubuntu Server

Post by calxalot »

The web control url for 8.4 is
https://v8-4.foldingathome.org/

The client log shows the preferred web control url:

Code: Select all

12:12:06:I1: URL: https://v8-4.foldingathome.org/
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: FAH-Client 8 not working on Ubuntu Server

Post by calxalot »

I don't think fah-client on your server is able to reach the api server
https://api.foldingathome.org/

The client can't register its existence without the PUT to api server.
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: FAH-Client 8 not working on Ubuntu Server

Post by toTOW »

Don't use alpha client.

Post in the appropriate section of the forums : viewforum.php?f=115
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Locked