nanobox-io / bootstrap

Collection of scripts used to bootstrap a nanobox host machine.
MIT License
4 stars 5 forks source link

Redd service failing, holding up boostrap process #14

Closed jeffgodwyll closed 7 years ago

jeffgodwyll commented 7 years ago

I'm trying to manually setup a Ubuntu 14.04 system as part of a process to pin down what's going wrong with setting up a custom provider after the server is successfully ordered from the dashboard.

...
...
   Configuration file '/etc/default/docker'
   ==> File on system created by you or by a script.
   ==> File also in package provided by package maintainer.
   ==> Keeping old config file as default.
   docker start/running, process 11646
   Processing triggers for ureadahead (0.100.0-16) ...
+> Starting docker daemon
+> Installing red
+> Starting red daemon
   redd start/running, process 11721

Trying to check if redd is up, but to no avail. Why does redd keep stopping. It's failing to stay up

jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ red ping | grep pong
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ red ping
Error: Unable to connect to RED
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ service redd status
redd stop/waiting
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ service red start
red: unrecognized service
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ service redd start
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=1001 pid=3267 comm="start redd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ sudo service redd start
redd start/running, process 3286
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ sudo service redd start
redd start/running, process 3348
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ service redd status
redd stop/waiting
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ red ping
Error: Unable to connect to RED
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ which red
/usr/bin/red
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ service redd start
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.17" (uid=1001 pid=3438 comm="start redd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ sudo service redd start
redd start/running, process 3456
jeff@nanobox-dot-io-cool-app-do-dot-1-dot-1:~$ sudo service redd status
redd stop/waiting
jeffgodwyll commented 7 years ago

ohk, my fault... with help from @tylerflint I had to do something akin to:

sudo ./ubuntu.sh internal-iface=eth0 as that was the needed interface