You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Kailai Shao (JIRA)" <ji...@apache.org> on 2017/01/05 10:42:58 UTC
[jira] [Updated] (ROCKETMQ-31) Deletion needed for
`$HOME/rmq_bk_gc.log` in `bin/mqbroker`
[ https://issues.apache.org/jira/browse/ROCKETMQ-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kailai Shao updated ROCKETMQ-31:
--------------------------------
Description:
Going through "Quick Start" manual, I got warning message when I start {{bin/mqbroker}} as below:
{code}
cp: /Users/kailai/rmq_bk_gc.log: No such file or directory
{code}
The error is caused by the following code in {{bin/mqbroker}}:
{code}
rm -f $HOME/rmq_bk_gc.log.bac
cp $HOME/rmq_bk_gc.log $HOME/rmq_bk_gc.log.bac
{code}
Since the GC log has been set to {{/dev/shm/mq_gc_%p.log}} due to {{bin/runbroker.sh}} Line 41, the operation for {{$HOME/rmq_bk_gc.log}} in {{bin/mqbroker}} should be deleted.
was:
Going through "Quick Start" manual, I got warning message when I start `bin/mqbroker` as below:
```
cp: /Users/kailai/rmq_bk_gc.log: No such file or directory
```
The error is caused by the following code in `bin/mqbroker`:
```
rm -f $HOME/rmq_bk_gc.log.bac
cp $HOME/rmq_bk_gc.log $HOME/rmq_bk_gc.log.bac
```
Since the GC log has been set to `/dev/shm/mq_gc_%p.log` due to `bin/runbroker.sh` Line 41, the operation for `$HOME/rmq_bk_gc.log` in `bin/mqbroker` should be deleted.
> Deletion needed for `$HOME/rmq_bk_gc.log` in `bin/mqbroker`
> -----------------------------------------------------------
>
> Key: ROCKETMQ-31
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-31
> Project: Apache RocketMQ
> Issue Type: Bug
> Reporter: Kailai Shao
> Assignee: vongosling
>
> Going through "Quick Start" manual, I got warning message when I start {{bin/mqbroker}} as below:
> {code}
> cp: /Users/kailai/rmq_bk_gc.log: No such file or directory
> {code}
> The error is caused by the following code in {{bin/mqbroker}}:
> {code}
> rm -f $HOME/rmq_bk_gc.log.bac
> cp $HOME/rmq_bk_gc.log $HOME/rmq_bk_gc.log.bac
> {code}
> Since the GC log has been set to {{/dev/shm/mq_gc_%p.log}} due to {{bin/runbroker.sh}} Line 41, the operation for {{$HOME/rmq_bk_gc.log}} in {{bin/mqbroker}} should be deleted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)