|
|
|
# Possible problems
|
|
|
|
|
|
|
|
## Error `database is locked`
|
|
|
|
|
|
|
|
If the error appears when creating a new experiment, then the culprit is `/esarchive/autosubmit/ecearth.db`.
|
|
|
|
|
|
|
|
To fix it, follow these instructions:
|
|
|
|
|
|
|
|
`cd /esarchive/autosubmit/`
|
|
|
|
|
|
|
|
`sqlite3 ecearth.db .dump > ecearth.db.dump`
|
|
|
|
|
|
|
|
`mv ecearth.db ecearth.db~`
|
|
|
|
|
|
|
|
`cat ecearth.dump | sqlite3 ecearth.db`
|
|
|
|
|
|
|
|
`chmod 777 ecearth.db`
|
|
|
|
|
|
|
|
Finally, you can delete the old database `ecearth.db~`. |
|
|
|
\ No newline at end of file |