Article ID: 76 - Last Modified: October 1, 2013
While working in Maestro, I get error messages in the terminal like:
WARNING : MMDBI ERROR(-4): mmproj_dbi_clear_undo(): Failed to clear the undo tables (database is locked)
WARNING : MMPROJ ERROR(-4): local_mmproj_prepare_db_for_potential_undo(): Failed to clear the undo
What does this mean?
These errors can indicate that a database in your project is locked, perhaps as a side effect of a sudden shutdown or power failure. To clear the lock, download the script project_unlock.py and run it as follows:
$SCHRODINGER/run project_unlock.py project_name.prj
When it finishes, try again to open your project in Maestro.
These errors can also appear when a project is stored on a shared file system such as NFS and file locking is not enabled. Moving the project to a local file system may help.
Proper file locking is necessary for Maestro projects, so the following locations:
/var/lib/nfs/sm (on SUSE)
/var/lib/nfs/statd/sm (on RedHat)
must be writable when NFS is used. The permissions have to be set properly (700) and the owner needs to be the same as the rpc.statd daemon.
From Suite 2009, you can set the following environment variable to a local non-NFS location:
which should allow you to keep projects on a shared file system.
Keywords: sqlite, Linux
Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles