2005-12-02 18:55:31 [---] Couldn't modify the state file. Make sure you have pe
rmissions configured for BOINC to run on this system under this user account
gstate.init() failed: -109
Hi Jon,
I know you showed the "permissions" image for the BOINC folder but somehow you don't have permission to edit the state file. See the snippet above. Check the security properties of both client_state.xml and client_state_prev.xml and I suspect you will find you don't have the rights to modify those files. If that turns out to be correct, you should check all files in the BOINC folder. You need to give yourself the necessary permissions over all files by the look of it.
You may have permissions to read/write, but you aren't part of the Administrators group. That's an essential to install BOINC on a Windows 200x or XP computer.
As Gary said, the state file BOINC is complaining about is the client_state.xml file. This file is written to and backed up to client_state_prev.xml multiple times a minute to every 2 minutes to accomodate the network scheduler, the refractions calculations, the debt calculations etc. You need FULL access on that file.
Jord, gosh this is weird. I backed out .14 and installed .13. I checked all the file permissions, and none are set to RO. I even did "attrib -r *.*" and still get the -109 error. I also tried running boinc.exe from the command prompt; same thing. There has to be something subtle going on. I've been in Window$ and Linux/AIX internals enough to figure out most stuff. This one has me stumped. Thanks for all the help, and any additional hints are greatly appreciated.
Jord, thank you for the quick response. I don't have another drive, but I did follow you instructions. The bad news is...
12/6/2005 7:58:43 PM||Starting BOINC client version 5.2.13 for windows_intelx86
12/6/2005 7:58:43 PM||libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3
12/6/2005 7:58:43 PM||Data directory: C:\\Program Files\\BOINC1
12/6/2005 7:58:43 PM||Processor: 1 GenuineIntel Intel(R) Pentium(R) M processor 1.86GHz
12/6/2005 7:58:43 PM||Memory: 1023.30 MB physical, 2.40 GB virtual
12/6/2005 7:58:43 PM||Disk: 88.15 GB total, 74.18 GB free
12/6/2005 7:58:45 PM|http://einstein.phys.uwm.edu/|Computer ID: not assigned yet; location: ; project prefs: default
12/6/2005 7:58:45 PM||No general preferences found - using BOINC defaults
12/6/2005 7:58:46 PM||Remote control not allowed; using loopback address
12/6/2005 7:58:48 PM||Running CPU benchmarks
12/6/2005 8:03:47 PM||CPU benchmarks timed out, using default values
12/6/2005 8:03:47 PM||Benchmark results:
12/6/2005 8:03:47 PM|| Number of CPUs: 1
12/6/2005 8:03:47 PM|| 0 double precision MIPS (Whetstone) per CPU
12/6/2005 8:03:47 PM|| 0 integer MIPS (Dhrystone) per CPU
12/6/2005 8:03:47 PM||Finished CPU benchmarks
12/6/2005 8:03:51 PM||Couldn't write state file: system rename
12/6/2005 8:04:52 PM||Resuming computation and network activity
12/6/2005 8:04:52 PM||request_reschedule_cpus: Resuming activities
12/6/2005 8:04:52 PM|http://einstein.phys.uwm.edu/|Fetching master file
12/6/2005 8:05:07 PM|http://einstein.phys.uwm.edu/|Master file download succeeded
12/6/2005 8:05:11 PM||Couldn't write state file: system rename
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Sending scheduler request to http://einstein.phys.uwm.edu/EinsteinAtHome_cgi/cgi
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Reason: Requested by user
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Requesting 8640 seconds of new work
12/6/2005 8:06:16 PM|http://einstein.phys.uwm.edu/|Scheduler request to http://einstein.phys.uwm.edu/EinsteinAtHome_cgi/cgi succeeded
12/6/2005 8:06:16 PM|Einstein@Home|General preferences have been updated
12/6/2005 8:06:19 PM|Einstein@Home|New host venue: home
12/6/2005 8:06:19 PM||General prefs: from Einstein@Home (last modified 2005-10-11 10:59:48)
12/6/2005 8:06:19 PM||General prefs: using your defaults
12/6/2005 8:06:21 PM|Einstein@Home|Can't write account file: -109
12/6/2005 8:06:21 PM|Einstein@Home|Resetting project
12/6/2005 8:06:21 PM||request_reschedule_cpus: exit_tasks
12/6/2005 8:06:26 PM|Einstein@Home|Detaching from project
I am at a loss. I have BOINC running on 2 other PCs (neither is running E@H). I'm wondering if there is something messed up in the registry. I'll take a look in the morning. Any help/hints are greatly appreciated.
I have had the same problems with attaching to the einstein project. I have tried several boinc versions, but none worked out. Now .. normally i use optimised clients for seti and boinc, but recently i had to install windows again, and got the attaching problem (after installing optimized clients). What i did was this: i uninstalled boinc 5.2.13, i installed 5.2.12 and i didnt install optimized boinc 4.45.... the problem is gone and i could attach to the einstein project...
No, I don't know exactly what is happening. However, it is quite clear that the root problem is the inability to open the client_state.xml file. There are only two possible causes of this. First, some process already has the file open and is not allowing the BOINC to open it for writing. Second is a rights issue.
There are tools available on sysinternals to track file usage, this would help give a clue if the file is open in some other process. On the second issue, which rights are used depends upon the install type. If it is a single or multiple install, then it is the rights of the logged in user. If it was a service install, it is the rights of the account used to start the service.
jm7
I'm sorry. it's the best I can do in such short notice.
I don't feel too well to sit here long, have no voice and am going back to bed to check if I left my voice there. ;)
RE: RE: 2005-12-02
)
You may have permissions to read/write, but you aren't part of the Administrators group. That's an essential to install BOINC on a Windows 200x or XP computer.
As Gary said, the state file BOINC is complaining about is the client_state.xml file. This file is written to and backed up to client_state_prev.xml multiple times a minute to every 2 minutes to accomodate the network scheduler, the refractions calculations, the debt calculations etc. You need FULL access on that file.
Hi Gary and Jord. I updated
)
Hi Gary and Jord. I updated to 5.2.14 (pre-release) for jollies. My user name is a part of Administrators group
http://web.tampabay.rr.com/w1mnk/images/boincusergroup.JPG
So, I'm still not sure what is happening. I do appreciate very much all the help.
Thanks,
Jon W1MNK
Please go back to 5.2.13
)
Please go back to 5.2.13 (normal download link). .14 is nowhere near stable. Even I dropped it and I need to test the stuff. ;)
Have you chekced through all the files in the Boinc folder what your read/write rights are?
Are none of the files by accident read-only?
Jord, gosh this is weird. I
)
Jord, gosh this is weird. I backed out .14 and installed .13. I checked all the file permissions, and none are set to RO. I even did "attrib -r *.*" and still get the -109 error. I also tried running boinc.exe from the command prompt; same thing. There has to be something subtle going on. I've been in Window$ and Linux/AIX internals enough to figure out most stuff. This one has me stumped. Thanks for all the help, and any additional hints are greatly appreciated.
Thanks,
Jon W1MNK
Ok, rigorous stuff.
)
Ok, rigorous stuff.
Uninstall BOINC, but leave the directory it was in unscathed. Don't delete it or any file in it.
Install BOINC to a completely new directory. Preferably even on another drive. Make sure you are logged in as a member of the admin group.
Make sure BOINC hasn't started, if it has, exit it.
Now go to your old BOINC directory and copy over the account_*.xml files to your new BOINC directory.
Start BOINC/Boinc Manager.
What does it do?
Jord, thank you for the quick
)
Jord, thank you for the quick response. I don't have another drive, but I did follow you instructions. The bad news is...
12/6/2005 7:58:43 PM||Starting BOINC client version 5.2.13 for windows_intelx86
12/6/2005 7:58:43 PM||libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3
12/6/2005 7:58:43 PM||Data directory: C:\\Program Files\\BOINC1
12/6/2005 7:58:43 PM||Processor: 1 GenuineIntel Intel(R) Pentium(R) M processor 1.86GHz
12/6/2005 7:58:43 PM||Memory: 1023.30 MB physical, 2.40 GB virtual
12/6/2005 7:58:43 PM||Disk: 88.15 GB total, 74.18 GB free
12/6/2005 7:58:45 PM|http://einstein.phys.uwm.edu/|Computer ID: not assigned yet; location: ; project prefs: default
12/6/2005 7:58:45 PM||No general preferences found - using BOINC defaults
12/6/2005 7:58:46 PM||Remote control not allowed; using loopback address
12/6/2005 7:58:48 PM||Running CPU benchmarks
12/6/2005 8:03:47 PM||CPU benchmarks timed out, using default values
12/6/2005 8:03:47 PM||Benchmark results:
12/6/2005 8:03:47 PM|| Number of CPUs: 1
12/6/2005 8:03:47 PM|| 0 double precision MIPS (Whetstone) per CPU
12/6/2005 8:03:47 PM|| 0 integer MIPS (Dhrystone) per CPU
12/6/2005 8:03:47 PM||Finished CPU benchmarks
12/6/2005 8:03:51 PM||Couldn't write state file: system rename
12/6/2005 8:04:52 PM||Resuming computation and network activity
12/6/2005 8:04:52 PM||request_reschedule_cpus: Resuming activities
12/6/2005 8:04:52 PM|http://einstein.phys.uwm.edu/|Fetching master file
12/6/2005 8:05:07 PM|http://einstein.phys.uwm.edu/|Master file download succeeded
12/6/2005 8:05:11 PM||Couldn't write state file: system rename
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Sending scheduler request to http://einstein.phys.uwm.edu/EinsteinAtHome_cgi/cgi
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Reason: Requested by user
12/6/2005 8:06:11 PM|http://einstein.phys.uwm.edu/|Requesting 8640 seconds of new work
12/6/2005 8:06:16 PM|http://einstein.phys.uwm.edu/|Scheduler request to http://einstein.phys.uwm.edu/EinsteinAtHome_cgi/cgi succeeded
12/6/2005 8:06:16 PM|Einstein@Home|General preferences have been updated
12/6/2005 8:06:19 PM|Einstein@Home|New host venue: home
12/6/2005 8:06:19 PM||General prefs: from Einstein@Home (last modified 2005-10-11 10:59:48)
12/6/2005 8:06:19 PM||General prefs: using your defaults
12/6/2005 8:06:21 PM|Einstein@Home|Can't write account file: -109
12/6/2005 8:06:21 PM|Einstein@Home|Resetting project
12/6/2005 8:06:21 PM||request_reschedule_cpus: exit_tasks
12/6/2005 8:06:26 PM|Einstein@Home|Detaching from project
I am at a loss. I have BOINC running on 2 other PCs (neither is running E@H). I'm wondering if there is something messed up in the registry. I'll take a look in the morning. Any help/hints are greatly appreciated.
Thanks,
Jon W1MNK
I'm clueless. I've asked JM7
)
I'm clueless. I've asked JM7 to make a pass through here. All I can do is wait, sorry. :(
I have had the same problems
)
I have had the same problems with attaching to the einstein project. I have tried several boinc versions, but none worked out. Now .. normally i use optimised clients for seti and boinc, but recently i had to install windows again, and got the attaching problem (after installing optimized clients). What i did was this: i uninstalled boinc 5.2.13, i installed 5.2.12 and i didnt install optimized boinc 4.45.... the problem is gone and i could attach to the einstein project...
I got an answer from JM7
)
I got an answer from JM7 through email. ;)
I'm sorry. it's the best I can do in such short notice.
I don't feel too well to sit here long, have no voice and am going back to bed to check if I left my voice there. ;)
Jord, I'm sorry that you
)
Jord,
I'm sorry that you are feeling ill. Thank you, from all of us, and I hope you recover soon and completely.
Regards,
Michael
microcraft
"The arc of history is long, but it bends toward justice" - MLK