LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-04-2008, 02:33 PM   #1
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
dhclient not getting killed on shutdown


I have some kind of conflict with the NetworkManager and dhcdbd and dhclient. Basically, everytime I shutdown, the dhclient doesn't get killed until last even though the network configurations are supposedly cleaned up. As a result, I get this send_packet network unreachable error when some last resort TERM is sent to all running processes.

I realize this isn't all that much information to diagnose the problem, but if anyone has seen something similar or knows in general how dhcdbd and the NetworkManager and dhclient are supposed to function, that would be a start.
 
Old 11-02-2008, 12:56 PM   #2
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Original Poster
Rep: Reputation: 16
Okay, here's my syslog which really highlights the problem. Basically, I need to know whether dhcdbd is supposed to start dhclient or just connect to an already running dhclient. If dhcdbd runs dhclient, then maybe I should disable my rc networking script, if dhclient is running already, then maybe I should move the rc networking script forward. Or maybe its a totally different issue.

But you can see in the below script that things are not starting up in the proper order. Similar issues happen on shutdown.

Nov 2 12:03:01 localhost dhcdbd: Started up.
Nov 2 12:03:01 localhost NetworkManager: <information>^Istarting...
Nov 2 12:03:01 localhost NetworkManager: <information>^Ieth0: Device is fully-supported using driver 'e1000'.
Nov 2 12:03:01 localhost NetworkManager: <information>^Inm_device_init(): waiting for device's worker thread to start
Nov 2 12:03:01 localhost NetworkManager: <information>^Inm_device_init(): device's worker thread started, continuing.
Nov 2 12:03:01 localhost NetworkManager: <information>^INow managing wired Ethernet (802.3) device 'eth0'.
Nov 2 12:03:01 localhost NetworkManager: <information>^IDeactivating device eth0.
Nov 2 12:03:01 localhost ntpdate[1800]: sendto(72.167.54.201): Network is unreachable
Nov 2 12:03:01 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Nov 2 12:03:01 localhost NetworkManager: <information>^IWill activate wired connection 'eth0' because it now has a link.
Nov 2 12:03:01 localhost NetworkManager: <information>^ISWITCH: no current connection, found better connection 'eth0'.
Nov 2 12:03:01 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Nov 2 12:03:01 localhost NetworkManager: <information>^IWill activate connection 'eth0'.
Nov 2 12:03:01 localhost NetworkManager: <information>^IDevice eth0 activation scheduled...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) started...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) started...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 1 of 5 (Device Prepare) complete.
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) starting...
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) successful.
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 2 of 5 (Device Configure) complete.
Nov 2 12:03:01 localhost NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) started...
Nov 2 12:03:01 localhost ntpdate[1800]: sendto(64.247.17.250): Network is unreachable
Nov 2 12:03:02 localhost ntpdate[1800]: sendto(67.59.168.233): Network is unreachable
Nov 2 12:03:02 localhost ntpdate[1800]: sendto(72.167.54.201): Network is unreachable
Nov 2 12:03:02 localhost NetworkManager: <information>^IActivation (eth0) Beginning DHCP transaction.
Nov 2 12:03:02 localhost ntpdate[1800]: sendto(64.247.17.250): Network is unreachable
Nov 2 12:03:03 localhost NetworkManager: <information>^IActivation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Nov 2 12:03:03 localhost NetworkManager: <information>^IDHCP daemon state is now 12 (successfully started) for interface eth0
Nov 2 12:03:03 localhost ntpdate[1800]: sendto(67.59.168.233): Network is unreachable
Nov 2 12:03:03 localhost ntpdate[1800]: sendto(72.167.54.201): Network is unreachable
Nov 2 12:03:03 localhost ntpdate[1800]: sendto(64.247.17.250): Network is unreachable
Nov 2 12:03:04 localhost NetworkManager: <information>^IDHCP daemon state is now 1 (starting) for interface eth0
Nov 2 12:03:03 localhost ntpdate[1800]: step time server 128.10.252.7 offset -1.731266 sec
Nov 2 12:03:08 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 2 12:03:08 localhost dhclient: DHCPACK from 10.0.1.1
Nov 2 12:03:08 localhost dhclient: bound to 10.0.1.119 -- renewal in 33989 seconds.
Nov 2 12:03:08 localhost NetworkManager: <information>^IDHCP daemon state is now 4 (reboot) for interface eth0
Nov 2 12:03:08 localhost NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
Nov 2 12:03:08 localhost NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) started...
Nov 2 12:03:08 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
Nov 2 12:03:08 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.domain_name
Nov 2 12:03:08 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
Nov 2 12:03:08 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
Nov 2 12:03:08 localhost NetworkManager: <information>^IRetrieved the following IP4 configuration from the DHCP daemon:
Nov 2 12:03:08 localhost NetworkManager: <information>^I address 10.0.1.119
Nov 2 12:03:08 localhost NetworkManager: <information>^I netmask 255.255.255.0
Nov 2 12:03:08 localhost NetworkManager: <information>^I broadcast 10.0.1.255
Nov 2 12:03:08 localhost NetworkManager: <information>^I gateway 10.0.1.1
Nov 2 12:03:08 localhost NetworkManager: <information>^I nameserver 10.0.1.1
Nov 2 12:03:08 localhost NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Nov 2 12:03:08 localhost NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) complete.
Nov 2 12:03:08 localhost NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Nov 2 12:03:09 localhost NetworkManager: <information>^IClearing nscd hosts cache.
Nov 2 12:03:09 localhost NetworkManager: <WARNING>^I nm_spawn_process (): nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed to execute ch
ild process "/usr/sbin/nscd" (No such file or directory))
Nov 2 12:03:09 localhost NetworkManager: <information>^IActivation (eth0) successful, device activated.
Nov 2 12:03:09 localhost NetworkManager: <information>^IActivation (eth0) Finish handler scheduled.
Nov 2 12:03:09 localhost NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Nov 2 12:03:17 localhost ntpdate[2470]: adjust time server 128.10.252.7 offset -0.000411 sec
 
  


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
find history of a job killed by "kernel: Out of Memory: Killed process" poulacou Linux - Server 3 09-20-2007 04:24 PM
My Linux box does not shutdown i do when i do /sbin/shutdown -h now yawe_frek Linux - Hardware 6 09-14-2007 07:48 AM
dhclient shutdown or reset linuxhippy Fedora 2 07-31-2005 10:11 PM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM

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

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