You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Andrea Gazzarini <a....@gmail.com> on 2008/10/23 12:25:08 UTC

Qpid c++ startup problems

Hi all, I'm writing "online" test cases for QMan. That means that QMan &
(C++) broker must be running and up in order to run those tests.
Now, I have a startup problem with 705855 build but I don't know what could
be the reason of the failure.
Note that the svn update & build process were successfully executed.
These are startup messages  (qpid.log) :

2008-oct-22 19:24:28 info Loaded Module:
/usr/local/lib/qpid/daemon/cluster.so
2008-oct-22 19:24:28 info Loaded Module: /usr/local/lib/qpid/daemon/acl.so
2008-oct-22 19:24:28 info Loaded Module: /usr/local/lib/qpid/daemon/ssl.so
2008-oct-22 19:24:28 info Management enabled
2008-oct-22 19:24:28 debug ManagementBroker restored broker ID:
9f10fdee-e907-4d52-9174-27af021b4762
2008-oct-22 19:24:28 debug ManagementBroker boot sequence: 6
2008-oct-22 19:24:28 debug ManagementBroker added package
org.apache.qpid.broker
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:system
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:broker
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:agent
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:vhost
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:queue
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:exchange
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:binding
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:connection
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:link
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:bridge
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:session
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:clientConnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:clientDisconnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:agentConnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:agentDisconnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:brokerConnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:brokerDisconnect
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:queueDeclare
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:queueDelete
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:exchangeDeclare
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:exchangeDelete
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:bind
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:unbind
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:subscribe
2008-oct-22 19:24:28 debug ManagementBroker added class
org.apache.qpid.broker:unsubscribe
2008-oct-22 19:24:28 info Persistence not enabled, no recovery attempted.
2008-oct-22 19:24:28 info Exchange'amq.direct' will not be durable.
Persistence not enabled.
2008-oct-22 19:24:28 info Exchange'amq.topic' will not be durable.
Persistence not enabled.
2008-oct-22 19:24:28 info Exchange'amq.fanout' will not be durable.
Persistence not enabled.
2008-oct-22 19:24:28 info Exchange'amq.match' will not be durable.
Persistence not enabled.
2008-oct-22 19:24:28 info Listening on TCP port 5672
2008-oct-22 19:24:28 info ACL Disabled, no ACL checking being done.
2008-oct-22 19:24:28 debug Exception constructed: Failed: Security library:
bad database. [-8174] (qpid/sys/ssl/util.cpp:102)

Could someone help me?

Thanks in advance.

Regards,
Andrea

Re: Qpid c++ startup problems

Posted by Gordon Sim <gs...@redhat.com>.
Andrea Gazzarini wrote:
> Hi all, I'm writing "online" test cases for QMan. That means that QMan &
> (C++) broker must be running and up in order to run those tests.
> Now, I have a startup problem with 705855 build but I don't know what could
> be the reason of the failure.
> Note that the svn update & build process were successfully executed.
> These are startup messages  (qpid.log) :

> 2008-oct-22 19:24:28 debug Exception constructed: Failed: Security library:
> bad database. [-8174] (qpid/sys/ssl/util.cpp:102)

This should now be fixed so you could either

*rebuild the latest
* or disable the ssl module (--no-module-dir to qpidd is simplest way to 
do that)
* or point it at a valid db e.g. 
--ssl-cert-db=/path/to/qpid/cpp/src/tests/test_cert_db (assuming you ran 
make check at some point).

Re: Qpid c++ startup problems

Posted by Andrea Gazzarini <a....@gmail.com>.
Hi Gordon & Arnaud,thanks for reply and support...now it's working!

Regards,
Andrea

2008/10/23 Arnaud Simon <as...@redhat.com>

