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 > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-24-2009, 06:44 AM   #1
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Rep: Reputation: 32
failed to initialise HAL!


Hi ,

I am using Debian Lenny x86_64 .

Quote:
Peeths001:~# uname -a
Linux Peeths001 2.6.26-2-amd64 #1 SMP Mon Oct 26 10:39:40 UTC 2009 x86_64 GNU/Linux
Today I installed Samba, I restarted the machine . But there was no issues. and after that there was some security updates I installed the updates and after restarting I am getting the error message box after loggin in . The message is "Failed to Initialize HAL!".

ANd I dont have a network also now !!!!!! What is that it is going on ?

I also tried the below

Quote:
Peeths001:~# dpkg-reconfigure hal
Stopping Hardware abstraction layer: hald.
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: initscript dbus, action "force-reload" failed.
Starting Hardware abstraction layer: haldinvoke-rc.d: initscript hal, action "start" failed.


Peeths001:~# /etc/init.d/networking restart
Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.eth0.pid with pid 3006
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1f:c6:c7:ad:8a
Sending on LPF/eth0/00:1f:c6:c7:ad:8a
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
done.
Quote:

Peeths001:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1f:c6:c7:ad:8a
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6024 (5.8 KiB) TX bytes:6355 (6.2 KiB)
Interrupt:253 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1040 (1.0 KiB) TX bytes:1040 (1.0 KiB)

vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
 
Old 12-24-2009, 06:47 AM   #2
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
My autologin is also not enabled. I googled it , but I am not able to find an appropriate solution . Please help .
 
Old 12-24-2009, 11:44 AM   #3
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
Some one please help me on this ....................
 
Old 12-24-2009, 12:02 PM   #4
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
more info


Quote:
Peeths001:~# dbus-daemon --system --print-address
unixath=/usr/local/var/run/dbus/system_bus_socket,guid=f83f8cd77e84152b7f025e934b3469e5


Peeths001:~# dbus-monitor --system
signal sender=org.freedesktop.DBus -> dest=:1.2 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.2"

after that I dont get the prompt

Quote:
Peeths001:~$ gksu network-admin

(network-admin:3414): Liboobs-WARNING **: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory

(network-admin:3414): Liboobs-WARNING **: OobsSession object hasn't connected to the bus, cannot register OobsObject
process 3414: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3338.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
 
Old 12-26-2009, 12:29 PM   #5
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
any comments on this is greatly appreciated .
 
Old 01-01-2010, 01:12 AM   #6
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
does it mean that , there is no solution for this issue ?
 
Old 01-01-2010, 01:16 AM   #7
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
These are the only error messages that I get


Quote:


Peeths001:~# tail -25 /var/log/messages
Dec 31 12:07:00 Peeths001 kernel: [ 14.915459] Adding 2144636k swap on /dev/sda8. Priority:-1 extents:1 across:2144636k
Dec 31 12:07:00 Peeths001 kernel: [ 15.303253] EXT3 FS on sda6, internal journal
Dec 31 12:07:00 Peeths001 kernel: [ 15.980022] loop: module loaded
Dec 31 12:07:00 Peeths001 kernel: [ 16.509062] kjournald starting. Commit interval 5 seconds
Dec 31 12:07:00 Peeths001 kernel: [ 16.509062] EXT3 FS on sda7, internal journal
Dec 31 12:07:00 Peeths001 kernel: [ 16.509062] EXT3-fs: mounted filesystem with ordered data mode.
Dec 31 12:07:00 Peeths001 kernel: [ 16.537056] kjournald starting. Commit interval 5 seconds
Dec 31 12:07:00 Peeths001 kernel: [ 16.537056] EXT3 FS on sda5, internal journal
Dec 31 12:07:00 Peeths001 kernel: [ 16.537056] EXT3-fs: mounted filesystem with ordered data mode.
Dec 31 12:07:00 Peeths001 kernel: [ 18.046692] r8169: eth0: link up
Dec 31 12:07:00 Peeths001 kernel: [ 19.471622] powernow-k8: Found 1 AMD Phenom(tm) 8450 Triple-Core Processor processors (3 cpu cores) (version 2.20.00)
Dec 31 12:07:00 Peeths001 kernel: [ 19.471622] powernow-k8: 0 : pstate 0 (2100 MHz)
Dec 31 12:07:00 Peeths001 kernel: [ 19.471622] powernow-k8: 1 : pstate 1 (1050 MHz)
Dec 31 12:07:01 Peeths001 kernel: [ 20.414081] NET: Registered protocol family 10
Dec 31 12:07:01 Peeths001 kernel: [ 20.414081] lo: Disabled Privacy Extensions
Dec 31 12:07:01 Peeths001 kernel: [ 20.638840] lp0: using parport0 (interrupt-driven).
Dec 31 12:07:01 Peeths001 kernel: [ 20.661421] ppdev: user-space parallel port driver
Dec 31 12:07:04 Peeths001 kernel: [ 23.988366] VBoxDrv: dbg - g_abExecMemory=ffffffffa02e4360
Dec 31 12:07:04 Peeths001 kernel: [ 23.988366] vboxdrv: fAsync=0 offMin=0xd61 offMax=0x2b78
Dec 31 12:07:04 Peeths001 kernel: [ 23.988366] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
Dec 31 12:07:04 Peeths001 dhcdbd: dbus_svc_init failed: org.freedesktop.DBus.Error.NoServer Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused
Dec 31 12:07:04 Peeths001 dhcdbd: Failed to initialise D-Bus service.

Dec 31 12:07:09 Peeths001 kernel: [ 28.932233] nvidia: module license 'NVIDIA' taints kernel.
Dec 31 12:07:09 Peeths001 kernel: [ 29.196750] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 18
Dec 31 12:07:09 Peeths001 kernel: [ 29.196941] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 173.14.09 Wed Jun 4 23:40:50 PDT 2008

any solution for this ?

I also tried


Quote:

Peeths001:~# apt-get install dhcdbd
Reading package lists... Done
Building dependency tree
Reading state information... Done
dhcdbd is already the newest version.
dhcdbd set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Last edited by peeths003; 01-01-2010 at 01:24 AM.
 
Old 01-01-2010, 01:35 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

the one thing that strikes me as strange here is that the dbus socket is being looked for in /usr/local/var/run instead of /var/run. Did you install dbus manually or using apt?

Evo2.
 
Old 01-01-2010, 06:36 AM   #9
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
I have not installed manually, So it is installed either through apt or as a dependency for any other package or at the time of installation .

is there any work around ?
 
Old 01-05-2010, 12:38 AM   #10
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
Should I re-install Debian now ?
 
Old 01-05-2010, 01:04 AM   #11
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
I also tried reinstalling , but


Quote:

