are the two brokers running under the same user id?

On 13 May 2013 22:49, bala_82 <balachanda...@gmail.com> wrote:
> Hi,
>
> I am using activemq 5.7 running on Linux with JDK 1.6 for setting up a
> shared file system master slave broker.
>
> There are two activemq nodes which access a NFSV4 shared file system for
> storage.
>
> Initially , i can start one of the nodes as the master and it gets the
> Kahadb lock. After this, i start the other mq broker and it waits in loop to
> get the lock from the master.
>
> When the master is brought down , the slave does not get the lock and the
> following error is thrown.
>
> /data/kahadb/lock is locked... waiting 10 seconds for the database to be
> unlocked. Reason: java.io.FileNotFoundException: /data/kahadb/lock
> (Permission denied) | org.apache.activemq.store.SharedFileLocker | main
>
> Please let me know , how this issue can be resolved.
>
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Active-mq-5-7-slave-broker-does-not-get-the-lock-when-the-master-is-brought-down-tp4666988.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://redhat.com
http://blog.garytully.com

Reply via email to