Hi I am new to activeMQ. I downloaded activeMQ 5.9.0 and installed as per instructions. However, when I test it with netstat command it does not show it is working. I would appreciate if someone could tell me what I am doing wrong. I will post a typescript below FYI.
===== [wathugala@hector apache-activemq-5.9.0]$ script activeMQ_installation Script started, file is activeMQ_installation [wathugala@hector apache-activemq-5.9.0]$ ls -l total 9968 -rwxr-xr-x 1 wathugala acta 10105484 Oct 14 15:53 activemq-all-5.9.0.jar -rw-r--r-- 1 wathugala acta 0 Jan 27 13:03 activeMQ_installation drwxr-xr-x 5 wathugala acta 4096 Jan 24 13:49 bin drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 conf drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 data drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 docs drwxr-xr-x 8 wathugala acta 4096 Jan 24 13:49 examples drwxr-xr-x 6 wathugala acta 4096 Jan 24 13:49 lib -rw-r--r-- 1 wathugala acta 40580 Oct 14 16:03 LICENSE -rw-r--r-- 1 wathugala acta 3334 Oct 14 16:03 NOTICE -rw-r--r-- 1 wathugala acta 2610 Oct 14 16:03 README.txt drwxr-xr-x 8 wathugala acta 4096 Jan 24 13:49 webapps drwxr-xr-x 3 wathugala acta 4096 Jan 24 13:49 webapps-demo [wathugala@hector apache-activemq-5.9.0]$ java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) [wathugala@hector apache-activemq-5.9.0]$ ls -l bin total 156 -rwxr-xr-x 1 wathugala acta 22287 Oct 14 16:03 activemq -rwxr-xr-x 1 wathugala acta 5748 Oct 14 16:03 activemq-admin -rw-r--r-- 1 wathugala acta 16110 Oct 14 15:56 activemq.jar -rwxr-xr-x 1 wathugala acta 6189 Oct 14 16:03 diag drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 linux-x86-32 drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 linux-x86-64 drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 macosx -rwxr-xr-x 1 wathugala acta 83820 Oct 14 15:41 wrapper.jar [wathugala@hector apache-activemq-5.9.0]$ bin/activemq INFO: Using default configuration (you can configure options in one of these file: /etc/default/activemq /home/wathugala/.activemqrc) INFO: Invoke the following command to create a configuration file bin/activemq setup [ /etc/default/activemq | /home/wathugala/.activemqrc ] INFO: Using java '/usr/bin/java' Java Runtime: Sun Microsystems Inc. 1.6.0_24 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Heap sizes: current=1004928k free=999683k max=1004928k JVM args: -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=/home/wathugala/apache-activemq-5.9.0/conf/login.config -Dactivemq.classpath=/home/wathugala/apache-activemq-5.9.0/conf; -Dactivemq.home=/home/wathugala/apache-activemq-5.9.0 -Dactivemq.base=/home/wathugala/apache-activemq-5.9.0 -Dactivemq.conf=/home/wathugala/apache-activemq-5.9.0/conf -Dactivemq.data=/home/wathugala/apache-activemq-5.9.0/data Extensions classpath: [/home/wathugala/apache-activemq-5.9.0/lib,/home/wathugala/apache-activemq-5.9.0/lib/camel,/home/wathugala/apache-activemq-5.9.0/lib/optional,/home/wathugala/apache-activemq-5.9.0/lib/web,/home/wathugala/apache-activemq-5.9.0/lib/extra] ACTIVEMQ_HOME: /home/wathugala/apache-activemq-5.9.0 ACTIVEMQ_BASE: /home/wathugala/apache-activemq-5.9.0 ACTIVEMQ_CONF: /home/wathugala/apache-activemq-5.9.0/conf ACTIVEMQ_DATA: /home/wathugala/apache-activemq-5.9.0/data Usage: Main [--extdir <dir>] [task] [task-options] [task data] Tasks: browse - Display selected messages in a specified destination. bstat - Performs a predefined query that displays useful statistics regarding the specified broker create - Creates a runnable broker instance in the specified path. decrypt - Decrypts given text dstat - Performs a predefined query that displays useful tabular statistics regarding the specified destination type encrypt - Encrypts given text export - Exports a stopped brokers data files to an archive file list - Lists all available brokers in the specified JMX context purge - Delete selected destination's messages that matches the message selector query - Display selected broker component's attributes and statistics. start - Creates and starts a broker using a configuration file, or a broker URI. stop - Stops a running broker specified by the broker name. 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 /home/wathugala/.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. [wathugala@hector apache-activemq-5.9.0]$ cd bin [wathugala@hector bin]$ chmod 755 activemq [wathugala@hector bin]$ ls -l total 156 -rwxr-xr-x 1 wathugala acta 22287 Oct 14 16:03 activemq -rwxr-xr-x 1 wathugala acta 5748 Oct 14 16:03 activemq-admin -rw-r--r-- 1 wathugala acta 16110 Oct 14 15:56 activemq.jar -rwxr-xr-x 1 wathugala acta 6189 Oct 14 16:03 diag drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 linux-x86-32 drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 linux-x86-64 drwxr-xr-x 2 wathugala acta 4096 Jan 24 13:49 macosx -rwxr-xr-x 1 wathugala acta 83820 Oct 14 15:41 wrapper.jar [wathugala@hector bin]$ cd .. [wathugala@hector apache-activemq-5.9.0]$ netstat -an|grep 61616 [wathugala@hector apache-activemq-5.9.0]$ exit exit Script done, file is activeMQ_installation -- View this message in context: http://activemq.2283324.n4.nabble.com/installing-activeMQ-in-linux-computer-tp4676858.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.