rocketmq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kailai Shao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ROCKETMQ-31) Deletion needed for `$HOME/rmq_bk_gc.log` in `bin/mqbroker`
Date Thu, 05 Jan 2017 10:36:58 GMT
Kailai Shao created ROCKETMQ-31:
-----------------------------------

             Summary: 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:

```
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.







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message