activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkrell <>
Subject Re: changing user fails when running activemq from init.d
Date Thu, 29 Sep 2016 11:28:56 GMT
I've been faced with exactly the same problem and found out the problem to be
a small inaccuracy in the bin/activemq script (version 5.10.0), when the
ACTIVEMQ_USER variable is set to a dedicated system user AND this system
user does have /bin/csh in /etc/passwd defined as default shell instead of
/bin/sh (bash).

The fix is quite simple: In bin/activemq, find the (two) calls of 'su -c
...' and replace them by 'su -s /bin/sh -c ...'.

That's all.

This should get probably fixed in the ActiveMQ start scripts itself.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message