v7.5 (latest when this guide was written):
$ wget -P /tmp/fahclient/ https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/latest.deb
v7.6 (more recent and might still work with this guide):
$ wget -P /tmp/fahclient/ https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.6/latest.deb
$ sudo apt install /tmp/fahclient/latest.deb
If you dont have apt you can try:
$ sudo dpkg -i /tmp/fahclient/latest.deb \
&& sudo apt-get install -f
The installer will prompt you for username, team id, passkey and similar settings. You can generate a passkey here.
If you want to run FAHClient
as a service make sure to use the default setting when propted about running it automatically.
And you are done!
FAHClient
should now be up and running successfully! :)
Note: This was written for v7.5, but may still be relevant for later versions.
I've dug around forums and done some investigating of my own and came to this conclusion:
The included init.d script doesn't seem to fare so well on newer systemd systems and sometimes incorrectly states that it failed starting the service. Run sudo /etc/init.d FAHClient status
or ps aux | grep FAHClient
to double check if the start-up in fact has failed.
Feel free to ignore this error as it's due to a falty check in the init.d script and has nothing to do with the health of the actual FAHClient
process.
If it still annoys you feel free to check out my steps below that will fix the fault in the init.d script and turn it into a proper systemd service.
There could be an issue with your config. There's a few steps you can take in order to attempt a fix:
$ sudo /etc/init.d/FAHClient -v start
In most cases you will have an output at the very start of the log explaining any incorrect config settings.
Sometimes the config in /etc/fahclient/
seems to get corrupted after initial install (happened to me).
To fix this you should copy one of the configs from /var/lib/fahclient/configs/
and replace the one in /etc/fahclient/
.
It might be a good idea to do a backup copy of the initial config.xml
in case you want to merge some of it's settings with the generated backup config you're replacing it with.
Read further in this forum thread: https://foldingforum.org/viewtopic.php?f=96&t=30427
Sometimes reinstalling may solve the issue.
$ sudo apt purge fahclient
Then follow the install steps again.
Read further in this forum thread: https://foldingforum.org/viewtopic.php?f=96&t=30427
The default settings was using a tad to much of my server's capabilities than I initually liked. I thought I'd share the changes I applied in case someone would like to use them themselves.
My server is an 8-core, GPU-less little thing meant for developing web applications (and my cooling is set up thereafter) and I noticed the default settings left my rig a tad overheated. At the default setting of a folding power of "medium", FAHClient
was using 7/8 of my cores at 100%. Needless to say, I wanted to throttle this a bit. These are the settings I ended up using:
<power v='LIGHT' />
<cpu-usage v='50'/>
This far it seems like these changes are sufficient for my rig to stay at a level I'm confortable with. :)