Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start rabbitmq server #4

Open
stephenotalora opened this issue Mar 12, 2017 · 0 comments
Open

Unable to start rabbitmq server #4

stephenotalora opened this issue Mar 12, 2017 · 0 comments

Comments

@stephenotalora
Copy link

stephenotalora commented Mar 12, 2017

Hi,

I'm trying to start my rabbitmq server, while I can successfully build the docker image the server will always fail to boot and I get the following error description:

BOOT FAILED
===========

Error description:
   {error,{cannot_log_to_file,"-",{error,eacces}}}

Log files (may contain more information):
   -
   -

Stack trace:
   [{rabbit,ensure_working_log_handler,5,[]},
    {rabbit,ensure_working_log_handlers,0,[]},
    {rabbit,'-boot/0-fun-1-',0,[]},
    {rabbit,start_it,1,[]},
    {init,start_em,1,[]},
    {init,do_boot,3,[]}]

init terminating in do_boot ()
{"init terminating in do_boot",{rabbit,failure_during_boot,{error,{cannot_log_to_file,"-",{error,eacces}}}}}

I'm setting up the correct permissions as per the sample dockerfile

RUN chown -R rabbitmq /var/lib/rabbitmq/.erlang.cookie /var/lib/rabbitmq /usr/lib/rabbitmq

and setting the environmental variables in the same manner:

ENV RABBITMQ_LOGS=-
ENV RABBITMQ_SASL_LOGS=-

Unlike the original dockerfile I am required to use a previous version of rabbitmq@3.3.4

Am I missing something that would stop the server from starting correctly?
I'm new to rabbitmq so any help would be greatly appreciated.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant