Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am following steps from juju startup with lcx.

At first step of juju bootstrap it gives error as:

ERROR juju.provider.local environ.go:435 could not install mongo service: exec ["start" "--system" "juju-db-xxxx-local"]: exit status 1 (start: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)

mongo db service as such works fine no errors also command which is trying to run is executing successfully

service juju-db-xxxxx-local start
juju-db-xxxxx-local start/running, process 8734

Thanks,

share|improve this question

1 Answer 1

Found this question:

juju bootstrap fails on local environment - Could not install mongo service

sudo apt-get install dbus
share|improve this answer
    
Thanks, However it says dbus is already the newest version., I could also run mongodb standalone it works as expected. This looks more like issue of user juju is using to start service, However not able to solve it. –  Vikrant Pawar Jan 7 at 5:19
    
I removed dbus and install it again, and it started working :) –  Vikrant Pawar Jan 7 at 5:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.