FAHClient works, but error on website

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

FAHClient works, but error on website

Post by Ben2003 »

== Englisch ==
OS: Ubuntu 04.18

Info: This text was automatically translated with the help of Google.

Hello,

The following packages have been installed:
fahclient_7.5.1_amd64.deb
fahcontrol_7.5.1-1_all.deb
fahviewer_7.5.1_amd64.deb

The FAHClient runs great. All CPU cores are used.

However, if the FAHClient service is to be restarted, it will not work.

The 'Service FAHClient restart' command reports 'Job for FAHClient.service failed because the control process exited with error code.'

The service only runs correctly again after a reboot.

The website at the localhost is only partially loaded:

After loading the website, an attempt is made to load further information about the service, which does not work. The entire website is then reloaded. This happens about every 4 seconds.

Can someone help how the error can be narrowed down?

== German ==
OS: Ubuntu 18.04

Hallo,

Folgende Pakete wurden installiert:
fahclient_7.5.1_amd64.deb
fahcontrol_7.5.1-1_all.deb
fahviewer_7.5.1_amd64.deb

Der FAHClient läuft super. Es werden alle CPU-Cores benutzt.

Wenn allerdings der Dienst FAHClient neu gestartet werden soll, klappt es nicht.

Der Befehl 'Service FAHClient restart' meldet 'Job for FAHClient.service failed because the control process exited with error code.'

Nur nach einem Reboot läuft der Dienst wieder fehlerfrei.

Die Webseite auf der localhost wird nur zum Teil geladen:

Nach dem Laden der Webseite wird versucht, weitere Angaben zum Dienst nachzuladen, was nicht funktioniert. Daraufhin wird die komplette Webseite neu geladen. Dies geschieht etwa alle 4 Sekunden.

Kann jemand weiterhelfen, wie der Fehler eingegrenzt werden kann?
Jesse_V
Site Moderator
Posts: 2851
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: FAHClient works, but error on website

Post by Jesse_V »

Hi Ben, and welcome to the forum.

I suggest that you open the Web Control website on a different web browser, such as Mozilla Firefox, which might fix the issue. Another solution is to open the FAHControl package, as FAHControl is a more advanced front-end for the software.


-----------------------

Hallo Ben, und willkommen im Forum.

Ich schlage vor, dass Sie die Web Control-Website in einem anderen Webbrowser wie Mozilla Firefox öffnen, um das Problem zu beheben. Eine andere Lösung besteht darin, das FAHControl-Paket zu öffnen, da FAHControl ein erweitertes Front-End für die Software ist.

Dies wurde über Google Translate übersetzt.
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.
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

Re: FAHClient works, but error on website

Post by Ben2003 »

== English ==
Hello ,

Thank you for the info.

I noticed that the service client is very prone to errors.

When trying to restart the service, an error occurs:

$ service FAHClient status
● FAHClient.service - LSB: Folding@home Client
Loaded: loaded (/etc/init.d/FAHClient; generated)
Active: failed (Result: exit-code) since Wed 2020-04-01 14:49:32 CEST; 21s ago
Docs: man:systemd-sysv-generator(8)
Process: 28774 ExecStop=/etc/init.d/FAHClient stop (code=exited, status=0/SUCCESS)
Process: 28781 ExecStart=/etc/init.d/FAHClient start (code=exited, status=1/FAILURE)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/FAHClient.service
├─28791 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
└─28793 /usr/bin/FAHClient --child --lifeline 28791 /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/r

Apr 01 14:49:32 crashplan systemd[1]: Starting LSB: Folding@home Client...
Apr 01 14:49:32 crashplan FAHClient[28781]: Starting fahclient ... FAIL
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Control process exited, code=exited status=1
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Failed with result 'exit-code'.
Apr 01 14:49:32 crashplan systemd[1]: Failed to start LSB: Folding@home Client.

== German ==
Hallo ,

vielen Dank für die Info.

Mir ist aufgefallen, dass der Service fahclient sehr fehleranfällig ist.

Beim Versuch, den Service neu zu starten, tritt ein Fehler auf:

