You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Sean Beck <se...@gmail.com> on 2013/06/25 19:38:57 UTC

ActiveMQ won't start

I'm trying to run activemq on a new machine. I installed the binary and am
starting it with bin/activemq start

It gives the following output:

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
bin/activemq setup [ /etc/default/activemq | /root/.activemqrc ]

INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and
log4j.properties to get details
INFO: pidfile created :
'/root/apache-activemq-5.8.0/data/activemq-DS2C6B.dscapture.net.pid' (pid
'27308')


But then I search the process list for it and it isn't running. What am I
missing? I got it to run with this on another machine. Also, is there a way
to change what java exec it uses?

Thanks

Re: ActiveMQ won't start

Posted by Sean Beck <se...@gmail.com>.
Just so everyone knows I figured it out. Instead of setting JAVA_HOME which
it seemed to be ignoring, I set JAVACMD equal to the path to my jre rather
than "auto"

Re: ActiveMQ won't start

Posted by Sean Beck <se...@gmail.com>.
Even though I commented out JAVACMD in the config file and am using
JAVA_HOME it still continues to autodetect and use /usr/bin/java which I
don't want either

Re: ActiveMQ won't start

Posted by Sean Beck <se...@gmail.com>.
Outputs this:

INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop
process by pressing CTRL+C)
Can't start up: not enough memory

Re: ActiveMQ won't start

Posted by Christian Posta <ch...@gmail.com>.
what happens when you try ./bin/activemq console


On Tue, Jun 25, 2013 at 11:13 AM, Sean Beck <se...@gmail.com> wrote:

> I checked the log file and it is empty.
>
> I went into my configuration as well and set JAVA_HOME to
> /opt/jdk1.7.0_25/jre/bin/java which is where java is installed and it
> didn't change anything either.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: ActiveMQ won't start

Posted by Sean Beck <se...@gmail.com>.
I checked the log file and it is empty.

I went into my configuration as well and set JAVA_HOME to
/opt/jdk1.7.0_25/jre/bin/java which is where java is installed and it
didn't change anything either.

Re: ActiveMQ won't start

Posted by Christian Posta <ch...@gmail.com>.
set JAVA_HOME for the jvm to use...
what do you see in the $ACTIVEMQ_HOME/data/activemq.log file?


On Tue, Jun 25, 2013 at 10:38 AM, Sean Beck <se...@gmail.com> wrote:

> I'm trying to run activemq on a new machine. I installed the binary and am
> starting it with bin/activemq start
>
> It gives the following output:
>
> 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
> bin/activemq setup [ /etc/default/activemq | /root/.activemqrc ]
>
> INFO: Using java '/usr/bin/java'
> INFO: Starting - inspect logfiles specified in logging.properties and
> log4j.properties to get details
> INFO: pidfile created :
> '/root/apache-activemq-5.8.0/data/activemq-DS2C6B.dscapture.net.pid' (pid
> '27308')
>
>
> But then I search the process list for it and it isn't running. What am I
> missing? I got it to run with this on another machine. Also, is there a way
> to change what java exec it uses?
>
> Thanks
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta