Re: Emergency: Problems on NetworkManager 0.7.0. (Errors occured in Activation Stage 3 about DHClient.)



On Fri, Mar 28, 2008 at 3:41 AM, Jue Yang <shuangfeiyu hotmail com> wrote:
>
> hi,
>
>  I am now in trouble. Could anybody can tell me what causes the error as
> follows.
>
>
>  Mar 29 15:13:42 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 2 -> 4
> Mar 29 15:13:42 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 4 -> 7
> Mar 29 15:13:42 localhost NetworkManager: <info>  Activation
> (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to
> wireless network 'orap_abc'.
> Mar 29 15:13:42 localhost NetworkManager: <info>  Activation (wlan0) Stage 3
> of 5 (IP Configure Start) scheduled.
> Mar 29 15:13:42 localhost NetworkManager: <info>  Activation (wlan0) Stage 3
> of 5 (IP Configure Start) started...
> Mar 29 15:13:42 localhost NetworkManager: <info>  Activation (wlan0)
> Beginning DHCP transaction.
> Mar 29 15:13:42 localhost NetworkManager: <info>  dhclient started with pid
> 5869
> Mar 29 15:13:42 localhost NetworkManager: <info>  Activation (wlan0) Stage 3
> of 5 (IP Configure Start) complete.
> Mar 29 15:13:42 localhost kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link
> becomes ready
> Mar 29 15:13:42 localhost dhclient: Can't create
> /usr/local/var/run/dhclient-wlan0.pid: Permission denied
> Mar 29 15:13:42 localhost dhclient: Internet Systems Consortium DHCP Client
> V3.0.6-Fedora
> Mar 29 15:13:42 localhost dhclient: Copyright 2004-2007 Internet Systems
> Consortium.
> Mar 29 15:13:42 localhost dhclient: All rights reserved.
> Mar 29 15:13:42 localhost dhclient: For info, please visit
> http://www.isc.org/sw/dhcp/
> Mar 29 15:13:42 localhost dhclient:
> Mar 29 15:13:42 localhost dhclient: can't create
> /usr/local/var/run/dhclient-wlan0.lease: Permission denied
> Mar 29 15:13:42 localhost dhclient: execve
> (/usr/local/libexec/nm-dhcp-client.action, ...): Permission denied
> Mar 29 15:13:42 localhost dhclient: Listening on LPF/wlan0/00:18:e7:20:a5:fb
> Mar 29 15:13:42 localhost dhclient: Sending on   LPF/wlan0/00:18:e7:20:a5:fb
> Mar 29 15:13:42 localhost dhclient: Sending on   Socket/fallback
> Mar 29 15:13:42 localhost dhclient: Can't create
> /usr/local/var/run/dhclient-wlan0.pid: Permission denied
> Mar 29 15:13:42 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255
> port 67 interval 5
> Mar 29 15:13:42 localhost dhclient: DHCPOFFER from 192.168.1.1
> Mar 29 15:13:42 localhost dhclient: DHCPREQUEST on wlan0 to 255.255.255.255
> port 67
> Mar 29 15:13:42 localhost dhclient: DHCPACK from 192.168.1.1
> Mar 29 15:13:42 localhost dhclient: execve
> (/usr/local/libexec/nm-dhcp-client.action, ...): Permission denied
> Mar 29 15:13:42 localhost dhclient: can't create
> /usr/local/var/run/dhclient-wlan0.lease: Permission denied
> Mar 29 15:13:42 localhost dhclient: bound to 192.168.1.101 -- renewal in
> 35376 seconds.
> Mar 29 15:13:42 localhost dhclient: Can't create
> /usr/local/var/run/dhclient-wlan0.pid: Permission denied
> Mar 29 15:13:43 localhost avahi-daemon[2443]: Registering new address record
> for fe80::218:e7ff:fe20:a5fb on wlan0.*.
> Mar 29 15:13:44 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 7 -> 3
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing
> /sbin/dhclient (dhcpc_t) "write" to <Unknown> (usr_t).#012     For complete
> SELinux messages. run sealert -l b88bcdd9-3df7-4ff1-8b4b-3f42b0ad1c4f
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing the
> dhclient (dhcpc_t) from executing <Unknown>.#012     For complete SELinux
> messages. run sealert -l a13b090e-265b-41a3-a988-7fdde73fdf53
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing
> /sbin/dhclient (dhcpc_t) "write" to <Unknown> (usr_t).#012     For complete
> SELinux messages. run sealert -l b88bcdd9-3df7-4ff1-8b4b-3f42b0ad1c4f
> Mar 29 15:13:44 localhost kernel: Linking with orap_abc
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing
> /sbin/dhclient (dhcpc_t) "write" to <Unknown> (usr_t).#012     For complete
> SELinux messages. run sealert -l b88bcdd9-3df7-4ff1-8b4b-3f42b0ad1c4f
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing the
> /sbin/dhclient (dhcpc_t) from executing <Unknown>.#012     For complete
> SELinux messages. run sealert -l a13b090e-265b-41a3-a988-7fdde73fdf53
> Mar 29 15:13:44 localhost setroubleshoot: #012    SELinux is preventing
> dhclient (dhcpc_t) "write" to <Unknown> (usr_t).#012     For complete
> SELinux messages. run sealert -l b88bcdd9-3df7-4ff1-8b4b-3f42b0ad1c4f
> Mar 29 15:13:44 localhost kernel: Linking with orap_abc
> Mar 29 15:13:44 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 3 -> 0
> Mar 29 15:13:45 localhost kernel: Associated successfully
> Mar 29 15:13:45 localhost kernel: Using G rates
> Mar 29 15:13:45 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 0 -> 4
> Mar 29 15:13:45 localhost NetworkManager: <info>  (wlan0) Supplicant
> interface state change: 4 -> 7
> Mar 29 15:14:27 localhost NetworkManager: <info>  Device 'wlan0' DHCP
> transaction took too long (>45s), stopping it.
> Mar 29 15:14:27 localhost NetworkManager: <info>  wlan0: canceled DHCP
> transaction, dhclient pid 5869
> Mar 29 15:14:27 localhost NetworkManager: <info>  Activation (wlan0) Stage 4
> of 5 (IP Configure Timeout) scheduled...
> Mar 29 15:14:27 localhost NetworkManager: <info>  Activation (wlan0) Stage 4
> of 5 (IP Configure Timeout) started...
> Mar 29 15:14:27 localhost NetworkManager: <info>  Activation (wlan0) failed
> for access point (orap_abc)
> Mar 29 15:14:27 localhost NetworkManager: <info>  Marking connection 'Auto
> orap_abc' invalid.
> Mar 29 15:14:27 localhost NetworkManager: <info>  Activation (wlan0) failed.
> Mar 29 15:14:27 localhost NetworkManager: <info>  Deactivating device wlan0.
> Mar 29 15:14:27 localhost kernel: Linking with orap_abc
> Mar 29 15:14:27 localhost kernel: Associated successfully
> Mar 29 15:14:27 localhost kernel: Using G rates
> Mar 29 15:14:27 localhost kernel: rtl8187: Setting SW wep key
> Mar 29 15:14:27 localhost avahi-daemon[2443]: Withdrawing address record for
> fe80::218:e7ff:fe20:a5fb on wlan0.
> Mar 29 15:14:27 localhost NetworkManager: <info>  Activation (wlan0) Stage 4
> of 5 (IP Configure Timeout) complete.
>
>  It's something like an emergency, any answer will be helpful. Thanks.
>
>
>  sincerely,
>
>  Jeanne
>
> ________________________________
> Windows Live Hotmail is giving away Zunes. Enter for your chance to win.
> _______________________________________________
>  NetworkManager-list mailing list
>  NetworkManager-list gnome org
>  http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
>

It looks like selinux is blocking dhclient.   I have never used
selinux so I can't give you any real guidance on fixing the root
problem but if it is an emergency couldn't you just disable selinux?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]