State File Error

Richard
Richard
Joined: 29 Apr 10
Posts: 39
Credit: 39269698
RAC: 0
Topic 197895

I am having a problem with one of my computers. When I try to start it, I get an error renaming the state file. Can someone tell me what a state file is, where it is, and if anyone has seen this error before, how I can get past it.

I have tried resetting the project, and uninstalling/reinstalling BOINC, but no luck. Please see the relevant log file entries below:

12/28/2014 8:21:18 AM | | Can't rename current state file to previous state file; The file or directory is corrupted and unreadable. (0x570)
12/28/2014 8:21:18 AM | | rename error: The file or directory is corrupted and unreadable. (0x570)
12/28/2014 8:21:18 AM | | Couldn't write state file; check directory permissions

archae86
archae86
Joined: 6 Dec 05
Posts: 3163
Credit: 7362921687
RAC: 2296881

State File Error

You did not mention which computer. I suspect the answer depends on all of Operating system, BOINC version at initial install, and options exercised during BOINC install.

On a Windows system I believe the files referred to are probably:

client_state.xml
client_state_prev.xml

I think that on recent BOINC version installing on Windows 7 systems with default configurations these reside at:

c:\ProgramData\BOINC

As the messages you transcribed suggest, I think you may wish to review permissions on that directory and those files, and run your favorite disk integrity check software.

Richard
Richard
Joined: 29 Apr 10
Posts: 39
Credit: 39269698
RAC: 0

Thanks. The computer is my

Thanks.

The computer is my laptop, running win 7. It is ID 6110411. The current BOINC version is 7.4.27, I keep it updated whenever a new release comes out.

I am the only user of this machine, so there is no way the permissions were changed, but I will check the directory, and run chkdsk.

EDIT:

Windows reported client_state.xml as being corrupt. I ran chkdsk, and it reported deleting an index on client_state.xml, and restoring a shipload of orphaned files. After rebooting BOINC downloaded 8 new tasks.

mikey
mikey
Joined: 22 Jan 05
Posts: 12881
Credit: 1884394640
RAC: 123375

RE: Thanks. The computer

Quote:

Thanks.

The computer is my laptop, running win 7. It is ID 6110411. The current BOINC version is 7.4.27, I keep it updated whenever a new release comes out.

I am the only user of this machine, so there is no way the permissions were changed, but I will check the directory, and run chkdsk.

EDIT:

Windows reported client_state.xml as being corrupt. I ran chkdsk, and it reported deleting an index on client_state.xml, and restoring a shipload of orphaned files. After rebooting BOINC downloaded 8 new tasks.

I see you are running both cpu and gpu tasks on that laptop, I HOPE you are monitoring the temps AND have some kind of external fan on that thing. When I ran the gpu units on my own laptop the temps soared to the point I was afraid the laptop was going to melt into a puddle right on my desk. If you haven't tried it this software can help you see the temps, it's called openhardwaremonitor and is free to use:
http://download.cnet.com/Open-Hardware-Monitor/3000-2094_4-75217106.html

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.