LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2018, 05:25 AM   #1
Shr0912
LQ Newbie
 
Registered: Jan 2018
Posts: 15

Rep: Reputation: Disabled
DHCP Client error- rfc3442-classless-routes returned non-zero exit status 2


Using Debian 4.9.0-3-amd64 virtual machine with following network configuaration.
ifconfig -a
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1460
        inet 10.142.0.2  netmask 255.255.255.255  broadcast 10.142.0.2
        ether 42:01:0a:8e:00:02  txqueuelen 1000  (Ethernet)
        RX packets 36655970  bytes 16550631459 (15.4 GiB)
        RX errors 0  dropped 0  overruns 0  frame 441
        TX packets 50174357  bytes 20433681778 (19.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 142874  bytes 12105334 (11.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 142874  bytes 12105334 (11.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
cat /etc/network/interfaces
Code:
## interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet dhcp#
Issue is /var/log/syslog is flooded with messages as below
Code:
Jan 16 10:10:58 pdp-dev1 root: /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes returned non-zero exit status 2
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPDECLINE on eth0 to 255.255.255.255 port 67
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPREQUEST of 10.142.0.2 on eth0 to 255.255.255.255 port 67
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPOFFER of 10.142.0.2 from 169.254.169.254
Jan 16 10:10:58 pdp-dev1 dhclient[566]: DHCPACK of 10.142.0.2 from 169.254.169.254
Jan 16 10:10:58 pdp-dev1 root: /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes returned non-zero exit status 2
 
Old 01-19-2018, 10:24 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Is syslog ridiculously flooded, like 10,000 messages. If so, you can probably tweak tyhe dhclient script to suppress logging one level higher. Otherwise, if that's the only problem, and everything works correctly, you can ignore it.
 
Old 01-22-2018, 01:10 AM   #3
Shr0912
LQ Newbie
 
Registered: Jan 2018
Posts: 15

Original Poster
Rep: Reputation: Disabled
Logs suppressing didn't worked out for me since the frequency of logs was too high.

Eventually, root disk space got 100% full and my system got crashed. After, i logged in to console to fix up and when the system was booting , i got this message related to dhcp
===
05:32:08 ifup[481]: /sbin/dhclient-script: 28: .: Can't open /usr/share/sendmail/dynamic
==

Created this /usr/share/sendmail/dynamic and issue got resolved.

But i still have this question- I could not see this error anywhere before in the logs. Why is it that so. If i would have got this error before, i could have fixed it up before crash.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] collect2: error: ld returned 1 exit status shogun1234 Programming 4 05-30-2019 01:09 PM
Error: ld returned 1 exit status przi Linux - Software 2 01-06-2016 12:53 PM
[SOLVED] glibc 6.9.1 make error - ld returned 1 exit status JulianD Linux From Scratch 5 01-29-2015 01:23 AM
Error: collect 2: ld returned 1 exit status Rituparna Linux - Software 11 06-25-2009 02:54 PM
konstruct error collect2: ld returned 1 exit status X2O Linux - Software 2 08-11-2004 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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