You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by user2013 <mo...@yahoo.com> on 2013/03/13 10:28:20 UTC

Error During Installation Active MQ in Linux my terminal commads pasted

hi,
i am installing Active MQ i have java version 7 my terminal work is as
under,
*
[root@localhost bin]# '/apache-activemq-5.7.0/bin/activemq' 
INFO: Using default configuration
(you can configure options in one of these file: /etc/default/activemq
/root/.activemqrc)

INFO: Invoke the following command to create a configuration file
/apache-activemq-5.7.0/bin/activemq setup [ /etc/default/activemq |
/root/.activemqrc ]

INFO: Using java '/usr/bin/java'
Java Runtime: Oracle Corporation 1.7.0_17 /usr/java/jdk1.7.0_17/jre
  Heap sizes: current=1013632k  free=1008039k  max=1013632k
    JVM args: -Xms1G -Xmx1G
-Djava.util.logging.config.file=logging.properties
-Dactivemq.classpath=/apache-activemq-5.7.0/conf;
-Dactivemq.home=/apache-activemq-5.7.0
-Dactivemq.base=/apache-activemq-5.7.0
-Dactivemq.conf=/apache-activemq-5.7.0/conf
-Dactivemq.data=/apache-activemq-5.7.0/data
Extensions classpath:
 
[/apache-activemq-5.7.0/lib,/apache-activemq-5.7.0/lib/camel,/apache-activemq-5.7.0/lib/optional,/apache-activemq-5.7.0/lib/web,/apache-activemq-5.7.0/lib/extra]
ACTIVEMQ_HOME: /apache-activemq-5.7.0
ACTIVEMQ_BASE: /apache-activemq-5.7.0
ACTIVEMQ_CONF: /apache-activemq-5.7.0/conf
ACTIVEMQ_DATA: /apache-activemq-5.7.0/data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]

Tasks:
    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 <dir>  - 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.

JMX system property options:
    -Dactivemq.jmx.url=<jmx service uri> (default is:
'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
    -Dactivemq.jmx.user=<user name>
    -Dactivemq.jmx.password=<password>


Tasks provided by the sysv init script:
    restart         - stop running instance (if 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 /root/.activemqrc.
    To use additional configurations for running multiple instances on the
same operating system
    rename or symlink script to a name matching to
activemq-instance-<INSTANCENAME>.
    This changes the configuration location to
/etc/default/activemq-instance-<INSTANCENAME> and
    $HOME/.activemqrc-instance-<INSTANCENAME>. Configuration files in /etc
have higher precedence.
[root@localhost bin]# '/apache-activemq-5.7.0/bin/linux-x86-32/activemq' 
Usage: /apache-activemq-5.7.0/bin/linux-x86-32/activemq { console | start |
stop | restart | status | dump }
[root@localhost bin]# '/apache-activemq-5.7.0/bin/linux-x86-32/activemq' 
start
Starting ActiveMQ Broker...
[root@localhost bin]# netstat -an|grep 61616
[root@localhost bin]# 

*

what's wrong is going on, Hopes for your suggestion

Thanks 



--
View this message in context: http://activemq.2283324.n4.nabble.com/Error-During-Installation-Active-MQ-in-Linux-my-terminal-commads-pasted-tp4664661.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Error During Installation Active MQ in Linux my terminal commads pasted

Posted by Johan Edstrom <se...@gmail.com>.
Check the log?

On Mar 13, 2013, at 3:28, user2013 <mo...@yahoo.com> wrote:

> hi,
> i am installing Active MQ i have java version 7 my terminal work is as
> under,
> *
> [root@localhost bin]# '/apache-activemq-5.7.0/bin/activemq' 
> INFO: Using default configuration
> (you can configure options in one of these file: /etc/default/activemq
> /root/.activemqrc)
> 
> INFO: Invoke the following command to create a configuration file
> /apache-activemq-5.7.0/bin/activemq setup [ /etc/default/activemq |
> /root/.activemqrc ]
> 
> INFO: Using java '/usr/bin/java'
> Java Runtime: Oracle Corporation 1.7.0_17 /usr/java/jdk1.7.0_17/jre
>  Heap sizes: current=1013632k  free=1008039k  max=1013632k
>    JVM args: -Xms1G -Xmx1G
> -Djava.util.logging.config.file=logging.properties
> -Dactivemq.classpath=/apache-activemq-5.7.0/conf;
> -Dactivemq.home=/apache-activemq-5.7.0
> -Dactivemq.base=/apache-activemq-5.7.0
> -Dactivemq.conf=/apache-activemq-5.7.0/conf
> -Dactivemq.data=/apache-activemq-5.7.0/data
> Extensions classpath:
> 
> [/apache-activemq-5.7.0/lib,/apache-activemq-5.7.0/lib/camel,/apache-activemq-5.7.0/lib/optional,/apache-activemq-5.7.0/lib/web,/apache-activemq-5.7.0/lib/extra]
> ACTIVEMQ_HOME: /apache-activemq-5.7.0
> ACTIVEMQ_BASE: /apache-activemq-5.7.0
> ACTIVEMQ_CONF: /apache-activemq-5.7.0/conf
> ACTIVEMQ_DATA: /apache-activemq-5.7.0/data
> Usage: Main [--extdir <dir>] [task] [task-options] [task data]
> 
> Tasks:
>    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 <dir>  - 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.
> 
> JMX system property options:
>    -Dactivemq.jmx.url=<jmx service uri> (default is:
> 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
>    -Dactivemq.jmx.user=<user name>
>    -Dactivemq.jmx.password=<password>
> 
> 
> Tasks provided by the sysv init script:
>    restart         - stop running instance (if 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 /root/.activemqrc.
>    To use additional configurations for running multiple instances on the
> same operating system
>    rename or symlink script to a name matching to
> activemq-instance-<INSTANCENAME>.
>    This changes the configuration location to
> /etc/default/activemq-instance-<INSTANCENAME> and
>    $HOME/.activemqrc-instance-<INSTANCENAME>. Configuration files in /etc
> have higher precedence.
> [root@localhost bin]# '/apache-activemq-5.7.0/bin/linux-x86-32/activemq' 
> Usage: /apache-activemq-5.7.0/bin/linux-x86-32/activemq { console | start |
> stop | restart | status | dump }
> [root@localhost bin]# '/apache-activemq-5.7.0/bin/linux-x86-32/activemq' 
> start
> Starting ActiveMQ Broker...
> [root@localhost bin]# netstat -an|grep 61616
> [root@localhost bin]# 
> 
> *
> 
> what's wrong is going on, Hopes for your suggestion
> 
> Thanks 
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Error-During-Installation-Active-MQ-in-Linux-my-terminal-commads-pasted-tp4664661.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Error During Installation Active MQ in Linux my terminal commads pasted

Posted by user2013 <mo...@yahoo.com>.
I have found the solution i have started the same installation fron /opt
location !



--
View this message in context: http://activemq.2283324.n4.nabble.com/Error-During-Installation-Active-MQ-in-Linux-my-terminal-commads-pasted-tp4664661p4664662.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.