[rabbitmq-discuss] Problem running rabbitmq as a non-privileged user
matthias at lshift.net
Fri Apr 3 10:13:11 BST 2009
Jonathan Stott wrote:
> I've installed rabbitmq (v 1.5.3) with erlang R12B.5. Using
> 'rabbitmq-multi start_all 1' works fine as root, creating a rabbitmq
> service that I can create queues on and all seems to work fine.
> When I attempt to run that as the rabbitmq user I created (via "su -c
> 'rabbitmq-multi start_all 1'") then the command fails with the
> following errors:
> As far as I can tell, the permissions on all the relevant files are
> fine (That is to say, owned by root, but world readable). Does anyone
> have any idea what might be going on?
It looks like Erlang is mostly complaining that it can't read from the
current dir (notice how the file names all start with "./").
You may want to look at the Debian and RPM packages for clues as to how
to get rabbit to run as a different user, since they do precisely that.
More information about the rabbitmq-discuss