FAH will not connect properly
Moderators: Site Moderators, FAHC Science Team
FAH will not connect properly
Hello,
I have been a folder for many years by now, and I have been CPU folding on a 24/7 online PC running Linux Mint 17.6. However, on that machine, folding suddenly ceased to work sometime last year (it is a headless machine normally, so I did not monitor it every day). FAHControl would open but refuse to "Connect".
Either way, I left it that way until yesterday when I did a system wipe to install Mint 19 on the machine. This time, I expected FAH to work again, so I downloaded the official .deb files and installed them. It ran the installer, asked me for a couple of things (like if I want FAH to autostart, to which I said yes). In the middle of this, FAH seemed to lock up the entire system, forcing me to reboot. After rebooting, I attempted to re-launch FAH again, now the main FAHControl window opens, but is stuck on "Connecting" like in the past.
I have attempted to remove FAHControl and FAHClient, reinstall it from newly downloaded .deb files as well as attempting to use "Advanced manual installation" provided by F@H without any success.
How do I fix this? What further information do you need to help, if any?
Best regards,
I have been a folder for many years by now, and I have been CPU folding on a 24/7 online PC running Linux Mint 17.6. However, on that machine, folding suddenly ceased to work sometime last year (it is a headless machine normally, so I did not monitor it every day). FAHControl would open but refuse to "Connect".
Either way, I left it that way until yesterday when I did a system wipe to install Mint 19 on the machine. This time, I expected FAH to work again, so I downloaded the official .deb files and installed them. It ran the installer, asked me for a couple of things (like if I want FAH to autostart, to which I said yes). In the middle of this, FAH seemed to lock up the entire system, forcing me to reboot. After rebooting, I attempted to re-launch FAH again, now the main FAHControl window opens, but is stuck on "Connecting" like in the past.
I have attempted to remove FAHControl and FAHClient, reinstall it from newly downloaded .deb files as well as attempting to use "Advanced manual installation" provided by F@H without any success.
How do I fix this? What further information do you need to help, if any?
Best regards,
-
- Posts: 2040
- Joined: Sat Dec 01, 2012 3:43 pm
- Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441
Re: FAH will not connect properly
I tried with Linux Mint 19 too and it worked. I downloaded this
and installed it with auto start
and it started right after setup complete with one CPU slot.
For GPU usage it needs
Code: Select all
wget https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/fahclient_7.5.1_amd64.deb
Code: Select all
apt-get install ./fahclient_7.5.1_amd64.deb
For GPU usage it needs
Code: Select all
sudo apt-get install ocl-icd-libopencl1
sudo apt-get install ocl-icd-opencl-dev
Re: FAH will not connect properly
Thanks for the reply.
Yes, I have done essentially that, but through the GUI. FAHControl sits infinitely stuck on inactive and will not connect.
Yes, I have done essentially that, but through the GUI. FAHControl sits infinitely stuck on inactive and will not connect.
-
- Posts: 2040
- Joined: Sat Dec 01, 2012 3:43 pm
- Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441
Re: FAH will not connect properly
If FAHcontrol cannot connect to FAHclient then FAHclient is not running.
What happens if you execute this in a console
I got it running calling
What happens if you execute this in a console
Code: Select all
/etc/init.d/FAHClient start
Code: Select all
sudo dpkg -i --force-depends fahclient_7.5.1_amd64.deb
Re: FAH will not connect properly
Hello again!
The first command simply returns this:
I am not sure what you mean by the second command, but I ran it from the folder where the .deb is located.
The page on the link at https://client.foldingathome.org/ times out after 30 seconds, failing to connect. Not sure what to make of the rest of the text the Terminal spits out at me.
The first command simply returns this:
Code: Select all
Starting fahclient ... FAIL
Code: Select all
Job for FAHClient.service failed because the control process exited with error code.
See "systemctl status FAHClient.service" and "journalctl -xe" for details.
invoke-rc.d: initscript FAHClient, action "start" failed.
● FAHClient.service - LSB: Folding@home Client
Loaded: loaded (/etc/init.d/FAHClient; generated)
Active: failed (Result: exit-code) since Fri 2019-04-05 17:16:27 CEST; 11ms ago
Docs: man:systemd-sysv-generator(8)
Process: 20647 ExecStart=/etc/init.d/FAHClient start (code=exited, status=1/FAILURE)
apr 05 17:16:26 MintHost systemd[1]: Starting LSB: Folding@home Client...
apr 05 17:16:27 MintHost FAHClient[20647]: Starting fahclient ... FAIL
apr 05 17:16:27 MintHost systemd[1]: FAHClient.service: Control process exited, code=exited status=1
apr 05 17:16:27 MintHost systemd[1]: FAHClient.service: Failed with result 'exit-code'.
apr 05 17:16:27 MintHost systemd[1]: Failed to start LSB: Folding@home Client.
The Folding@home client is now installed
You can access the Web interface by going to:
https://client.foldingathome.org/
in a browser on this computer.
For information about configuring the Folding@home client for
remote access please see the comments in:
/etc/fahclient/config.xml
The page on the link at https://client.foldingathome.org/ times out after 30 seconds, failing to connect. Not sure what to make of the rest of the text the Terminal spits out at me.
Re: FAH will not connect properly
The "start" script in /etc/init.d should be examined to figure out which step is failing. (it should have a cd ... which should take you to a directory which is R/W for the user "fahclient" so it shouldn't matter where you actually start it.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
Re: FAH will not connect properly
Oh sorry, my inexperience with GNU/Linux shines through here.
I opened the folder and file suggested; but what exactly am I looking for? There is a lot of stuff in there that looks like a programming language; but I am no programmer.
I opened the folder and file suggested; but what exactly am I looking for? There is a lot of stuff in there that looks like a programming language; but I am no programmer.
Re: FAH will not connect properly
Yes, a script is sort of a programming language but it's primary function is to launch "real" programs. It has the ability to test certain conditions and branch (skip over some other instructions). Without some knowledge of programming, you probably will need help. Unfortunately I can't open that script since it's unique to Linux and all of the computers I have here are currently running Windows. Somebody else will come along soon and help you.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 2040
- Joined: Sat Dec 01, 2012 3:43 pm
- Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441
Re: FAH will not connect properly
In my Linux Mint 19 I can start FAHClient this way in console:
/usr/bin/FAHClient
/usr/bin/FAHClient
Re: FAH will not connect properly
Well look at that! Now we are getting somewhere. This indeed launched FAH Client, but (of course) inside the Terminal window. Opening either the webinterface or FAHControl now connects.foldy wrote:In my Linux Mint 19 I can start FAHClient this way in console:
/usr/bin/FAHClient
But, this is not how it worked before. I've been able to just launch FAHControl (and by extension, have folding launch automatically at system boot) and have it start folding, without the need to run a Terminal command and keep that window open. What gives, I wonder?
Oh as a side question: I assume AMD GPU folding on Linux is not a thing as of yet? I have a spare Radeon 7970 I'd love to put to good use...
-
- Posts: 2040
- Joined: Sat Dec 01, 2012 3:43 pm
- Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441
Re: FAH will not connect properly
I found one line in FAHClient script which causes the FAIL.
Maybe deleting the file /var/run/fahclient.pid helps (it then gets generated again)
AMD GPU 7970 is working in Linux too
You need to have the GPU OpenCL drivers installed
Maybe deleting the file /var/run/fahclient.pid helps (it then gets generated again)
Code: Select all
sudo rm /var/run/fahclient.pid
You need to have the GPU OpenCL drivers installed
Re: FAH will not connect properly
Hmm, no such file or directory exists, apparently. Which seems to be true, nothing named fahclient exists within /var/run/ when checking it myself.foldy wrote:I found one line in FAHClient script which causes the FAIL.
Maybe deleting the file /var/run/fahclient.pid helps (it then gets generated again)AMD GPU 7970 is working in Linux tooCode: Select all
sudo rm /var/run/fahclient.pid
You need to have the GPU OpenCL drivers installed
Re: FAH will not connect properly
About GPU folding...
And the GUI says GPU is ready.
Both these are installed...foldy wrote:For GPU usage it needsCode: Select all
sudo apt-get install ocl-icd-libopencl1 sudo apt-get install ocl-icd-opencl-dev
But GPU folding won't start. The Terminal says the following on repeatfoldy wrote:AMD GPU 7970 is working in Linux too
You need to have the GPU OpenCL drivers installed
Code: Select all
09:07:26:WU02:FS01:Starting
09:07:26:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
Re: FAH will not connect properly
Please post the top page or two of FAHlog.log showing the hardware that FAHClient detects. That will probably will help us resolve your issue.
Have you installed the proprietary GPU drivers directly from AMD? ... and rebooted after changing the drivers?
Have you installed the proprietary GPU drivers directly from AMD? ... and rebooted after changing the drivers?
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 2040
- Joined: Sat Dec 01, 2012 3:43 pm
- Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441
Re: FAH will not connect properly
I just learned on Linux Ubuntu and Mint there is a new command systemctl
Code: Select all
sudo systemctl start FAHClient