Shows ready.. running.. returns to ready.

Moderators: Site Moderators, FAHC Science Team

Post Reply
OrsPervIe
Posts: 12
Joined: Mon Jun 24, 2019 1:30 pm

Shows ready.. running.. returns to ready.

Post by OrsPervIe »

Symptom: Webcontrol shows ready 0.0%. then goes to running. then returns shortly to ready.
Running Manjaro Linux
Check:

Code: Select all

# journalctl -u foldingathome
Jul 12 07:21:16 tv-lt systemd[1]: Started Folding@home distributed computing client.
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:************************* Folding@home Client *************************
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:    Website: https://foldingathome.org/
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:  Copyright: (c) 2009-2018 foldingathome.org
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:       Args:
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:     Config: <none>
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:******************************** Build ********************************
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:    Version: 7.5.1
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:       Date: May 11 2018
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:       Time: 19:59:04
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16: Repository: Git
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:   Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:     Branch: master
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:   Compiler: GNU 6.3.0 20170516
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:    Options: -std=gnu++98 -O3 -funroll-loops
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:   Platform: linux2 4.14.0-3-amd64
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:       Bits: 64
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:       Mode: Release
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:******************************* System ********************************
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:        CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Jul 12 07:21:16 tv-lt FAHClient[17055]: 11:21:16:     CPU ID: GenuineIntel Family 6 Model 142 Stepping 9
My thought was a corrupted xml file so deleted and replaced with a backup xml file.
Same result.
All right something else is going on. Deleted the config file and

Code: Select all

FAHClient --configure
entering all needed info that way.
Same result.
The only thing I can think of is that a resent update is causing a problem with fahclient and even though /opt/fah/config.xml exists and I can delete it and reinstall it a new version of a dependency can almost get fah running but then something stops it.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Shows ready.. running.. returns to ready.

Post by bruce »

Find FAH's working files per the instructions referenced below and post several pages of FAH's log.

By default, FAHClient should run as a service under it's own userid. Either FAHControl or WebControl should give you access to anything you need, whether watching the output in the log file or modifying FAH's settings
OrsPervIe
Posts: 12
Joined: Mon Jun 24, 2019 1:30 pm

[Solved]Re: Shows ready.. running.. returns to ready.

Post by OrsPervIe »

Sorry for getting slow back to you. Not sure what happened, but after upgrading yesterday fah started running again. Mind you the item I was supposed to be working on ran out of time also. Whether I was one or the other or a combo of both I dod not know and right now do not have the time to find out. It does appear to have fixed its self. I will try to remember about posting logs. BTW my logs are located in /opt/fah/
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: [Solved]Re: Shows ready.. running.. returns to ready.

Post by bruce »

OrsPervIe wrote:BTW my logs are located in /opt/fah/
This may be an indication of your problem. The installer chooses a directory to place those files and inserts a "CWD: /var/lib/fahclient" command into the startup script of the FAHClient service, into the startup script of FAHControl, and into the startup script of WebControl. It gives /var/lib/fahclient the proper permissions for the service to place its files there and the other programs expect to find them there.

Obviously you can place those files anywhere you choose, but when you override that default, you have to make the appropriate changes to ALL of the details I've mentioned so that you've recreated a consistent set of programs.
OrsPervIe
Posts: 12
Joined: Mon Jun 24, 2019 1:30 pm

Re: Shows ready.. running.. returns to ready.

Post by OrsPervIe »

I am using arch foldingathome.. Everything seems to be working well now. A few wus after starting again the same issue showed up. After looking around I believe I figured out the problem was a corrupt work folder. I deleted that, restarted fah and since have had no reoccurance (cross ones fingers)
BTW as I am using Arch FAHControll doe not work, which is fine as Webcontrol does everything I need. I was using Debian Sid in the past and FAHControl was lost to me because of recent upgrades.
Post Reply