Results 1 to 2 of 2

Thread: multiple IceStorm instances in an IceBox cannot share Freeze DB

  1. #1
    jharris is offline Registered User
    Name: John Harris
    Organization: Endeavor Trading
    Project: Trading
    Join Date
    Sep 2010
    Posts
    8

    multiple IceStorm instances in an IceBox cannot share Freeze DB

    Ice 3.3.1 / Linux (Ubuntu)

    If you gracefully shut down IceBox running more than one IceStorm instance using the same Freeze DB, you're left with a corrupt database.

    For this to happen, IceBox has to be configured with more than one instance of IceStorm.

    With nothing else going on (no connections, everything quiescent), I kindly issue a shutdown command with iceboxadmin, the process exits, and I try to restart it.

    Both IceStorm instances are using the same DB.

    I tried the DbRecoverFatal option found in another post, but this doesn't fix it.


    Code:
     icebox --Freeze.DbEnv.IceStormEvent.DbRecoverFatal=1 --Ice.Config=./config/TTOrderServer.IceBox_localdev.config
    [ 09/17/10 06:52:45.206 icebox: Berkeley DB: DbEnv "IceStormEvent": DB_LOGC->get: LSN 1/35604: invalid log record header ]
    [ 09/17/10 06:52:45.206 icebox: Berkeley DB: DbEnv "IceStormEvent": Log file corrupt at LSN: [1][35690] ]
    [ 09/17/10 06:52:45.206 icebox: Berkeley DB: DbEnv "IceStormEvent": PANIC: Invalid argument ]
    09/17/10 06:52:45.207 icebox: error: exception while starting IceStorm service IceStormEvent:
    SharedDbEnv.cpp:550: Freeze::DatabaseException:
    DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi John,

    Welcome to the forum.

    Two (or more) instances of IceStorm cannot share the same database environment, so the errors you're seeing are not surprising.

    Please note that we only provide free support here on the forum for the most recent Ice release.

    Regards,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-20-2008, 07:59 AM
  2. Multiple instances of interfaces.
    By nickadamson in forum Help Center
    Replies: 2
    Last Post: 11-15-2007, 10:25 AM
  3. Share endpoint between services in IceBox
    By rspivak in forum Help Center
    Replies: 2
    Last Post: 04-14-2006, 06:18 AM
  4. Freeze, Berkeley DB and SQL
    By Nis Baggesen in forum Help Center
    Replies: 5
    Last Post: 02-09-2005, 12:09 PM
  5. Freeze DB Scenario
    By stephenhardeman in forum Help Center
    Replies: 1
    Last Post: 08-19-2004, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •