16 junho 2009

File truncated - file may have been damaged (Lotus Notes)

Running Lotus Notes 8.5.1 on Ubuntu 8.10 and trying to open a local database I got this error:

File truncated - file may have been damaged
After some searching, found out there is a fixup command that allows to recover from this condition. The command is in /opt/ibm/lotus/notes and uses some libraries that are on the same directory (not on lib path). The complete syntax for evocation is (one line):
LD_LIBRARY_PATH=/opt/ibm/lotus/notes /opt/ibm/lotus/notes/fixup /path/to/database.nsf
First it asks for ID password in order to access the database and then output goes something like this:
06/16/2009 03:45:31 PM Database Fixup: Started
06/16/2009 03:45:31 PM Performing consistency check on /home/myhome/lotus/notes/data/db.nsf...
06/16/2009 03:46:31 PM Completed consistency check on /home/myhome/lotus/notes/data/db.nsf
06/16/2009 03:47:02 PM Database Fixup: Shutdown

After this, the database opened and all seems ok.

Sem comentários: