You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2011-11-05 05:02:56

ancleessen4
ArchBanger
From: luxembourg
Registered: 2010-10-08
Posts: 199

dbus.pid

On 2011.11 64bit install I get this error message on shutdown/reboot;

Failed to start message bus : The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file

This file does not exist on my system.

Anyone know a fix?

Offline

#2 2011-11-05 05:56:11

oliver
Administrator
Registered: 2010-11-04
Posts: 1,516

Re: dbus.pid

it may be a bug in the error message... on my 2011.11 64bit install the dbus PID is at /var/run/dbus.pid

$ cat /var/run/dbus.pid 
794

$ ps -ef|grep 794
dbus       794     1  0 07:48 ?        00:00:00 /usr/bin/dbus-daemon --system

Can you do this?

$ sudo find /var/run -name dbus.pid -exec ls -l {} \;

Welly, welly, welly, welly, welly, welly, well. To what do I owe the extreme pleasure of this surprising visit?

Offline

#3 2011-11-05 06:50:17

ancleessen4
ArchBanger
From: luxembourg
Registered: 2010-10-08
Posts: 199

Re: dbus.pid

@oliver
thanks - I will try this when I am back at my Archbang machine....

Offline

#4 2011-11-06 08:24:56

ancleessen4
ArchBanger
From: luxembourg
Registered: 2010-10-08
Posts: 199

Re: dbus.pid

OK I did this but I still have the errror message on shutdown/reboot.

sudo find /var/run -name dbus.pid -exec ls -l {} \;
-rw-r--r-- 1 root root 4 Nov  6 15:21 /var/run/dbus.pid
[root@archbang neil]# rm /var/run/dbus.pid

but the 'dbus.pid' is recreated upon reboot...

Offline

#5 2011-12-06 23:10:41

bwat47
New member
Registered: 2011-12-06
Posts: 3

Re: dbus.pid

Getting the exact same error on shutdown here

Offline

#6 2011-12-07 10:06:32

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: dbus.pid

bwat47 wrote:

Getting the exact same error on shutdown here

Run below command in terminal

grep ^DAEMONS /etc/rc.conf

Look at output of command.......
is hal before dbus? If hal is started before dbus you will get this error, as hal also starts dbus.
Open your /etc/rc.conf file and make sure dbus is started before hal. Some people just comment out dbus
all together as hal will start dbus.
EXAMPLE:
[root@MS-7005-archbang ~]# grep ^DAEMONS /etc/rc.conf
DAEMONS=(dbus hal guarddog syslog-ng @wicd @alsa cupsd lp anacrond tor privoxy webwasher timidity++ sandfox)

Offline

#7 2011-12-07 11:29:48

bwat47
New member
Registered: 2011-12-06
Posts: 3

Re: dbus.pid

I don't use hal at all, and have dbus set to start first: DAEMONS=(dbus acpid @wicd @laptop-mode @ntp @crond @syslog-ng @cupsd)

Offline

#8 2011-12-07 16:37:34

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: dbus.pid

bwat47 wrote:

I don't use hal at all, and have dbus set to start first: DAEMONS=(dbus acpid @wicd @laptop-mode @ntp @crond @syslog-ng @cupsd)

Looking at your log files, there is no hint as to anything else related to this error?
Do you have:

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi 

Before:

exec ck-launch-session dbus-launch openbox-session 

In your ~/.xinitrc file?

Offline

#9 2011-12-08 15:03:57

bwat47
New member
Registered: 2011-12-06
Posts: 3

Re: dbus.pid

Apologies, I should have put more details in my first post. I'm running arch with LXDM (via inittab) and XFCE, not using a xinitrc file. I only seem to see the message during shutdown, and not anywhere else that I'm aware of. Luckily it doesn't seem to be harming anything, the system continues to reboot fine. I was more curious what it was and if it had potential to cause issues.

Last edited by bwat47 (2011-12-08 15:06:16)

Offline

Board footer

Powered by FluxBB