$ service FAHClient status
● FAHClient.service - LSB: Folding@home Client
Loaded: loaded (/etc/init.d/FAHClient; generated)
Active: failed (Result: exit-code) since Wed 2020-04-01 14:49:32 CEST; 21s ago
Docs: man:systemd-sysv-generator(8)
Process: 28774 ExecStop=/etc/init.d/FAHClient stop (code=exited, status=0/SUCCESS)
Process: 28781 ExecStart=/etc/init.d/FAHClient start (code=exited, status=1/FAILURE)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/FAHClient.service
├─28791 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
└─28793 /usr/bin/FAHClient --child --lifeline 28791 /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/r

Apr 01 14:49:32 crashplan systemd[1]: Starting LSB: Folding@home Client...
Apr 01 14:49:32 crashplan FAHClient[28781]: Starting fahclient ... FAIL
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Control process exited, code=exited status=1
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Failed with result 'exit-code'.
Apr 01 14:49:32 crashplan systemd[1]: Failed to start LSB: Folding@home Client.
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

Re: FAHClient works, but error on website

Post by Ben2003 »

Sorry, the Status message is incomplete. Here the complete message:

$ service FAHClient status
● FAHClient.service - LSB: Folding@home Client
Loaded: loaded (/etc/init.d/FAHClient; generated)
Active: failed (Result: exit-code) since Wed 2020-04-01 14:49:32 CEST; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 28774 ExecStop=/etc/init.d/FAHClient stop (code=exited, status=0/SUCCESS)
Process: 28781 ExecStart=/etc/init.d/FAHClient start (code=exited, status=1/FAILURE)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/FAHClient.service
├─28791 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
└─28793 /usr/bin/FAHClient --child --lifeline 28791 /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon

Apr 01 14:49:32 crashplan systemd[1]: Starting LSB: Folding@home Client...
Apr 01 14:49:32 crashplan FAHClient[28781]: Starting fahclient ... FAIL
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Control process exited, code=exited status=1
Apr 01 14:49:32 crashplan systemd[1]: FAHClient.service: Failed with result 'exit-code'.
Apr 01 14:49:32 crashplan systemd[1]: Failed to start LSB: Folding@home Client.
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

Re: FAHClient works, but error on website

Post by Ben2003 »

Only after a system restart does the service client start again without errors.

--------------

Erst nach einem Systemneustart läuft der Service fahclient wieder fehlerfrei an.
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

Re: FAHClient works, but error on website

Post by Ben2003 »

Here the new status after a system reboot:

service FAHClient status
● FAHClient.service - LSB: Folding@home Client
Loaded: loaded (/etc/init.d/FAHClient; generated)
Active: active (running) since Wed 2020-04-01 15:00:38 CEST; 1min 47s ago
Docs: man:systemd-sysv-generator(8)
Process: 2209 ExecStart=/etc/init.d/FAHClient start (code=exited, status=0/SUCCESS)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/FAHClient.service
├─2329 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
└─2331 /usr/bin/FAHClient --child --lifeline 2329 /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon

Apr 01 15:00:37 crashplan systemd[1]: Starting LSB: Folding@home Client...
Apr 01 15:00:38 crashplan FAHClient[2209]: Starting fahclient ... OK
Apr 01 15:00:38 crashplan systemd[1]: Started LSB: Folding@home Client.
Jesse_V
Site Moderator
Posts: 2851
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: FAHClient works, but error on website

Post by Jesse_V »

H Ben,

That looks looks like a standard status report from SystemD. I do not see anything unusual or bad in that last status. You do not need to restart your computer to restart the Folding@home software. Instead, the command "sudo service FAHClient restart" should restart the software. If you need more log messages, the latest log file can be found at /var/lib/fahclient/log.txt. This log will give you significantly more information about the events that are happening in the Folding@home software.
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.
Ben2003
Posts: 9
Joined: Tue Mar 31, 2020 1:48 pm

Re: FAHClient works, but error on website

Post by Ben2003 »

Thank you for the infos.
Post Reply