Juju Local failed with /var/run/dbus/system_bus_socket: No such file or directory

5,638

Found this question:

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

sudo apt-get install dbus
Share:
5,638

Related videos on Youtube

Vikrant Pawar
Author by

Vikrant Pawar

Updated on September 18, 2022

Comments

  • Vikrant Pawar
    Vikrant Pawar almost 2 years

    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,

  • Vikrant Pawar
    Vikrant Pawar over 10 years
    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.