You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by spandit <ss...@yahoo.com> on 2011/03/09 21:26:40 UTC

activemq fails to start on RedHat linux

Downloaded the latest distribution (apache-activemq-5.4.2-bin.tar.gz)
unzipped and extracted in my home directory
OS: Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga)

when I run bin/activemq , I get following message.


-bash-3.2$ bin/activemq
INFO: Loading '/home/spandit/.activemqrc'
INFO: Using java '/prod/Java/bin/jdk1.6/bin/java'
Java Runtime: Sun Microsystems Inc. 1.6.0_20 /prod/Java/bin/jdk1.6.0_20/jre
  Heap sizes: current=60608k  free=59970k  max=899328k
    JVM args: -Dactivemq.classpath=/home/spandit/apache-activemq-5.4.2/conf;
-Dactivemq.home=/home/spandit/apache-active
mq-5.4.2 -Dactivemq.base=/home/spandit/apache-activemq-5.4.2
ACTIVEMQ_HOME: /home/spandit/apache-activemq-5.4.2
ACTIVEMQ_BASE: /home/spandit/apache-activemq-5.4.2
Usage: Main [--extdir &lt;dir&gt;] [task] [task-options] [task data]

Tasks (default task is start):
    start           - Creates and starts a broker using a configuration
file, or a broker URI.
    create          - Creates a runnable broker instance in the specified
path
    stop            - Stops a running broker specified by the broker name.
    list            - Lists all available brokers in the specified JMX
context.
    query           - Display selected broker component's attributes and
statistics.
    browse          - Display selected messages in a specified destination.
    journal-audit   - Allows you to view records stored in the persistent
journal.
    purge           - Delete selected destination's messages that matches
the message selector
    encrypt         - Encrypts given text
    decrypt         - Decrypts given text

Task Options (Options specific to each task):
    --extdir   - Add the jar files in the directory to the classpath.
    --version       - Display the version information.
    -h,-?,--help    - Display this help information. To display task
specific help, use Main [task] -h,-?,--help

Task Data:
    - Information needed by each specific task.


Tasks provided by the sysv init script:
    restart         - stop running instance (is there is one), start new
instance
    console         - start broker in foreground, useful for debugging
purposes
    status          - check if activemq process is running
    setup           - create the specified configuration file for this init
script
                      (see next usage section)

Configuration of this script:
    The configuration of this script can be placed on /etc/default/activemq
or /home/spandit/.activemqrc.
    To use addtional configurations for running multiple instances on the
same operating system
    rename or symlink script to a name matching to activemq-instance-.
    This changes the configuration location to
/etc/default/activemq-instance- and
    $HOME/.activemqrc-instance-. Configuration files in /etc have higher
precedence.
-bash-3.2$


Appreciate any help you can provide.


--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-fails-to-start-on-RedHat-linux-tp3344481p3344481.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: activemq fails to start on RedHat linux

Posted by spandit <ss...@yahoo.com>.
Found the problem.
This version has updated command
(http://activemq.apache.org/unix-shell-script.html)
following command worked:
bin/activemq start


--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-fails-to-start-on-RedHat-linux-tp3344481p3348617.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.