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: 
http://activemq.2283324.n4.nabble.com/changing-user-fails-when-running-activemq-from-init-d-tp4685689p4717204.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to