Peeths001:~# apt-get --reinstall install dbus dbus-x11 dhcdbd gnome-app-install network-manager network-manager-gnome gthumb gtkhtml3.14 hal hal-cups-utils dpkg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-utils
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 11 reinstalled, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B/4315kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 130036 files and directories currently installed.)
Preparing to replace dpkg 1.14.27 (using .../dpkg_1.14.27_amd64.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.14.27) ...
(Reading database ... 130036 files and directories currently installed.)
Preparing to replace dbus 1.2.1-5+lenny1 (using .../dbus_1.2.1-5+lenny1_amd64.deb) ...
Unpacking replacement dbus ...
Preparing to replace dbus-x11 1.2.1-5+lenny1 (using .../dbus-x11_1.2.1-5+lenny1_amd64.deb) ...
Unpacking replacement dbus-x11 ...
Preparing to replace dhcdbd 3.0-5 (using .../dhcdbd_3.0-5_amd64.deb) ...
Stopping DHCP D-Bus daemon: dhcdbd.
Unpacking replacement dhcdbd ...
Preparing to replace gnome-app-install 0.5.5.1-1 (using .../gnome-app-install_0.5.5.1-1_all.deb) ...
Unpacking replacement gnome-app-install ...
Preparing to replace gthumb 3:2.10.8-1+lenny2 (using .../gthumb_3%3a2.10.8-1+lenny2_amd64.deb) ...
Unpacking replacement gthumb ...
Preparing to replace gtkhtml3.14 3.18.3-1 (using .../gtkhtml3.14_3.18.3-1_amd64.deb) ...
Unpacking replacement gtkhtml3.14 ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up dbus (1.2.1-5+lenny1) ...
The system user `messagebus' already exists. Exiting.
Stopping System Tools Backends: system-tools-backendsstart-stop-daemon: warning: failed to kill 4145: No such process
.
Stopping network events dispatcher: NetworkManagerDispatcher.
Stopping network connection manager: NetworkManager.
Stopping Hardware abstraction layer: hald.
Stopping DHCP D-Bus daemon: dhcdbd.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Stopping system message bus: dbus.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting DHCP D-Bus daemon: dhcdbd.
Starting Hardware abstraction layer: haldinvoke-rc.d: initscript hal, action "start" failed.
Starting network connection manager: NetworkManager.
Starting network events dispatcher: NetworkManagerDispatcher.
Starting System Tools Backends: system-tools-backends.
Setting up dbus-x11 (1.2.1-5+lenny1) ...
Setting up dhcdbd (3.0-5) ...
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
Starting DHCP D-Bus daemon: dhcdbd.
Setting up gnome-app-install (0.5.5.1-1) ...
Caching application data...
Generating mime/codec maps...
Setting up gthumb (3:2.10.8-1+lenny2) ...
Setting up gtkhtml3.14 (3.18.3-1) ...
Setting up hal (0.5.11-8) ...
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
Starting Hardware abstraction layer: haldinvoke-rc.d: initscript hal, action "start" failed.
dpkg: error processing hal (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of hal-cups-utils:
hal-cups-utils depends on hal; however:
Package hal is not configured yet.
dpkg: error processing hal-cups-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of network-manager:
network-manager depends on hal (>= 0.5.7.1); however:
Package hal is not configured yet.
dpkg: error processing network-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of network-manager-gnome:
network-manager-gnome depends on network-manager (>= 0.6.5); however:
Package network-manager is not configured yet.
dpkg: error processing network-manager-gnome (--configure):
dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
hal
hal-cups-utils
network-manager
network-manager-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)

 
Old 01-05-2010, 01:05 AM   #12
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
which all package should i install to configure everything in one stretch ?
 
Old 01-05-2010, 01:18 AM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Sorry the problem does not appear to be with dbus but with network-admin which I believe is a part of the gnome-system-tools package. You could try reinstalling that.

Code:
aptitude reinstall gnome-system-tools
Or perhaps, better
Code:
aptitude purge gnome-system-tools
aptitude install gnome-system-tools
However this may want to remove too many gnome packages.

Evo2.
 
Old 01-07-2010, 07:36 AM   #14
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
I initially did this

Quote:
aptitude purge gnome-system-tools
then the machine got restarted with no GUI and then i tried

Quote:
aptitude install gnome-system-tools
It again showed the dbus error message

Quote:
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
Starting Hardware abstraction layer: haldinvoke-rc.d: initscript hal, action "start" failed.
dpkg: error processing hal (--configure):
then ................................. I re-installed Debian ......

now its working fine ..........
 
Old 01-07-2010, 10:36 AM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Oh well. Shame I couldn't help you fix it, but glad to hear your fresh install is all well and good.

Cheers,

Evo2.
 
  


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
Failed to initialize HAL! unihiekka Ubuntu 2 04-13-2009 03:40 AM
Failed to initialized HAL spid Ubuntu 4 05-21-2008 03:30 PM
Internal Error-Failed to initialize Hal rapattack Ubuntu 3 05-11-2008 10:48 PM
HAL Failed to Initialize - Lenny w/ 2.6.23 kernel Lothoir Debian 5 12-05-2007 09:54 PM
Internal Error! HAL failed to initialize chargerbear Ubuntu 8 04-04-2006 09:39 PM

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

All times are GMT -5. The time now is 01:00 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