DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.