Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0971410089 for ; Mon, 15 Jul 2013 14:55:31 +0000 (UTC) Received: (qmail 50324 invoked by uid 500); 15 Jul 2013 14:55:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 50293 invoked by uid 500); 15 Jul 2013 14:55:30 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 50281 invoked by uid 99); 15 Jul 2013 14:55:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 14:55:29 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 14:55:25 +0000 Received: by mail-lb0-f175.google.com with SMTP id r10so9261663lbi.6 for ; Mon, 15 Jul 2013 07:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hOd8MkJYn/DYIhQtoSIIgvTEBmVqdqyjcSMCaBfChZA=; b=Y/v9woeQyR6UPXbUnngi329tPUw2Jj00A/RrUtTcKNBkYgB9/cN4kIeztF+ZAnODXM C7HMFcgv6bQK7m+WRGk2fRiWvh+EXBrRFj5qxcLR9zRMdRV11/eZGWPeJ4Uj25vbyOoa tPXf+QLBiOYn01EEg6JPI++6ImSKAYHNUF28YAOLdVcwAyfnS1Vvb5m/5JWc+qE1jRWc eJytc/yKRwwZYcL25CcbNNolxq/B959hIGz/TYKFETm7qU2R/YeBvDA/xvEZ77vG+N4p ceMxzIqWROsApdmFODHKG5A+5eL4UrK5lCaKuonFXJEgM9hRZo7Irlpp5jLPqV5vdERr Jwqw== MIME-Version: 1.0 X-Received: by 10.152.5.6 with SMTP id o6mr25185874lao.48.1373900104492; Mon, 15 Jul 2013 07:55:04 -0700 (PDT) Received: by 10.114.185.37 with HTTP; Mon, 15 Jul 2013 07:55:04 -0700 (PDT) In-Reply-To: <1373899860487-4669298.post@n4.nabble.com> References: <1373899860487-4669298.post@n4.nabble.com> Date: Mon, 15 Jul 2013 10:55:04 -0400 Message-ID: Subject: Re: Unable to start the Activemq From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e01419d1aaf707604e18e0b4c X-Virus-Checked: Checked by ClamAV on apache.org --089e01419d1aaf707604e18e0b4c Content-Type: text/plain; charset=ISO-8859-1 Check the permissions the user has for accessing (writing) the log files. On Mon, Jul 15, 2013 at 10:51 AM, VJ_2523 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.(FileOutputStream.java:192) > at java.io.FileOutputStream.(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.(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 --089e01419d1aaf707604e18e0b4c--