Hi

I'm trying to get an existing (and working) apachemq installation running
as a specific user under init.d.
I have it working if I dont specify the user and allow it to run as root.
However if I change the user in the /etc/default/activemq file to the
required user I get the following output, and  of course it doesnt start
Ambiguous output redirect.
RET=1: Command not found.
APID=: Command not found.
APID: Undefined variable.
APID: Undefined variable.

obviously what it needs is a path or permissions to the missing command and
variables - but how can I find out from this output which these are?

I have it set up with the activemq file in etc/init.d as a sym link to the
activemq file in the activemq home directory.
I obtained the /etc/default/conf file by running running the command
"./bin/activemq setup filename" from the existing installation, then
placing this under /etc/default. works under root but not my local user! I
have  tried copying the local environmental variables for the required user
into the start of the /default/activemq script, but this makes no
difference at all to the output. activemq doesnt start up at all, so there
isnt any logging to get further clues from.

Cheers
Peri (x4082)

Reply via email to