Starting fahclient in CentOS

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

Post Reply
TonyStewart14
Posts: 66
Joined: Fri Jan 06, 2012 6:37 am

Starting fahclient in CentOS

Post by TonyStewart14 »

I have a server I'm trying to start F@H on through the command line and have installed it, but when I type

Code: Select all

/etc/init.d/FAHClient start
it reads back

Code: Select all

Starting fahclient ... FAIL
. It's a CentOS 6.4 server and I installed 7.2.9. Any ideas? I could try rebooting, although I prefer not to as it is a live server.
Ivoshiee
Site Moderator
Posts: 822
Joined: Sun Dec 02, 2007 12:05 am
Location: Estonia

Re: Starting fahclient in CentOS

Post by Ivoshiee »

Do you have valid /etc/fahclient/config.xml file in place?
TonyStewart14
Posts: 66
Joined: Fri Jan 06, 2012 6:37 am

Re: Starting fahclient in CentOS

Post by TonyStewart14 »

I edited config.xml in VI to add my username, team and passkey, and set the auto-detect for SMP only. I know at the top it says something about it being an example, but it seems like it should already be active and I should just have to type in " :x " at the end. Is this correct?
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Starting fahclient in CentOS

Post by calxalot »

Maybe try

Code: Select all

sudo /etc/init.d/FAHClient start
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Starting fahclient in CentOS

Post by Jesse_V »

TonyStewart14 wrote:I edited config.xml in VI to add my username, team and passkey, and set the auto-detect for SMP only. I know at the top it says something about it being an example, but it seems like it should already be active and I should just have to type in " :x " at the end. Is this correct?
According to the Linux Installation Guide:
The cores, logs, and work folder, plus current log file, are located here:
/var/lib/fahclient

The config.xml file is located here:
/etc/fahclient

The FAHClient is started and stopped via the service script in /etc/init.d/FAHClient.
sudo /etc/init.d/FAHClient start
sudo /etc/init.d/FAHClient stop
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
TonyStewart14
Posts: 66
Joined: Fri Jan 06, 2012 6:37 am

Re: Starting fahclient in CentOS

Post by TonyStewart14 »

In response to the last two posts, I tried that start command and was already superuser and didn't need to specify sudo. I was hoping for a way to start it without restarting the server.

EDIT: I ended up just installing v6 and it worked fine. Mods, you can lock this if need be.
BertNZ
Posts: 7
Joined: Sun Mar 18, 2012 2:44 am
Location: New Zealand

Re: Starting fahclient in CentOS

Post by BertNZ »

Hi,

Bit late to the party but... I can confirm 7.3.6 SMP folding works fine on CentOS - have had it running on an i7 920 machine for 6 oldd months now. I used the RPMs provided and installed them using RPM.

[root@trixie fahclient]# rpm -qa |grep fah
fahclient-7.3.6-1.x86_64
fahcontrol-7.3.6-1.noarch

GPU folding does NOT work even though the nVidia driver will install OK and the client will recognise the GPU in the system. Some of the libraries the FAH GPU bits are compiled against are too old on CentOS/RHEL6 and our kernel is still the old 2.6 branch too - GPU folding needs Kernel 2.8 or 3.x - can't remember exactly. CentOS/RHEL uses trusty ol' 2.6.32.
Basically if you want to GPU fold on RH GNU/Linux, you gotta use the latest Fedora.

When working out what's going wrong,

Code: Select all

tail /var/log/messages
is helpful. If something is gonna die and complain about it, it'll probably get logged there. I think that's how I found the GPU bits complaining about missing libraries.

Here's an example config which should be located as /etc/fahclient/config.xml
The owner/group/permissions are:
-rw-r--r-- 1 fahclient root 521 Oct 20 21:49 config.xml

Code: Select all

<config>
  <!-- Folding Slot Configuration -->
  <power v='full'/>

  <!-- HTTP Server -->
  <allow v='127.0.0.1 0.0.0.0/0'/>
  <deny v=''/>

  <!-- Network -->
  <proxy v=':8080'/>

  <!-- Remote Command Server -->
  <command-allow-no-pass v='127.0.0.1 0.0.0.0/0'/>
  <command-deny-no-pass v=''/>

  <!-- User Information -->
  <passkey v='*****'/>
  <user v='BertNZ'/>

  <!-- Folding Slots -->
  <slot id='0' type='CPU'>
    <client-type v='advanced'/>
    <cpus v='-1'/>
  </slot>
</config>
I'd encourage you to try 7.3.6 again if you haven't done already.
Image
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Starting fahclient in CentOS

Post by targitaj »

I have message
Starting fahclient ... FAIL
but it works
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy
client 7.4.4 installed deb
Why it say me "FAIL"?
TSC! Russia
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Starting fahclient in CentOS

Post by bruce »

targitaj wrote:client 7.4.4 installed deb
Why it say me "FAIL"?
That's a good question. Please find the log, which should be at /var/lib/fahclient, and post enough of it that we can figure out what the problem is.

Is it possible that FAHClient.exe was already running? Trying to start a second copy SHOULD fail.
Post Reply