dbus-osx-examples icon indicating copy to clipboard operation
dbus-osx-examples copied to clipboard

Error when trying to start dbus service

Open kid1carus opened this issue 2 years ago • 5 comments

when i run brew services start dbus i receive the following error:

Error: Formula 'dbus' has not implemented #plist, #service or installed a locatable service file.

How do i fix this and get the service running?

Screenshot 2023-04-02 at 8 37 22 PM

kid1carus avatar Apr 03 '23 00:04 kid1carus

I'm the same. I'm on a 2020 M1 (Macbook Pro 13") with MacOS 11.7.5

johnhamelink avatar Apr 10 '23 19:04 johnhamelink

I see that as well; I think the problem is upstream as a result of a recent change to Homebrew's dbus formula. I've opened an issue with Homebrew to see if it can be addressed: https://github.com/Homebrew/homebrew-core/issues/128373

zbentley avatar Apr 14 '23 14:04 zbentley

Any updates on this ? I have the same @kid1carus error

DasterSociety avatar May 03 '23 22:05 DasterSociety

From https://github.com/Homebrew/brew/issues/15175

cp $(brew --prefix dbus)/org.freedesktop.dbus-session.plist $(brew --prefix dbus)/homebrew.mxcl.dbus.plist
sudo brew services start dbus

goldyfruit avatar May 11 '23 19:05 goldyfruit

From Homebrew/brew#15175

cp $(brew --prefix dbus)/org.freedesktop.dbus-session.plist $(brew --prefix dbus)/homebrew.mxcl.dbus.plist
sudo brew services start dbus

I did not work for me, got this output: Warning: Taking root:admin ownership of some dbus paths: /usr/local/Cellar/dbus/1.14.6/bin /usr/local/Cellar/dbus/1.14.6/bin/dbus-daemon /usr/local/opt/dbus /usr/local/opt/dbus/bin /usr/local/var/homebrew/linked/dbus This will require manual removal of these paths using sudo rm on brew upgrade/reinstall/uninstall. Warning: dbus must be run as non-root to start at user login! /Library/LaunchDaemons/homebrew.mxcl.dbus.plist: service already bootstrapped Bootstrap failed: 37: Operation already in progress Error: Failure while executing; /bin/launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.dbus.plist exited with 37.

DasterSociety avatar May 11 '23 22:05 DasterSociety