Page 1 of 3
Win 10, v7.6.21 doesn't start
Posted: Tue Nov 03, 2020 9:47 am
by Geobomatic
Hi there,
I was having a slot allocation error so I decided to check if there was any new version and found .21. I updated (from .9) and since, F@H doesn't even start and no logs are created in ProgramData/FAHClient/.
How can IĀ solve this?
Thanks!
Re: Win 10, v7.6.21 doesn't start
Posted: Tue Nov 03, 2020 8:08 pm
by gs60
Hello,
I would start with doing an un-install (including data) and then do a clean re-install of .21. You'll need to re-enter your passkey, etc... If you wanted to see if any log was created before you do the un-install, you can check C:\Users\{your username}\AppData\Roaming\FAHClient\logs, just to see if there is something of benefit. If you are seeing the web browser trying to connect, that may be the web client bug (if that's still an issue) and the process did start. If that's the case, there may be a fahclient icon in the system tray.
Re: Win 10, v7.6.21 doesn't start
Posted: Tue Nov 03, 2020 11:07 pm
by bretti_kivi
Same thing here. Everything was good... then it wasn't.
Removed. Rebooted. Reinstalled, no dice.
Removed the %appdata% directory after reboot, no dice.
Older versions don't help.
Running from the command line, only GPUs.txt gets read, nothing else.
Changing the data directory to %programdata% hasn't helped.
No icon in the tray, but FAHClient.exe appears to run, but with a small footprint and no a7 or a22 child threads are created.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 12:36 am
by bruce
Somewhere around version *.20, the default location for the FAH Data files were moved from C:\Users\configrationbruce\AppData\Roaming\FAHClient to C:\ProgramData\FAHClient
That required a consistent set of changes to the installer and to the Windows shortcuts. Unless you've done a clean install and removed anything you've edited yourself, you probably will have the problems like the ones you're reporting. From the vantage point of the forum, it's impossible to detect anything you've changed.
The problem of having 2 active clients in V.20 was a bug related to it not performing a clean install. Since the installer's actions need to depend on what version you were upgrading from, I can see how various people would have obtained different results. Sometimes the 2-client problem actually hid the mismatch in data locations (see below) so some people didn't notice the problem immediately.
The old configuration (e.g. V *.13) worked fine as long as I always logged on as "bruce" The new configuration probably works on Window system where multiple user have been created and each one might want to contribute to the collective processing of an active WU while they're using the computer.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 1:57 am
by gs60
Interesting. I'm on .21. Did an uninstall of .13 with data removed and fresh install of .21 and my data directory is still in AppData\Roaming. Should I do anything to change the datafiles location or leave well enough alone? I'm not having any issues on cpu or gpu. If I do logon, it's only under one username.
Update: I ran into this on another forum that answers my question about the directory structure:
"Those files are actually located in C:\Users\*user*\AppData\Roaming\FAHClient. I'll e-mail them to you shortly.
You're correct - if you install just for you they go to your profile, if you set for anyone on the computer it goes to c:\programdata\fahclient."
I'll carry on as it is as the default install must be just for me as I never have any reason to change the install defaults.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 5:08 am
by bruce
OK. If it''s not your problem, you can forget about what I said.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 7:07 am
by bretti_kivi
I'd had a new edit of config.xml as I have a GPU which wasn't recognised in the first place. The argument %programdata% vs %appdata% is one I'm familiar with through work
I use multiple logins on this machine and not all are admin. I will check if there's another FAHClient directory somewhere, though I doubt it. The FAHClient directory is also correctly deleted when I uninstall.
How it worked previously (and I have this on several machines): on reboot, login as a specific user. FAH will start. Now go switch users to something else if necessary.
This particular machine also now has all the anti-virus stuff I can find switched off, and I've done a clean uninstall-reinstall now at least twice, changing directories to push it to create new ones. No dice. I think it's FAHControl that doesn't start. Can I call that from the command line?
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 7:51 am
by PantherX
Assuming a fresh installation of the latest version, this is what I would expect:
Installation: C:\Program Files (x86)\FAHClient
Data: C:\ProgramData\FAHClient
It would ensure that any user can run F@H without issues. The shortcuts should work fine. FAHControl can be opened up via the shortcut. FAHClient can run in CLI mode (the GUI version is FAHControl).
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 11:28 am
by bretti_kivi
Okay, so a fresh install.. spends forever on "Target was appended to PATH". I leave "start Folding@home" checked... and nothing. No FAHClient, no icon in the tray.
Code: Select all
C:\Program Files (x86)\FAHClient>FAHClient
11:25:08:Read GPUs.txt
C:\Program Files (x86)\FAHClient>
contents of %programdata%\FAHClient:
Code: Select all
C:\ProgramData\FAHClient>dir
Volume in drive C has no label.
Volume Serial Number is 9638-FE38
Directory of C:\ProgramData\FAHClient
04/11/2020 13:22 <DIR> .
04/11/2020 13:22 <DIR> ..
04/11/2020 13:22 98,543 GPUs.txt
06/08/2020 21:46 2,010 sample-config.xml
04/11/2020 13:21 <DIR> themes
2 File(s) 100,553 bytes
3 Dir(s) 179,906,781,184 bytes free
C:\ProgramData\FAHClient>
This is wierd. Rights in the directory? Nope:
Code: Select all
C:\ProgramData>cacls FAHClient
C:\ProgramData\FAHClient BUILTIN\Users:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
BUILTIN\Administrators:(OI)(CI)(ID)F
CREATOR OWNER:(OI)(CI)(IO)(ID)F
BUILTIN\Users:(OI)(CI)(ID)R
BUILTIN\Users:(CI)(ID)(special access:)
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_WRITE_EA
FILE_WRITE_ATTRIBUTES
C:\ProgramData>
Strange. Any ideas? I've already got 150m+ points but more is better, right?
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 1:28 pm
by gs60
Just curious if you un-install .21 and then install 7.6.13 does that get you running? The only reason I went to .21 was because it was posted across the the main website as being the new ga release and I wanted to see if it helped with the client hangs when there are no wu's available (and it did), but as I understand it, there is no need to move to .21 if .13 is running for you so it would be interesting to see if this works.
Sorry for causing any confusion Bruce! I was just trying to figure out what this C:\ProgramData\FAHClient directory was as it does not exist on my pc.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 2:11 pm
by bretti_kivi
No, 13 doesn't help. At least I now get a log.txt:
Code: Select all
*********************** Log Started 2020-11-04T14:03:20Z ***********************
14:03:20:Trying to access database...
14:03:20:Successfully acquired database lock
14:03:21:Downloading GPUs.txt from assign1.foldingathome.org:80
14:03:21:Connecting to assign1.foldingathome.org:80
14:03:21:Read GPUs.txt
14:03:21:Enabled folding slot 00: PAUSED cpu:2 (not configured)
14:03:22:Enabled folding slot 01: PAUSED gpu:0:GM204 [GeForce GTX 980] 4612 (not configured)
but FAHClient sits at 0% CPU and 38MB RAM. No core actions visible. Data directory changed to a fresh one.
Where are the logs suppposed to be? %programdata%?
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 5:22 pm
by gs60
Can you post the first 100 or so lines from your logfile? It will have the startup information the client is using.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 8:51 pm
by bretti_kivi
that's the entire logfile.
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 9:18 pm
by gs60
Sorry. Wish I had some ideas for you. Seems like there's no config.xml but I have no idea why it would do that or why there would not be an error message about something like that so we'll have to let the big guns jump in. If you don't see a config.xml file in the C:\Users\*user*\AppData\Roaming\FAHClient and want to see if one can be created, shutdown the fahclient if it is running and start a dos prompt. Enter fahclient --configure and this says it will try and create a config file and exit (I have not done this myself). If it produces an error, that may give some lead into what is going on. Just thinking out loud...
Re: Win 10, v7.6.21 doesn't start
Posted: Wed Nov 04, 2020 9:29 pm
by bretti_kivi
so I created a config.xml using --configure. Added in the correct details. All good.. except it didn't help.
log now says:
Code: Select all
C:\Users\bret\AppData\Roaming\FAHClient>more log.txt
*********************** Log Started 2020-11-04T21:08:59Z ***********************
21:08:59:************************* Folding@home Client *************************
21:08:59: Website: https://foldingathome.org/
21:08:59: Copyright: (c) 2009-2018 foldingathome.org
21:08:59: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:08:59: Args:
21:08:59: Config: <none>
21:08:59:******************************** Build ********************************
21:08:59: Version: 7.5.1
21:08:59: Date: May 11 2018
21:08:59: Time: 13:06:32
21:08:59: Repository: Git
21:08:59: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
21:08:59: Branch: master
21:08:59: Compiler: Visual C++ 2008
21:08:59: Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
21:08:59: Platform: win32 10
21:08:59: Bits: 32
21:08:59: Mode: Release
21:08:59:******************************* System ********************************
21:08:59: CPU: Intel(R) Core(TM) i3-8350K CPU @ 4.00GHz
21:08:59: CPU ID: GenuineIntel Family 6 Model 158 Stepping 11
21:08:59: CPUs: 4
21:08:59: Memory: 47.89GiB
21:08:59: Free Memory: 44.43GiB
21:08:59: Threads: WINDOWS_THREADS
21:08:59: OS Version: 6.2
21:08:59: Has Battery: false
21:08:59: On Battery: false
21:08:59: UTC Offset: 2
21:08:59: PID: 12580
21:08:59: CWD: C:\Users\bret\AppData\Roaming\FAHClient
21:08:59: OS: Windows 10 Enterprise
21:08:59: OS Arch: AMD64
21:08:59: GPUs: 1
21:08:59: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:5 GM204 [GeForce GTX 980] 4612
21:08:59:CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.2 Driver:11.1
21:08:59: OpenCL: Not detected
21:08:59:Win32 Service: false
21:08:59:***********************************************************************
21:09:02:<config>
21:09:02: <!-- Folding Slots -->
21:09:02:</config>
21:09:02:Trying to access database...
21:09:02:Successfully acquired database lock
21:09:02:Enabled folding slot 00: PAUSED cpu:2 (not configured)
and that's it. This was working up until a couple of days ago...
I also tried an older version I found on another machine. No dice. I also created a new user and tested that - no dice. I'm pretty much out of ideas... it's been a while since I reinstalled windows, but I don't want to go that far if I don't need to.