Can't rename state file: Error -1


Advanced search

Message boards : Number crunching : Can't rename state file: Error -1

Sort
Author Message
moebicat
Volunteer tester

Joined: Sep 14 06
Posts: 10
ID: 106
Credit: 214,889
RAC: 0
Message 280 - Posted 16 Sep 2006 21:15:21 UTC
Last modified: 16 Sep 2006 21:16:38 UTC

My Mac Min running BOINC reports the following messages:

Sat Sep 16 13:30:35 2006|Docking@Home|Started upload of file 1tng_mod0001_394_299133_0_2
Sat Sep 16 13:30:35 2006|Docking@Home|Started upload of file 1tng_mod0001_394_299133_0_3
Sat Sep 16 13:30:37 2006|Docking@Home|Finished upload of file 1tng_mod0001_394_299133_0_3
Sat Sep 16 13:30:37 2006|Docking@Home|Throughput 1720 bytes/sec
Sat Sep 16 13:30:39 2006|Docking@Home|Finished upload of file 1tng_mod0001_394_299133_0_2
Sat Sep 16 13:30:39 2006|Docking@Home|Throughput 50521 bytes/sec
Sat Sep 16 13:30:41 2006|Docking@Home|Sending scheduler request: To report completed tasks
Sat Sep 16 13:30:41 2006|Docking@Home|Reporting 1 tasks
Sat Sep 16 13:30:46 2006|Docking@Home|Scheduler RPC succeeded [server version 507]
Sat Sep 16 13:54:22 2006||Can't rename state file: Error -1
Sat Sep 16 13:54:22 2006||Couldn't write state file: system rename
Sat Sep 16 13:55:22 2006|Docking@Home|Task 1tng_mod0001_373_257480_0 exited with zero status but no 'finished' file
Sat Sep 16 13:55:22 2006|Docking@Home|If this happens repeatedly you may need to reset the project.
Sat Sep 16 13:55:22 2006|Docking@Home|Restarting task 1tng_mod0001_373_257480_0 using charmm version 501
Sat Sep 16 13:55:23 2006|Docking@Home|Task 1tng_mod0001_372_186141_0 exited with zero status but no 'finished' file
Sat Sep 16 13:55:23 2006|Docking@Home|If this happens repeatedly you may need to reset the project.
Sat Sep 16 13:55:23 2006|Docking@Home|Restarting task 1tng_mod0001_372_186141_0 using charmm version 501

This is the first time this has happened. Of course, if I see this again I will follow the suggestion and "reset the project".

Anyone else see rename errors?
Other than resetting the project, is there some corrective action that I should take?

Profile Rebirther
Volunteer tester
Avatar

Joined: Sep 13 06
Posts: 63
ID: 52
Credit: 69,033
RAC: 0
Message 284 - Posted 16 Sep 2006 21:59:40 UTC

Perhaps something to do with your changes in wrong file "sched_request_docking.utep.edu.xml"? Hope you can set it all back.

moebicat
Volunteer tester

Joined: Sep 14 06
Posts: 10
ID: 106
Credit: 214,889
RAC: 0
Message 285 - Posted 16 Sep 2006 22:38:20 UTC - in response to Message ID 284 .
Last modified: 16 Sep 2006 22:42:02 UTC

Perhaps something to do with your changes in wrong file "sched_request_docking.utep.edu.xml"? Hope you can set it all back.


Good point. I changed it back.

Success, no more "unable to rename file" error. But, I am wary of magical thinking and fools who change random files in applications they don't understand. (That fool would be me.)

Still have "file to large" problem. In the end, the goliath Intel Xeon Mac Pro can crunch Docking@Home data sets, but can't report the results. However, the tiny Intel Core Duo Mini Mac crunches away without a care in the world.

Sigh...

Message boards : Number crunching : Can't rename state file: Error -1

Database Error
: The MySQL server is running with the --read-only option so it cannot execute this statement
array(3) {
  [0]=>
  array(7) {
    ["file"]=>
    string(47) "/boinc/projects/docking/html_v2/inc/db_conn.inc"
    ["line"]=>
    int(97)
    ["function"]=>
    string(8) "do_query"
    ["class"]=>
    string(6) "DbConn"
    ["object"]=>
    object(DbConn)#8 (2) {
      ["db_conn"]=>
      resource(60) of type (mysql link persistent)
      ["db_name"]=>
      string(7) "docking"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(50) "update DBNAME.thread set views=views+1 where id=40"
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(48) "/boinc/projects/docking/html_v2/inc/forum_db.inc"
    ["line"]=>
    int(60)
    ["function"]=>
    string(6) "update"
    ["class"]=>
    string(6) "DbConn"
    ["object"]=>
    object(DbConn)#8 (2) {
      ["db_conn"]=>
      resource(60) of type (mysql link persistent)
      ["db_name"]=>
      string(7) "docking"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(3) {
      [0]=>
      object(BoincThread)#3 (16) {
        ["id"]=>
        string(2) "40"
        ["forum"]=>
        string(1) "2"
        ["owner"]=>
        string(3) "106"
        ["status"]=>
        string(1) "0"
        ["title"]=>
        string(33) "Can't rename state file: Error -1"
        ["timestamp"]=>
        string(10) "1158446300"
        ["views"]=>
        string(3) "737"
        ["replies"]=>
        string(1) "2"
        ["activity"]=>
        string(20) "5.1020438227586e-131"
        ["sufferers"]=>
        string(1) "0"
        ["score"]=>
        string(1) "0"
        ["votes"]=>
        string(1) "0"
        ["create_time"]=>
        string(10) "1158441321"
        ["hidden"]=>
        string(1) "0"
        ["sticky"]=>
        string(1) "0"
        ["locked"]=>
        string(1) "0"
      }
      [1]=>
      &string(6) "thread"
      [2]=>
      &string(13) "views=views+1"
    }
  }
  [2]=>
  array(7) {
    ["file"]=>
    string(63) "/boinc/projects/docking/html_v2/user/community/forum/thread.php"
    ["line"]=>
    int(184)
    ["function"]=>
    string(6) "update"
    ["class"]=>
    string(11) "BoincThread"
    ["object"]=>
    object(BoincThread)#3 (16) {
      ["id"]=>
      string(2) "40"
      ["forum"]=>
      string(1) "2"
      ["owner"]=>
      string(3) "106"
      ["status"]=>
      string(1) "0"
      ["title"]=>
      string(33) "Can't rename state file: Error -1"
      ["timestamp"]=>
      string(10) "1158446300"
      ["views"]=>
      string(3) "737"
      ["replies"]=>
      string(1) "2"
      ["activity"]=>
      string(20) "5.1020438227586e-131"
      ["sufferers"]=>
      string(1) "0"
      ["score"]=>
      string(1) "0"
      ["votes"]=>
      string(1) "0"
      ["create_time"]=>
      string(10) "1158441321"
      ["hidden"]=>
      string(1) "0"
      ["sticky"]=>
      string(1) "0"
      ["locked"]=>
      string(1) "0"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(13) "views=views+1"
    }
  }
}
query: update docking.thread set views=views+1 where id=40