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

"sudo ferry server" keeps failing #40

Open
Spirit328 opened this issue May 18, 2015 · 0 comments
Open

"sudo ferry server" keeps failing #40

Spirit328 opened this issue May 18, 2015 · 0 comments

Comments

@Spirit328
Copy link

$ sudo uname -a
Linux dell2950 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ sudo ferry server
[05/18/2015 07:15:16] [WARNING] checking for btrfs
[05/18/2015 07:15:16] [WARNING] using devmapper backend
[05/18/2015 07:15:16] [WARNING] using public dns
[05/18/2015 07:15:16] [WARNING] nohup docker -d -H=unix:////var/run/ferry.sock -g=/var/lib/ferry -p=/var/run/ferry.pid -b ferry0 --dns 8.8.8.8 --dns 8.8.4.4 -e lxc -s devicemapper --icc=true 1>/var/lib/ferry/docker.log 2>&1 &
[05/18/2015 07:15:19] [WARNING] cleaning previous mongo resources
[05/18/2015 07:15:19] [WARNING] docker -H=unix:////var/run/ferry.sock ps | grep ferry/mongodb | awk '{print $1}' | xargs docker -H=unix:////var/run/ferry.sock stop
[05/18/2015 07:15:19] [WARNING] docker -H=unix:////var/run/ferry.sock run -privileged -d -h ferrydb -v /var/lib/ferry/mongo:/service/data/ -v /var/lib/ferry/mongolog:/service/logs/ -v /usr/local/lib/python2.7/dist-packages/ferry/data/key:/service/keys -e "KEY=insecure_ferry_key" ferry/mongodb /service/sbin/startnode init
[05/18/2015 07:15:20] [WARNING] docker -H=unix:////var/run/ferry.sock inspect 9f01dd5845542b8f94bd70174d93143a305210a3dbd6b5cec33a28f3e0e04408
[05/18/2015 07:15:20] [ERROR] container for ferry/mongodb is not running
[05/18/2015 07:15:20] [ERROR] Could not start MongoDB image

$ sudo ferry info
[05/18/2015 07:15:26] [ERROR] could not connect to ferry server
It appears Ferry servers are not running.
Type sudo ferry server and try again.

/var/lib/ferry$ less docker.log
[...]
time="2015-05-18T19:20:05+02:00" level=warning msg="Your kernel does not support OOM notifications: open /sys/fs/cgroup/memory/user.slice/user-1000.slice/session-12.scope/lxc/6eaa53e56c14fde3d93b0e6a88085ecb4b4386588de73a68e2d46b124af64a93/memory.oom_control: no such file or directory"
[...]
time="2015-05-18T19:37:07+02:00" level=warning msg="Your kernel does not support OOM notifications: open /sys/fs/cgroup/memory/user.slice/user-1000.slice/session-15.scope/lxc/d969e66552543f0158996e57e01d2387a98d891ce0bd0a01e1f75569d4a9f76f/memory.oom_control: no such file or directory"

Can I configure this somewhere? Or is this a "feature" ;-)

@Spirit328 Spirit328 changed the title sudo ferry server fails "sudo ferry server" keeps failing May 18, 2015
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