> Hi Andrea
>
> Your security db is not properly configure. You can disable security, you
> can try to use the option --auth no
>
> Arnaud
>
> ----- "Andrea Gazzarini" <a....@gmail.com> wrote:
>
> > Hi all, I'm writing "online" test cases for QMan. That means that QMan
> > &
> > (C++) broker must be running and up in order to run those tests.
> > Now, I have a startup problem with 705855 build but I don't know what
> > could
> > be the reason of the failure.
> > Note that the svn update & build process were successfully executed.
> > These are startup messages  (qpid.log) :
> >
> > 2008-oct-22 19:24:28 info Loaded Module:
> > /usr/local/lib/qpid/daemon/cluster.so
> > 2008-oct-22 19:24:28 info Loaded Module:
> > /usr/local/lib/qpid/daemon/acl.so
> > 2008-oct-22 19:24:28 info Loaded Module:
> > /usr/local/lib/qpid/daemon/ssl.so
> > 2008-oct-22 19:24:28 info Management enabled
> > 2008-oct-22 19:24:28 debug ManagementBroker restored broker ID:
> > 9f10fdee-e907-4d52-9174-27af021b4762
> > 2008-oct-22 19:24:28 debug ManagementBroker boot sequence: 6
> > 2008-oct-22 19:24:28 debug ManagementBroker added package
> > org.apache.qpid.broker
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:system
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:broker
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:agent
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:vhost
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:queue
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:exchange
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:binding
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:connection
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:link
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:bridge
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:session
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:clientConnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:clientDisconnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:agentConnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:agentDisconnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:brokerConnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:brokerDisconnect
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:queueDeclare
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:queueDelete
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:exchangeDeclare
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:exchangeDelete
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:bind
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:unbind
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:subscribe
> > 2008-oct-22 19:24:28 debug ManagementBroker added class
> > org.apache.qpid.broker:unsubscribe
> > 2008-oct-22 19:24:28 info Persistence not enabled, no recovery
> > attempted.
> > 2008-oct-22 19:24:28 info Exchange'amq.direct' will not be durable.
> > Persistence not enabled.
> > 2008-oct-22 19:24:28 info Exchange'amq.topic' will not be durable.
> > Persistence not enabled.
> > 2008-oct-22 19:24:28 info Exchange'amq.fanout' will not be durable.
> > Persistence not enabled.
> > 2008-oct-22 19:24:28 info Exchange'amq.match' will not be durable.
> > Persistence not enabled.
> > 2008-oct-22 19:24:28 info Listening on TCP port 5672
> > 2008-oct-22 19:24:28 info ACL Disabled, no ACL checking being done.
> > 2008-oct-22 19:24:28 debug Exception constructed: Failed: Security
> > library:
> > bad database. [-8174] (qpid/sys/ssl/util.cpp:102)
> >
> > Could someone help me?
> >
> > Thanks in advance.
> >
> > Regards,
> > Andrea
>

Re: Qpid c++ startup problems

Posted by Arnaud Simon <as...@redhat.com>.
Hi Andrea

Your security db is not properly configure. You can disable security, you can try to use the option --auth no 

Arnaud

----- "Andrea Gazzarini" <a....@gmail.com> wrote:

> Hi all, I'm writing "online" test cases for QMan. That means that QMan
> &
> (C++) broker must be running and up in order to run those tests.
> Now, I have a startup problem with 705855 build but I don't know what
> could
> be the reason of the failure.
> Note that the svn update & build process were successfully executed.
> These are startup messages  (qpid.log) :
> 
> 2008-oct-22 19:24:28 info Loaded Module:
> /usr/local/lib/qpid/daemon/cluster.so
> 2008-oct-22 19:24:28 info Loaded Module:
> /usr/local/lib/qpid/daemon/acl.so
> 2008-oct-22 19:24:28 info Loaded Module:
> /usr/local/lib/qpid/daemon/ssl.so
> 2008-oct-22 19:24:28 info Management enabled
> 2008-oct-22 19:24:28 debug ManagementBroker restored broker ID:
> 9f10fdee-e907-4d52-9174-27af021b4762
> 2008-oct-22 19:24:28 debug ManagementBroker boot sequence: 6
> 2008-oct-22 19:24:28 debug ManagementBroker added package
> org.apache.qpid.broker
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:system
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:broker
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:agent
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:vhost
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:queue
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:exchange
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:binding
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:connection
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:link
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:bridge
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:session
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:clientConnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:clientDisconnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:agentConnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:agentDisconnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:brokerConnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:brokerDisconnect
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:queueDeclare
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:queueDelete
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:exchangeDeclare
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:exchangeDelete
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:bind
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:unbind
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:subscribe
> 2008-oct-22 19:24:28 debug ManagementBroker added class
> org.apache.qpid.broker:unsubscribe
> 2008-oct-22 19:24:28 info Persistence not enabled, no recovery
> attempted.
> 2008-oct-22 19:24:28 info Exchange'amq.direct' will not be durable.
> Persistence not enabled.
> 2008-oct-22 19:24:28 info Exchange'amq.topic' will not be durable.
> Persistence not enabled.
> 2008-oct-22 19:24:28 info Exchange'amq.fanout' will not be durable.
> Persistence not enabled.
> 2008-oct-22 19:24:28 info Exchange'amq.match' will not be durable.
> Persistence not enabled.
> 2008-oct-22 19:24:28 info Listening on TCP port 5672
> 2008-oct-22 19:24:28 info ACL Disabled, no ACL checking being done.
> 2008-oct-22 19:24:28 debug Exception constructed: Failed: Security
> library:
> bad database. [-8174] (qpid/sys/ssl/util.cpp:102)
> 
> Could someone help me?
> 
> Thanks in advance.
> 
> Regards,
> Andrea