Page 1 of 1

Registry": BDB2506 file applications has LSN 1/792834, past

PostPosted: Tue Feb 10, 2015 2:25 pm
by jwarren
Hi
I tried deleting and recreating my omero db as I wanted to start using the omero in-place importer. Unfortunately now I get the exception below when trying to start the server.

Is there an easy way to get rid of these log files? Or do I have to get one of our system admins to do it?

Seems like it's related to this : http://sewm.pku.edu.cn/src/paradise/thi ... /copy.html

Thanks for any tips...see error below.

Jonathan.

Errors in master.err log:

-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB2506 file applications has LSN 1/792834, past end of log at 1/674489
-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB2507 Commonly caused by moving a database from one database environment
-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB2508 to another without clearing the database LSNs, or by removing all of
-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB2509 the log files from a database environment
-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB1521 Recovery function for LSN 1 672716 failed
-- 02/10/15 14:20:28.980 icegridnode: Berkeley DB: DbEnv "Registry": BDB0061 PANIC: Invalid argument
-- 02/10/15 14:20:28.981 icegridnode: Berkeley DB: DbEnv "Registry": BDB1544 process-private: unable to find environment
!! 02/10/15 14:20:28.989 icegridnode: error: service caught unhandled std::exception:
SharedDbEnv.cpp:620: Freeze::DatabaseException:
DbEnv::open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery

Re: Registry": BDB2506 file applications has LSN 1/792834, p

PostPosted: Tue Feb 10, 2015 3:34 pm
by jmoore
Hi Jonathan,

unfortunately this is a problem that arises periodically. (You can read more about it under https://www.zeroc.com/forums/bug-reports/4237-sporadic-freeze-errors-concurrent-icegridnode-access.html). It should suffice to make sure that no icegridnode process is running, delete the var/ directory, and then restart. This assume you don't want to keep your log files. Alternatively, you can delete the "master" and "registry" directories under var/ individually.

Hope that helps!
~Josh.

Re: Registry": BDB2506 file applications has LSN 1/792834, p

PostPosted: Tue Feb 10, 2015 3:40 pm
by jwarren
Thanks!