climateprediction.net home page
Can\'t Write State File

Can\'t Write State File

Questions and Answers : Unix/Linux : Can\'t Write State File
Message board moderation

To post messages, you must log in.

AuthorMessage
Echolynx

Send message
Joined: 6 May 08
Posts: 7
Credit: 123,917
RAC: 0
Message 38801 - Posted: 30 Jan 2010, 21:47:34 UTC

I had tried to add my BOINC drive to fstab, and ran into problems. Somehow I modified the permissions, and now I get the following messages when starting BOINC.

30-Jan-2010 16:44:32 [---] Can\'t rename client_state_next.xml to client_state.xml; check file and directory permissions
30-Jan-2010 16:44:32 [---] Couldn\'t write state file
30-Jan-2010 16:44:32 [---] Make sure directory permissions are set correctly


What\'s up? What can I do to fix this?

-Ian
ID: 38801 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 38802 - Posted: 30 Jan 2010, 22:10:08 UTC

Not being able to write the client_state file is a permissions problem.
The cure is to do what the message says, and check the permissions of the BOINC folders.
There are several files in the main folder that need write permission, and lots in the project folders.

Specifics will depend on what exactly you did wrong, and I\'m not all that familiar with Linux. You may need to un-install BOINC and then start again.


Backups: Here
ID: 38802 · Report as offensive     Reply Quote
Echolynx

Send message
Joined: 6 May 08
Posts: 7
Credit: 123,917
RAC: 0
Message 38825 - Posted: 1 Feb 2010, 22:19:00 UTC

Turns out that it was a file system corruption problem. Apparently I didn\'t mount the NTFS partition correctly in fstab. A CHKDSK set to search for and recover sectors as well as repair any damage to the filesystem resulted in everything functioning perfectly.

-Ian
ID: 38825 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Can\'t Write State File

©2024 climateprediction.net