Thanks for your reply. I had tried many different command options before,
they all had different problems. Below is the output of the execution:

./qpidd -p 5672 --auth no --load-module ./linearstore.so

2015-09-03 14:12:50 [Broker] notice Broker (pid=6278) start-up
2015-09-03 14:12:50 [Store] notice Linear Store: Store module initialized;
store-dir=/home/mmos/.qpidd
2015-09-03 14:12:50 [Store] notice Linear Store: Store module initialized;
store-dir=/home/mmos/.qpidd
2015-09-03 14:12:50 [Broker] error Multiple store plugins are not supported
2015-09-03 14:12:50 [Broker] critical Broker (pid=6278) start-up failed:
Failed to start broker: Multiple store plugins were loaded
(/home/mmos/qpid/qpid-cpp-0.34/src/qpid/broker/Broker.cpp:505)
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
2015-09-03 14:12:50 [Store] error Linear Store: Error closing BDB
databases: Db::close: BDB0087 DB_RUNRECOVERY: Fatal error, run database
recovery
linearstore: BDB1581 File handles still open at environment close
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/__db.001
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/__db.002
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/__db.003
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/queues.db
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/config.db
linearstore: BDB1582 Open file handle:
/home/mmos/.qpidd/qls/dat2/exchanges.db
linearstore: BDB1582 Open file handle:
/home/mmos/.qpidd/qls/dat2/mappings.db
linearstore: BDB1582 Open file handle:
/home/mmos/.qpidd/qls/dat2/bindings.db
linearstore: BDB1582 Open file handle: /home/mmos/.qpidd/qls/dat2/general.db
linearstore: BDB1582 Open file handle:
/home/mmos/.qpidd/qls/dat2/log.0000000001
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
linearstore: BDB0060 PANIC: fatal region error detected; run recovery
2015-09-03 14:12:50 [Broker] notice Broker (pid=6278) shut-down
2015-09-03 14:12:50 [Broker] critical Unexpected error: Failed to start
broker: Multiple store plugins were loaded
(/home/mmos/qpid/qpid-cpp-0.34/src/qpid/broker/Broker.cpp:505)


=================================

./qpidd -p 5672 --config ../../etc/qpidd.conf --auth no --store-dir
~/qpid/qpid-cpp-0.34/build/src/linearstore.so

2015-09-03 14:09:26 [Broker] notice Broker (pid=6261) start-up
2015-09-03 14:09:26 [Store] error Linear Store: Journal Exception occurred
while initializing store: jexception 0x0308 jdir::exists() threw
JERR_JDIR_STAT: File stat failed.
(file="/home/mmos/qpid/qpid-cpp-0.34/build/src/linearstore.so/qls/dat2"
errno=20 (Not a directory))
2015-09-03 14:09:26 [Broker] critical Broker (pid=6261) start-up failed:
Journal Exception occurred while initializing store
(/home/mmos/qpid/qpid-cpp-0.34/src/qpid/linearstore/MessageStoreImpl.cpp:287):
jexception 0x0308 jdir::exists() threw JERR_JDIR_STAT: File stat failed.
(file="/home/mmos/qpid/qpid-cpp-0.34/build/src/linearstore.so/qls/dat2"
errno=20 (Not a directory))
2015-09-03 14:09:26 [Broker] notice Broker (pid=6261) shut-down
2015-09-03 14:09:26 [Broker] critical Unexpected error: Journal Exception
occurred while initializing store
(/home/mmos/qpid/qpid-cpp-0.34/src/qpid/linearstore/MessageStoreImpl.cpp:287):
jexception 0x0308 jdir::exists() threw JERR_JDIR_STAT: File stat failed.
(file="/home/mmos/qpid/qpid-cpp-0.34/build/src/linearstore.so/qls/dat2"
errno=20 (Not a directory))



On Thu, Sep 3, 2015 at 2:09 PM, Gordon Sim <g...@redhat.com> wrote:

> On 09/03/2015 07:43 PM, jjw tectec wrote:
>
>> Hello,
>>
>> I'm trying to make my qpid broker persistent, but have been getting some
>> issues.
>>
>> Below is my cmake output, which indicates Legacystore disabled and
>> Linearstore enabled. (I do see linearstore.so in the build/src folder by
>> the way.)
>> -- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
>> -- Looking for io_queue_init in aio
>> -- Looking for io_queue_init in aio - found
>> -- Looking for include file libaio.h
>> -- Looking for include file libaio.h - found
>> -- BerkeleyDB for C++ and libaio found, Legacystore support disabled by
>> default (deprecated, use linearstore instead).
>> -- Legacystore is excluded from build.
>> -- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
>> -- BerkeleyDB for C++ and libaio found, Linearstore support enabled.
>> -- Including BDB from /usr/include/db_cxx.h
>> -- Building linearstore tests
>>
>> When starting the broker, using the following command (with an empty
>> qpidd.conf):
>> ./qpidd -p 5672 --config ../../etc/qpidd.conf --auth no --storage-provider
>> ./linearstore.so
>>
>
> Try:
>
>  ./qpidd -p 5672 --auth no --load-module ./linearstore.so
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to