Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-31

Deletion needed for `$HOME/rmq_bk_gc.log` in `bin/mqbroker`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-incubating
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vongosling Von Gosling
              kailai Kailai Shao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: