Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My system runs fine, but /var/log/messages repeats this message every few seconds, filling up my log directory:

Oct 13 09:10:57 barry NetworkManager: <WARN> 
nm_dbus_manager_init_bus(): Could not get the system bus.  Make sure 
the message bus daemon is running!  Message: Failed to connect to 
socket /var/run/dbus/system_bus_socket: Connection refused 

Is there an easy way to stop this? I'm on Fedora 11, but am hoping this is a fairly generic fix. Thoughts:

  • I could turn off rsyslog entirely, but that's overkill.

  • I could tweak /etc/rsyslog.conf to not print this message, but how do I do that w/o turning off other important messages?

  • I realize I could start the bus daemon, but I'm not sure what it does for me, if anything.

EDIT: Thanks, haimg. I tried your suggestion, and this happened:

# service messagebus start
Starting system message bus: Failed to start message bus: The pid file "/var/run/" exists, if the message bus is not running, remove this file
# pgrep bus | xargs ps -wwwl
1 S   500  3568     1  0  80   0 -   831 poll_s pts/7      0:00 dbus-launch --autolaunch 443adbc9baaf7a04103739c04abbc618 --binary-syntax --close-stderr
1 S   500  3569     1  0  80   0 -   697 poll_s ?          0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

so there might be some more serious badness occurring here.

share|improve this question
up vote 2 down vote accepted

Option 1: Make rsyslog ignore this message

Just shut off this specific message. Add this to the top of your rsyslog.conf

:msg, startswith, "NetworkManager: <WARN> nm_dbus_manager_init_bus(): Could not get the system bus"       ~

Note the tilde (~) at the end of the line. Copy & paste the beginning of the message you want to ignore, and be as selective as you want. Any message that starts with this prefix will be ignored.

Option 2: Fix the underlying issue

As far as I know, NetworkManager needs D-Bus for proper operation. D-Bus (Desktop Bus) is a simple inter-process communication system for software applications to communicate with one another. So, if you need/use NetworkManager, maybe just start the D-Bus daemon:

chkconfig messagebus on ; service messagebus start

D-Bus is also used by other desktop components, and it is rather lighweight and inobtrusive. I suggest you just start it.

If you don't need the NetworkManager at all, you can just stop and disable it:

chkconfig NetworkManager off ; service NetworkManager stop
share|improve this answer
Thanks! OK, what does dbus do for me? My network and everything else appears to be working fine without it? I definitely need NetworkManager (I lose my DHCP IP if I stop that), but I'm not experiencing any issues despite the error message. – barrycarter Oct 13 '11 at 15:53
Added an explanation to my answer. – haimg Oct 13 '11 at 16:00
OK, shutting off the message as you suggested above worked, so "problem solved" :) – barrycarter Oct 13 '11 at 16:03

Your Answer


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.