Headless ubuntu 24.04 lts wont "run"

Moderators: Site Moderators, FAHC Science Team

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

Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

fresh install of Ubuntu server installed 8.4.9 (wget & dpkg) and opencl.

Code: Select all

sudo systemctl start fah-client
no errors but FAH is not running

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 Wed 2025-05-28 17:04:22 UTC; 3s ago
   Duration: 21ms
    Process: 1527 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: 1527 (code=exited, status=1/FAILURE)
        CPU: 19ms
Log shows

Code: Select all

15:06:01:I2:<config/>
15:06:01:I1:Opening Database
15:06:01:I1:F@H ID = "an ID"
15:06:01:I3:Loading default resource group
15:06:01:I1:Listening for HTTP on 127.0.0.1:7396
15:06:01:I3:Loaded 0 wus.
15:06:01:I3:gpus = {
15:06:01:I3:  "gpu:10:00:00": {"vendor": 4098, "device": 26751, "type": "amd", "supported": false, "description": "Vega 10 XL/XT [Radeon RX Vega 56/64]"}
15:06:01:I3:}
15:14:09:I1:Clean exit
which is weird this system has 40 CPU cores, additionally this system under windows and 4.7.# was running fine less than 2 months ago.
system does not appear in my FAH "portal" v8-4.foldingathome.org.
I did add my token to the config.xml

any help or advice appreciated.
Last edited by NetoriusNick on Tue Jun 10, 2025 7:56 pm, edited 2 times in total.
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 »

Restart service after adding token.
config.xml is only read at launch.
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 »

If that doesn’t work, you can try lufah link-account

https://github.com/kbernhagen/lufah
Nicolas_orleans
Posts: 133
Joined: Wed Aug 08, 2012 3:08 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by Nicolas_orleans »

Install with dpkg won't fulfill dependencies?
Could you reinstall with apt install ./nameofdebfiledownloaded
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

calxalot wrote: Wed May 28, 2025 9:53 pm Restart service after adding token.
config.xml is only read at launch.
several restarts since install
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

calxalot wrote: Wed May 28, 2025 10:14 pm If that doesn’t work, you can try lufah link-account

https://github.com/kbernhagen/lufah
the fact that the service is not running

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 Wed 2025-05-28 17:04:22 UTC; 3s ago
   Duration: 21ms
    Process: 1527 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: 1527 (code=exited, status=1/FAILURE)
        CPU: 19ms
makes me think it might be "linked" just not getting far "enough" to show on the "portal"
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

Nicolas_orleans wrote: Thu May 29, 2025 6:05 am Install with dpkg won't fulfill dependencies?
Could you reinstall with apt install ./nameofdebfiledownloaded
willco and report back
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 open a terminal and try

Code: Select all

fah-client --info
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

Nicolas_orleans wrote: Thu May 29, 2025 6:05 am Install with dpkg won't fulfill dependencies?
Could you reinstall with apt install ./nameofdebfiledownloaded
This looks to have worked.
Now I have made another "mistake". I made the name of the server have a space in it.
Despite trying to rename it (this fails) and edit the config file on the server (with restarts). I "stupidly" unlinked the server from the "portal" and it will now not relink.
Any advice?
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

got a new token and this worked
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

just a non working GPU vega 64 (in the GPU.txt)
muziqaz
Posts: 1818
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Headless ubuntu 24.04 lts wont "run" -- solved --

Post by muziqaz »

What's wrong with vega?
FAH Omega tester
Image
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

Nicolas_orleans wrote: Thu May 29, 2025 6:05 am Install with dpkg won't fulfill dependencies?
Could you reinstall with apt install ./nameofdebfiledownloaded
Had to reinstall as part of trying to get the card to work.
and Im now back to a non starting fah-client.
With no errors in the fah logs
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: Headless ubuntu 24.04 lts wont "run"

Post by NetoriusNick »

installed following this guide
viewtopic.php?t=42491
muziqaz
Posts: 1818
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Headless ubuntu 24.04 lts wont "run"

Post by muziqaz »

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
FAH Omega tester
Image
Post Reply