activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kiterunner_t (JIRA)" <>
Subject [jira] [Created] (AMQ-6490) apache-activemq-5.14.1 shell script bug
Date Tue, 01 Nov 2016 01:45:58 GMT
kiterunner_t created AMQ-6490:

             Summary: apache-activemq-5.14.1 shell script bug
                 Key: AMQ-6490
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.14.1
            Reporter: kiterunner_t

in apache-activemq-5.14.1 version, your start script named activemq in Linux have two issues:

1) in function getActiveMQHome, 
    echo "$REAL_DIR/"
will get a path just like 'a//b'.

2) when you use a normal username to run this script, $EXEC_OPTION $DOIT_PREFIX will be empty.

and by the way, when you use sudo command or root to run this script, you will encounter error
"-su: 3: cannot create /home/krt/work/debian-work-dir/mq/activemq/apache-activemq-5.14.1//data/
Permission denied". 

maybe, I should create a new user named activemq to start the activemq, but in your get starting
page, you just said, "./activemq start".

This message was sent by Atlassian JIRA

View raw message