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

rabbitmq is not running #13

Open
asalkeld opened this issue Aug 22, 2014 · 4 comments
Open

rabbitmq is not running #13

asalkeld opened this issue Aug 22, 2014 · 4 comments

Comments

@asalkeld
Copy link

sudo docker run --privileged ewindisch/dockenstack

  • Starting message broker rabbitmq-server
  • FAILED - check /var/log/rabbitmq/startup_{log, _err}
    ...fail!
@asalkeld
Copy link
Author

root@e95da49594dd:/opt/dockenstack/bin# service rabbitmq-server start
 * Starting message broker rabbitmq-server                                                                                                                  * FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
                                                                                                                                                    [fail]
root@e95da49594dd:/opt/dockenstack/bin# /usr/sbin/rabbitmq-server 
Cannot execute /bin/sh
root@e95da49594dd:/opt/dockenstack/bin# 

I installed strace:

stat("/bin/su", {st_mode=S_IFREG|S_ISUID|0755, st_size=36936, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f711e08ea10) = 1026
wait4(-1, Cannot execute /bin/sh

It looks like "su" is unhappy.

@asalkeld
Copy link
Author

This is the problem:

su rabbitmq -s /bin/sh -c "ls -la"
Cannot execute /bin/sh

@dlardo
Copy link

dlardo commented Aug 30, 2014

Same issue here - any workaround?

@asajeffrey
Copy link

I had this issue with version 0.9 of docker. It went away when I upgraded to version 1.2.

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

3 participants