Thanks for replying.  I thought I had answered all my posts out there. 
 Here was the fix:

I was able to resolve this by the following:
> ensure activemq is owner and has access to /var/log/activemq and all sub 
> dirs.
> ensure /etc/init.d/activemq has: ACTIVEMQ_CONFIGS="/etc/sysconfig/activemq"
> create file activemq in /etc/sysconfig if it doesnt exist.
> add this line: 
> ACTIVEMQ_DATA="/var/log/activemq/activemq-data/localhost/KahaDB"
> The problem was that activeMQ 5.9.x was using /usr/share/activemq as its 
> KahaDB location.




On Saturday, November 8, 2014 2:20:36 PM UTC-6, Felix.Frank wrote:
>
>  Hi,
>
> I never fiddled with MCO or ActiveMQ, but here are some general thoughts:
>
> - Does /usr/share/activemq/activemq-data/localhost/ exist?
> - Does the KahaDB subdir already exist?
> - What are the permission on the directories and which user is running 
> ActiveMQ?
> - What kind of filesystem stores the directory? What reasons for IO errors 
> could exist?
>
> HTH,
> Felix
>
> > Reason: java.io.IOException: Failed to create directory 
> 'activemq-data/localhost/KahaDB' 2014-11-04 13:18:33,202 [main ] INFO 
> SharedFileLocker - Database activemq-data/localhost/KahaDB/lock is 
> locked... waiting 10 seconds for the database to be unlocked. Reason: 
> java.io.IOException: Failed to create directory 
> 'activemq-data/localhost/KahaDB'
>  
>  Its this last part that seems to be causing the error. Forewarned, I am 
> 2 weeks in to Linux, but learning fast. I can't seem to resolve this issue 
> alone. The service is running.
>
> Any help would be appreciated.
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/bdf6d6d6-c75f-4262-9d37-9b8258daeaca%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/puppet-users/bdf6d6d6-c75f-4262-9d37-9b8258daeaca%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/833f7e99-c647-4f53-b2a6-d2f41f91e95f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to