Page 1 of 1
FAHControl keeps connecting
Posted: Sun May 31, 2020 8:25 am
by kevi
I have been having issues with FAHClient, the control buttons are all missing, and the status keep "connecting" "updating". I was working until I have made some changes in "slots".
I have tried running the CLI with "FAHClient --configure" to reconfigure the config.xml but still the same. I have also tried uninstall and reinstall many times.. still no joy
Mod Edit: Fixed Image Tags - PantherX
Re: FAHControl keeps connecting
Posted: Sun May 31, 2020 8:34 am
by PantherX
Welcome to the F@H Forum kevi,
Can you please post the log file? Ensure you include the first 100 lines which will inform us of what the system configuration is and what the client settings are. If you require guidance, please view this topic: viewtopic.php?f=24&t=26036
Assuming that you did an upgrade from V7.5X to V7.6.13 and has set a password, there's a known issue where V7.6.13 may not connect. The workaround is either to install the previous version, remove the password and install the latest version and then set a password. Alternatively, you can perform a fresh installation assuming that you have the username/passkey/team number stored safely in plain text.
Re: FAHControl keeps connecting
Posted: Sun May 31, 2020 8:57 am
by kevi
Code: Select all
SINMAC81DDG8WM:~ kng2$ sudo FAHClient --log
Password:
08:56:55:WARNING:Missing required argument for option:
08:56:55:WARNING: --log <string=log.txt>
08:56:55:WARNING: Set log file.
08:56:55:Trying to access database...
08:56:55:Successfully acquired database lock
08:56:55:Downloading GPUs.txt from assign1.foldingathome.org:80
08:56:55:Connecting to assign1.foldingathome.org:80
08:56:56:Read GPUs.txt
08:56:56:Enabled folding slot 00: PAUSED cpu:3 (not configured)
08:56:56:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use
08:56:56:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use
08:56:56:****************************** FAHClient ******************************
08:56:56: Version: 7.6.13
08:56:56: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:56:56: Copyright: 2020 foldingathome.org
08:56:56: Homepage: https://foldingathome.org/
08:56:56: Date: Apr 27 2020
08:56:56: Time: 21:20:45
08:56:56: Revision: 5a652817f46116b6e135503af97f18e094414e3b
08:56:56: Branch: master
08:56:56: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
08:56:56: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
08:56:56: -Wno-unused-local-typedefs -stdlib=libc++
08:56:56: Platform: darwin 19.2.0
08:56:56: Bits: 64
08:56:56: Mode: Release
08:56:56: Args: --log
08:56:56:******************************** CBang ********************************
08:56:56: Date: Apr 24 2020
08:56:56: Time: 17:07:50
08:56:56: Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
08:56:56: Branch: master
08:56:56: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
08:56:56: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
08:56:56: -Wno-unused-local-typedefs -stdlib=libc++ -fPIC
08:56:56: Platform: darwin 19.2.0
08:56:56: Bits: 64
08:56:56: Mode: Release
08:56:56:******************************* System ********************************
08:56:56: CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
08:56:56: CPU ID: GenuineIntel Family 6 Model 70 Stepping 1
08:56:56: CPUs: 8
08:56:56: Memory: 16.00GiB
08:56:56:Free Memory: 7.09GiB
08:56:56: Threads: POSIX_THREADS
08:56:56: OS Version: 10.14
08:56:56:Has Battery: true
08:56:56: On Battery: true
08:56:56: UTC Offset: 8
08:56:56: PID: 10482
08:56:56: CWD: /Users/kng2
08:56:56: OS: Darwin 18.7.0 x86_64
08:56:56: OS Arch: AMD64
08:56:56: GPUs: 1
08:56:56: GPU 0: Bus:1 Slot:0 Func:0 AMD:5 [Radeon HD 8800M Series]
08:56:56: CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
08:56:56: dlopen(libcuda.dylib, 1): image not found
08:56:56: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
08:56:56: dlopen(libOpenCL.dylib, 1): image not found
08:56:56:******************************* libFAH ********************************
08:56:56: Date: Apr 15 2020
08:56:56: Time: 14:43:28
08:56:56: Revision: 216968bc7025029c841ed6e36e81a03a316890d3
08:56:56: Branch: master
08:56:56: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
08:56:56: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
08:56:56: -Wno-unused-local-typedefs -stdlib=libc++
08:56:56: Platform: darwin 19.2.0
08:56:56: Bits: 64
08:56:56: Mode: Release
08:56:56:***********************************************************************
08:56:56:<config>
08:56:56: <!-- Folding Slots -->
08:56:56: <slot id='0' type='CPU'/>
08:56:56:</config>
Re: FAHControl keeps connecting
Posted: Sun May 31, 2020 4:18 pm
by bruce
I'm not sure what you're trying to accomplish with the
--log parameter string. You're effectively putting FAH's files in CWD: /Users/kng2 which is Absolutely NOT a good place to put them.
Notice that your previous install did not retain any changes you made in a previous run.
08:56:56:Enabled folding slot 00: PAUSED cpu:3
(not configured)
08:56:56:ERROR:Exception: Could not bind socket to 0.0.0.0:7396:
Address already in use
08:56:56:ERROR:Exception: Could not bind socket to 0.0.0.0
Address already in use
It looks like your trying to start a second copy of the Daemon FAHClient. Adding "sudo" doesn't change the fact that only one is allowed.
Do you find FAH"s files in /Library/Application Support/FAHClient?
Re: FAHControl keeps connecting
Posted: Sun May 31, 2020 4:33 pm
by Joe_H
If there is a FAHClient process already running, you can use the FAHClient executable from a CLI to send a command to it using 'FAHClient --send-command'. Use 'FAHClient --help' for all available commands.
Re: FAHControl keeps connecting
Posted: Tue Jun 02, 2020 6:56 am
by kevi
I have no idea why this is not running as it should be. I see the sockets 7396 and 36330 are prompting error and I have no clue where it should be changed. I would like to see if there's any proper way to remove the whole thing and reinstall FAH entirely with all its config/cache/settings.
Below is the config.xml
Code: Select all
<config>
<!-- Folding Slots -->
<slot id='0' type='CPU'/>
</config>
Below is the newer log.txt content.
Code: Select all
*********************** Log Started 2020-06-02T06:52:35Z ***********************
06:52:35:Trying to access database...
06:52:35:Successfully acquired database lock
06:52:35:Read GPUs.txt
06:52:35:Enabled folding slot 00: READY cpu:3
[91m06:52:35:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use[0m
[91m06:52:35:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use[0m
06:52:35:****************************** FAHClient ******************************
06:52:35: Version: 7.6.13
06:52:35: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:52:35: Copyright: 2020 foldingathome.org
06:52:35: Homepage: https://foldingathome.org/
06:52:35: Date: Apr 27 2020
06:52:35: Time: 21:20:45
06:52:35: Revision: 5a652817f46116b6e135503af97f18e094414e3b
06:52:35: Branch: master
06:52:35: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:52:35: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
06:52:35: -Wno-unused-local-typedefs -stdlib=libc++
06:52:35: Platform: darwin 19.2.0
06:52:35: Bits: 64
06:52:35: Mode: Release
06:52:35: Config: /Library/Application/config.xml
06:52:35:******************************** CBang ********************************
06:52:35: Date: Apr 24 2020
06:52:35: Time: 17:07:50
06:52:35: Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
06:52:35: Branch: master
06:52:35: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:52:35: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
06:52:35: -Wno-unused-local-typedefs -stdlib=libc++ -fPIC
06:52:35: Platform: darwin 19.2.0
06:52:35: Bits: 64
06:52:35: Mode: Release
06:52:35:******************************* System ********************************
06:52:35: CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
06:52:35: CPU ID: GenuineIntel Family 6 Model 70 Stepping 1
06:52:35: CPUs: 8
06:52:35: Memory: 16.00GiB
06:52:35:Free Memory: 7.93GiB
06:52:35: Threads: POSIX_THREADS
06:52:35: OS Version: 10.14
06:52:35:Has Battery: true
06:52:35: On Battery: false
06:52:35: UTC Offset: 8
06:52:35: PID: 2172
06:52:35: CWD: /Library/Application
06:52:35: OS: Darwin 18.7.0 x86_64
06:52:35: OS Arch: AMD64
06:52:35: GPUs: 1
06:52:35: GPU 0: Bus:1 Slot:0 Func:0 AMD:5 [Radeon HD 8800M Series]
06:52:35: CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
06:52:35: dlopen(libcuda.dylib, 1): image not found
06:52:35: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
06:52:35: dlopen(libOpenCL.dylib, 1): image not found
06:52:35:******************************* libFAH ********************************
06:52:35: Date: Apr 15 2020
06:52:35: Time: 14:43:28
06:52:35: Revision: 216968bc7025029c841ed6e36e81a03a316890d3
06:52:35: Branch: master
06:52:35: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:52:35: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
06:52:35: -Wno-unused-local-typedefs -stdlib=libc++
06:52:35: Platform: darwin 19.2.0
06:52:35: Bits: 64
06:52:35: Mode: Release
06:52:35:***********************************************************************
06:52:35:<config>
06:52:35: <!-- Folding Slots -->
06:52:35: <slot id='0' type='CPU'/>
06:52:35:</config>
06:52:35:WU00:FS00:Connecting to assign1.foldingathome.org:80
06:52:36:WU00:FS00:Connecting to assign1.foldingathome.org:80
06:52:37:WU00:FS00:Assigned to work server 155.247.164.213
06:52:37:WU00:FS00:Requesting new work unit for slot 00: READY cpu:3 from 155.247.164.213
06:52:37:WU00:FS00:Connecting to 155.247.164.213:8080
06:52:38:WU00:FS00:Downloading 2.82MiB
06:52:44:WU00:FS00:Download 84.15%
06:52:44:WU00:FS00:Download complete
06:52:44:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:14824 run:728 clone:2 gen:59 core:0xa7 unit:0x000000409bf7a4d55ea344b8706cc6b0
06:52:44:WU00:FS00:Downloading core from http://cores.foldingathome.org/v7/osx/64bit/avx/Core_a7.fah
06:52:44:WU00:FS00:Connecting to cores.foldingathome.org:80
06:52:45:WU00:FS00:FahCore a7: Downloading 6.53MiB
06:52:47:WU00:FS00:FahCore a7: Download complete
06:52:47:WU00:FS00:Valid core signature
06:52:47:WU00:FS00:Unpacked 17.01MiB to cores/cores.foldingathome.org/v7/osx/64bit/avx/Core_a7.fah/FahCore_a7
06:52:47:WU00:FS00:Starting
06:52:47:WU00:FS00:Running FahCore: /usr/local/bin/FAHCoreWrapper /Library/Application/cores/cores.foldingathome.org/v7/osx/64bit/avx/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 706 -lifeline 2172 -checkpoint 15 -np 3
06:52:47:WU00:FS00:Started FahCore on PID 2174
06:52:47:WU00:FS00:Core PID:2175
06:52:47:WU00:FS00:FahCore 0xa7 started
06:52:48:WU00:FS00:0xa7:*********************** Log Started 2020-06-02T06:52:47Z ***********************
06:52:48:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
06:52:48:WU00:FS00:0xa7: Type: 0xa7
06:52:48:WU00:FS00:0xa7: Core: Gromacs
06:52:48:WU00:FS00:0xa7: Args: -dir 00 -suffix 01 -version 706 -lifeline 2174 -checkpoint 15 -np 3
06:52:48:WU00:FS00:0xa7:************************************ CBang *************************************
06:52:48:WU00:FS00:0xa7: Date: Oct 26 2019
06:52:48:WU00:FS00:0xa7: Time: 03:00:53
06:52:48:WU00:FS00:0xa7: Revision: 3b1c887e9f30a608262e0d62833b273e843f7c1b
06:52:48:WU00:FS00:0xa7: Branch: master
06:52:48:WU00:FS00:0xa7: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:52:48:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
06:52:48:WU00:FS00:0xa7: -Wno-unused-local-typedefs -stdlib=libc++ -fPIC
06:52:48:WU00:FS00:0xa7: Platform: darwin 19.0.0
06:52:48:WU00:FS00:0xa7: Bits: 64
06:52:48:WU00:FS00:0xa7: Mode: Release
06:52:48:WU00:FS00:0xa7:************************************ System ************************************
06:52:48:WU00:FS00:0xa7: CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
06:52:48:WU00:FS00:0xa7: CPU ID: GenuineIntel Family 6 Model 70 Stepping 1
06:52:48:WU00:FS00:0xa7: CPUs: 8
06:52:48:WU00:FS00:0xa7: Memory: 16.00GiB
06:52:48:WU00:FS00:0xa7:Free Memory: 7.86GiB
06:52:48:WU00:FS00:0xa7: Threads: POSIX_THREADS
06:52:48:WU00:FS00:0xa7: OS Version: 10.14
06:52:48:WU00:FS00:0xa7:Has Battery: true
06:52:48:WU00:FS00:0xa7: On Battery: false
06:52:48:WU00:FS00:0xa7: UTC Offset: 8
06:52:48:WU00:FS00:0xa7: PID: 2175
06:52:48:WU00:FS00:0xa7: CWD: /Library/Application/work
06:52:48:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
06:52:48:WU00:FS00:0xa7: Version: 0.0.18
06:52:48:WU00:FS00:0xa7: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:52:48:WU00:FS00:0xa7: Copyright: 2019 foldingathome.org
06:52:48:WU00:FS00:0xa7: Homepage: https://foldingathome.org/
06:52:48:WU00:FS00:0xa7: Date: Oct 26 2019
06:52:48:WU00:FS00:0xa7: Time: 03:06:33
06:52:48:WU00:FS00:0xa7: Revision: fcc08f30b8997509aaba3a213354c363f474e056
06:52:48:WU00:FS00:0xa7: Branch: master
06:52:48:WU00:FS00:0xa7: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:52:48:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
06:52:48:WU00:FS00:0xa7: -Wno-unused-local-typedefs -stdlib=libc++
06:52:48:WU00:FS00:0xa7: Platform: darwin 19.0.0
06:52:48:WU00:FS00:0xa7: Bits: 64
06:52:48:WU00:FS00:0xa7: Mode: Release
06:52:48:WU00:FS00:0xa7:************************************ Build *************************************
06:52:48:WU00:FS00:0xa7: SIMD: avx_256
06:52:48:WU00:FS00:0xa7:********************************************************************************
06:52:48:WU00:FS00:0xa7:Project: 14824 (Run 728, Clone 2, Gen 59)
06:52:48:WU00:FS00:0xa7:Unit: 0x000000409bf7a4d55ea344b8706cc6b0
06:52:48:WU00:FS00:0xa7:Reading tar file core.xml
06:52:48:WU00:FS00:0xa7:Reading tar file frame59.tpr
06:52:48:WU00:FS00:0xa7:Digital signatures verified
06:52:48:WU00:FS00:0xa7:Calling: mdrun -s frame59.tpr -o frame59.trr -cpt 15 -nt 3
06:52:48:WU00:FS00:0xa7:Steps: first=0 total=250000
06:52:51:WU00:FS00:0xa7:Completed 1 out of 250000 steps (0%)
06:52:51:Caught signal SIGINT(2) on PID 2172
06:52:51:Exiting, please wait. . .
06:52:52:FS00:Shutting core down
06:52:52:WU00:FS00:0xa7:Caught signal SIGINT(2) on PID 2175
06:52:52:WU00:FS00:0xa7:Exiting, please wait. . .
06:52:52:Caught signal SIGINT(2) on PID 2172
[93m06:52:52:WARNING:Next signal will force exit[0m
06:52:58:WU00:FS00:0xa7:Folding@home Core Shutdown: INTERRUPTED
06:52:58:Clean exit
Re: FAHControl keeps connecting
Posted: Thu Jun 04, 2020 11:37 pm
by bruce
Are you starting FAH automatically at boot time? Are you also starting it manually?