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
Related videos on Youtube
Author by
Vikrant Pawar
Updated on September 18, 2022Comments
-
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 over 10 yearsThanks, 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.