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

Moderators: Site Moderators, FAHC Science Team

Post Reply
NetoriusNick
Posts: 10
Joined: Thu Apr 02, 2020 9:45 am

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

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 Sun Jun 01, 2025 12:44 am, edited 1 time in total.
calxalot
Site Moderator
Posts: 1514
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: 1514
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: 131
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: 10
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: 10
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: 10
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: 1514
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: 10
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: 10
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: 10
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)
Post Reply