Archived

This forum has been archived. Please start a new discussion on GitHub.

trouble using dumpdb

When I use dumpdb for objectmap, I got following messages:
dumpdb  --load RulerData.ice --key RMC::RmPassRulerIndex --value RMC::RmPassRuler -I/ap/slice/RMC/ -I/ap/slice /ap/db/RMC/servers/rmc_rulermgr  rmpassruler

dumpdb: FileUtil.cpp:471: IceUtil::FileLockedException:
could not lock file: `/ap/db/RMC/servers/rmc_rulermgr/__Freeze/lock'
syscall exception: Resource temporarily unavailable
What's wrong?
(Ice version is 3.4.1. Operate system is REDHAT AS 5.5)

Thanks.

Dong

Comments

  • bernard
    bernard Jupiter, FL
    Hi Dong,

    If you're running dumpdb on a Freeze/Berkeley DB environment while your application is using this environment, you need to make sure your application is configured with:
    Freeze.DbEnv.your-env-name.DbPrivate=0

    See DbPrivate and LockFile on the Freeze properties page for more information.

    Best regards,
    Bernard