You are not logged in.
Pages: 1
I have been trying to set up my printer.
How can I get dbus to work. I get an error and it does not start.
I have read a previous post that recomend doing the following:
# usr/sbin/groupadd -g 81 dbus
# usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus# usr/sbin/groupadd -g 81 dbus
# usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
but it gives me command not found.
Thanks for any help
but
Offline
Could you perhaps post the error?
Offline
The error I get is Failed to start message bus: Could not get UID and GID for username "dbus"
I tried addidng the group and user with the command above but it did not work it gives me a command not found.
Offline
Add a slash to the beginning of the commands (/usr/bin/useradd instead of usr/bin/useradd). Better yet, just forget the usr/bin part, and type "useradd ..."
This is really strange though. The dbus user and group should already exist. You should check for config files that need to be merged: run "ls -la /etc/*.pac*" .
Offline
Thanks peart This is what i get when running ls -la /etc/*.pac*
-rw-r--r-- 1 root root 8907 2008-12-14 10:51 /etc/locale.gen.pacnew
-rw-r--r-- 1 root root 2949 2008-12-06 09:39 /etc/slim.conf.pacnew
This is what i get when I try to start dbus
:: Starting D-BUS system messagebus [BUSY] Failed to start message bus: The pid file "/var/run/dbus.pid" exists, if the message bus is not running, remove this file
[FAIL
Last edited by viga (2008-12-31 16:26:05)
Offline
in your error, see how it states that "if the message bus is not running, remove this file?" this probably means that your computer has not been shut down properly at some point in time and dbus has left a temporary file. It uses this to work out if it's already running or not, so you can fix this particular error by typing
sudo rm /var/run/dbus.pid
also, have you tried reinstalling dbus? it might automatically sort out your configuration issues (although it could be risky too). to reinstall, you can type:
sudo pacman -S dbus
note that if you choose to reinstall dbus you may still need to type the first line to remove the temporary file.
good luck!
Last edited by capnfabs (2008-12-31 16:32:14)
Offline
Thanks capnfabs. I removed the file and re-installed dbus. I also created the group dbus and added dbus to it.
Offline
Pages: 1