You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Armin Noll (JIRA)" <qp...@incubator.apache.org> on 2010/01/04 10:54:54 UTC

[jira] Updated: (QPID-2304) C++ broker produces error message when started as deamon

     [ https://issues.apache.org/jira/browse/QPID-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Armin Noll updated QPID-2304:
-----------------------------

    Description: 
We start the C++ broker with the following configuration:
log-enable=info+
log-to-file=/var/lib/qpidd/op_prod09/data/10199/qpidd.log
log-to-syslog=no
auth=yes
acl-file=qpidd.acl
realm=QPID10199
data-dir=/var/lib/qpidd/op_prod09/data/10199
pid-dir=/var/lib/qpidd/op_prod09/data/10199
port=10199
wait=30
num-jfiles=4
jfile-size-pgs=1
wcache-page-size=128
tpl-num-jfiles=4
tpl-jfile-size-pgs=1
tpl-wcache-page-size=128
cluster-name=QPID10199
cluster-url=amqp:tcp:<...>:10199
cluster-username=<...>
cluster-password=<...>
# <...> is here just as placeholder 

When the broker is started as deamon it produces the following message in the log file qpidd.log:
critical Broker start-up failed: Cannot open /var/lib/qpidd/op_prod09/data/10199/qpidd.10199.pid: No such file or directory

But the file is created and the broker starts without further problems.


The problem has also been reported as service request no 1981248 at Red Hat's support system.


Armin Noll, 04-JAN-2009:
Hello,

I discovered that the error message was caused by a "qpidd -c" call in my shell script with which I wanted to check whether the broker is running.

Sorry for inconvenience, the issuet can be closed.

Armin

  was:
We start the C++ broker with the following configuration:
log-enable=info+
log-to-file=/var/lib/qpidd/op_prod09/data/10199/qpidd.log
log-to-syslog=no
auth=yes
acl-file=qpidd.acl
realm=QPID10199
data-dir=/var/lib/qpidd/op_prod09/data/10199
pid-dir=/var/lib/qpidd/op_prod09/data/10199
port=10199
wait=30
num-jfiles=4
jfile-size-pgs=1
wcache-page-size=128
tpl-num-jfiles=4
tpl-jfile-size-pgs=1
tpl-wcache-page-size=128
cluster-name=QPID10199
cluster-url=amqp:tcp:<...>:10199
cluster-username=<...>
cluster-password=<...>
# <...> is here just as placeholder 

When the broker is started as deamon it produces the following message in the log file qpidd.log:
critical Broker start-up failed: Cannot open /var/lib/qpidd/op_prod09/data/10199/qpidd.10199.pid: No such file or directory

But the file is created and the broker starts without further problems.


The problem has also been reported as service request no 1981248 at Red Hat's support system.


> C++ broker produces error message when started as deamon
> --------------------------------------------------------
>
>                 Key: QPID-2304
>                 URL: https://issues.apache.org/jira/browse/QPID-2304
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.5
>         Environment: Red Hat Enterprise MRG 1.2
>            Reporter: Armin Noll
>            Priority: Minor
>
> We start the C++ broker with the following configuration:
> log-enable=info+
> log-to-file=/var/lib/qpidd/op_prod09/data/10199/qpidd.log
> log-to-syslog=no
> auth=yes
> acl-file=qpidd.acl
> realm=QPID10199
> data-dir=/var/lib/qpidd/op_prod09/data/10199
> pid-dir=/var/lib/qpidd/op_prod09/data/10199
> port=10199
> wait=30
> num-jfiles=4
> jfile-size-pgs=1
> wcache-page-size=128
> tpl-num-jfiles=4
> tpl-jfile-size-pgs=1
> tpl-wcache-page-size=128
> cluster-name=QPID10199
> cluster-url=amqp:tcp:<...>:10199
> cluster-username=<...>
> cluster-password=<...>
> # <...> is here just as placeholder 
> When the broker is started as deamon it produces the following message in the log file qpidd.log:
> critical Broker start-up failed: Cannot open /var/lib/qpidd/op_prod09/data/10199/qpidd.10199.pid: No such file or directory
> But the file is created and the broker starts without further problems.
> The problem has also been reported as service request no 1981248 at Red Hat's support system.
> Armin Noll, 04-JAN-2009:
> Hello,
> I discovered that the error message was caused by a "qpidd -c" call in my shell script with which I wanted to check whether the broker is running.
> Sorry for inconvenience, the issuet can be closed.
> Armin

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org