activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Unable to start the Activemq
Date Mon, 15 Jul 2013 14:55:04 GMT
Check the permissions the user has for accessing (writing) the log files.


On Mon, Jul 15, 2013 at 10:51 AM, VJ_2523 <v.yeruva@gmail.com> wrote:

> We have installed Active MQ version 4.1.2 back in Oct-2012 and we got it
> working fine for  about couple of months for a POC.
>
> We are now trying to bring up the Activemq back up and running after a gap
> of 8 months. For some reason I am hitting the below error
>
> [cdcpoc@devdi01 bin]$ pwd
> /app01/bodi/apachemq/apache-activemq-4.1.2/bin
> [cdcpoc@devdi01 bin]$ ./activemq start
> ACTIVEMQ_HOME: /app01/bodi/apachemq/apache-activemq-4.1.2
> ACTIVEMQ_BASE: /app01/bodi/apachemq/apache-activemq-4.1.2
> Loading message broker from: xbean:activemq.xml
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException:
> /app01/bodi/apachemq/apache-activemq-4.1.2/activemq-data/activemq.log
> (*Permission denied*)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:192)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>         at
> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
>         at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>         at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>         at
>
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
>         at
>
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
>         at
>
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
>         at
>
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>         at
>
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>         at
>
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>         at
>
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
>         at
>
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>
>
>
> Can you please let me know if there is anything that I am missing to bring
> this service back up and running ? Thank you.
>
> Regards,
> Vijay
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Unable-to-start-the-Activemq-tp4669298.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message