LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-13-2005, 10:05 AM   #1
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Rep: Reputation: 0
HAL daemon cannot be started anymore


After some reconfiguration on my FC4-System the haldaemon can no longer be started. Is there a problem with my dbus installation? Does anyone have a guess?

[root@ranatra ~]# service haldaemon start
Starting HAL daemon: [failed]

[root@ranatra ~]# rpm -q --whatprovides /usr/sbin/hald
hal-0.5.2-2

[root@ranatra ~]# ps ax | grep -i dbus
2487 ? Ss 0:00 dbus-daemon-1 --system
3770 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
3773 ? Ss 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
3774 ? S 0:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
4410 pts/0 S+ 0:00 grep -i dbus

[root@ranatra ~]# which dbus-daemon-1
/usr/bin/dbus-daemon-1

[root@ranatra ~]# rpm -q --whatprovides /usr/bin/dbus-daemon-1
dbus-0.22-10

[root@ranatra ~]# rpm -qva | grep -i dbus
dbus-0.33-3.fc4.1
dbus-0.22-10
dbus-glib-0.33-3
dbus-glib-0.33-3.fc4.1
dbus-devel-0.33-3.fc4.1
dbus-0.33-3
dbus-x11-0.33-3.fc4.1
dbus-python-0.33-3.fc4.1
 
Old 12-13-2005, 03:04 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
How/why to you have multiple dbus rpms installed????

As root from the console or xterm session remove dbus-0.22-10, dbus-0.33-3 and dbus-glib-0.33-3;
rpm -e dbus-0.22-10 dus-0.33-3 dbus-glib-0.33-3
 
Old 12-14-2005, 10:52 AM   #3
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
How/why to you have multiple dbus rpms installed????

As root from the console or xterm session remove dbus-0.22-10, dbus-0.33-3 and dbus-glib-0.33-3;
rpm -e dbus-0.22-10 dus-0.33-3 dbus-glib-0.33-3
Removed the packages but still doesn't work (after reboot) :-(
 
Old 12-14-2005, 11:44 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Could be selinux related, try disabling it;

Add selinux=0 to your kernel command line.

Could be messagebus related, check and if needed enabled it;

chkconfig --list messagebus

service messagebus status
 
Old 12-15-2005, 04:39 AM   #5
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Could be selinux related, try disabling it;

Add selinux=0 to your kernel command line.

Could be messagebus related, check and if needed enabled it;

chkconfig --list messagebus

service messagebus status
selinux is already disabled as it gives problems with the smb-protokoll

[root@ranatra ~]# chkconfig --list messagebus
messagebus 0ff 1ff 2ff 3n 4n 5n 6ff

(Sorry about the emoticons, how can I deactivate them?)

[root@ranatra ~]# service messagebus status
<<no output>>

So, I think messagebus is running ?!

Last edited by zerberus; 12-15-2005 at 04:41 AM.
 
Old 12-15-2005, 05:46 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
No, it's not if messagebus (dbus) is running the you would see something like;

$ service messagebus status
dbus-daemon-1 (pid 30317 2592) is running...

Do you still have the latest dbus rpms on your system???
If yes, then try reinstalling them;

rpm -Uvh dbus*.rpm --force

Since you already have them installed the use of the '--force' switch is needed.
 
Old 12-29-2005, 05:02 PM   #7
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
No, it's not if messagebus (dbus) is running the you would see something like;

$ service messagebus status
dbus-daemon-1 (pid 30317 2592) is running...

Do you still have the latest dbus rpms on your system???
If yes, then try reinstalling them;

rpm -Uvh dbus*.rpm --force

Since you already have them installed the use of the '--force' switch is needed.
O.k., reinstalled incl. --force but messagebus is still not running and haldaemon start still fails.
 
Old 12-30-2005, 08:32 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
What happens when you (as root) do;

service messagebus restart

If messagebus does start;

service haldaemon restart
 
Old 12-31-2005, 10:58 AM   #9
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
What happens when you (as root) do;

service messagebus restart

If messagebus does start;

service haldaemon restart
Restarting messagebus gives no output. Status request also:

[root@xyz ~]# service messagebus restart
[root@xyz ~]# service messagebus status
[root@xyz ~]#
 
Old 12-31-2005, 01:57 PM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Very strange, I was expecting to see at least some type of message like;

# service messagebus restart
Stopping system message bus: [FAILED]
Starting system message bus: [ OK ]

or a message that states something along the lines of, system message bus could not be started.
 
Old 01-04-2006, 07:17 AM   #11
zerberus
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: FC4
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Very strange, I was expecting to see at least some type of message like;

# service messagebus restart
Stopping system message bus: [FAILED]
Starting system message bus: [ OK ]

or a message that states something along the lines of, system message bus could not be started.
I am at a loss also. Thanks for your help anyway.
 
Old 01-04-2006, 09:05 AM   #12
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You might want to consider making a backup of everything that is of importance to you (system settings, docs, bookmarks, passords and such) and start fresh. Something is not right with the system, could be one of the services is not working right or your missing something of importance to dbus and message bus. Could be a kernel problem like;

http://www.linuxquestions.org/questi...d.php?t=267571

Or something else.
 
Old 08-14-2006, 12:50 AM   #13
Baracuda
Member
 
Registered: Aug 2002
Posts: 60

Rep: Reputation: 15
Hal daemon failure

I too am having Hal daemon failure. But when I try the mentioned service restart I get the message that the stop failed and the start is OK like in the quote. What do I do at this point?

Quote:
Originally Posted by Lenard
Very strange, I was expecting to see at least some type of message like;

# service messagebus restart
Stopping system message bus: [FAILED]
Starting system message bus: [ OK ]

or a message that states something along the lines of, system message bus could not be started.
 
Old 08-14-2006, 05:15 AM   #14
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Check if the smartd service may be causing the problem; /sbin/chkconfig -list smartd

If the service is on then shut it down; service smartd stop
Then try restarting the messagebus service; service messagebus
If it stops and restarts then consider shutting the smartd service off;

/sbin/chkconfig --levels 345 smartd off
 
Old 09-19-2006, 04:21 PM   #15
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
I have been having the same problem getting hald to start. Reading the post by Lenard below

# service messagebus restart
Stopping system message bus: [FAILED]
Starting system message bus: [ OK ]

This mean the messagebus was not running becasue it failed to stop it. I found then that afterwards I could start haldaemon /etc/init.d/haldaemon restart

Checking in services under the fedora main menu it showed that messagebus was not checked and wasn't being started on boot. Checking messagebus, saving and rebooting fixed my problem.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hal daemon not recognize floppy mount points gatons Linux - Hardware 1 01-26-2006 05:27 AM
HAL daemon & mount permissions tuxrules Fedora 1 01-19-2005 10:08 PM
FC3, updated kernel now HAL daemon fails rjcrews Fedora 4 01-03-2005 11:32 AM
Checking a daemon has started SteveGodfrey Linux - Software 1 06-01-2004 04:33 AM
Daemon started but NOT running with lpc status??? Ruth Linux - General 1 03-12-2001 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration