My Oracle Support Banner

How To Re-create/Rebuild Datastore Dirbdb When Using GoldenGate MicroServices Installation? (Doc ID 2679730.1)

Last updated on JUNE 15, 2020

Applies to:

Management Pack for Oracle GoldenGate - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Goal

Sometimes pmsrvr.log will show datastore related errors like:

2020-05-28T22:38:05.394+0000 ERROR| Error (dirbdb): BDB0061 PANIC: Invalid argument
/u01/app/ggs/bin/../lib/libggrepo.so(ggrepo::PersistenceBDBEnv::db_errcall_fcn(__db_env const*, char const*, char const*))
/u01/app/ggs/bin/../lib/libdb-6.1.so(__db_errcall)
/u01/app/ggs/bin/../lib/libdb-6.1.so(__db_err)
/u01/app/ggs/bin/../lib/libdb-6.1.so(__env_panic)
/u01/app/ggs/bin/../lib/libdb-6.1.so(__env_attach_regions)
/u01/app/ggs/bin/../lib/libdb-6.1.so(__env_open)
/u01/app/ggs/bin/../lib/libggrepo.so(ggrepo::PersistenceBDBEnv::Open(ggrepo::OpenMode_t))
/u01/app/ggs/bin/pmsrvr(ggs::pmserver::PMServer::initRepo())
/u01/app/ggs/bin/pmsrvr(ggs::pmserver::PMServer::start())
/u01/app/ggs/bin/pmsrvr(ggs::pmserver::PMServer::runServer(int, char const**))
/u01/app/ggs/bin/pmsrvr(main)
/lib64/libc.so.6(__libc_start_main)
/u01/app/ggs/bin/pmsrvr() (main)

2020-05-28T22:38:05.532+0000 WARN | Panic Event DB_EVENT_PANIC (0) received, Setting Panic Recovery Flag (main)
2020-05-28T22:38:05.532+0000 ERROR| Error (dirbdb): BDB0060 PANIC: fatal region error detected; run recovery

for which PMSRVR may not be able to recover automatically.

The goal of this document is to show the steps to rebuild datastore/dirbdb when using GoldenGate MicroServices
to 'manually' recover from these type of errors.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.