X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by lists.alpinelinux.org (Postfix) with ESMTP id CF9E8618EB4 for ; Tue, 18 Aug 2009 06:24:20 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so1089741qwb.13 for ; Mon, 17 Aug 2009 23:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=/617TrxHpZUIIxSdkELKlPG2wvFD8FtNNHKaIETVIFI=; b=obXRKHECjjn+Nz/ua602Phk/WypbFUs4CDQN0UoxMTggqEyUk95regaE9VeYjJfZ2h DPZSjVX3BwLJIRZ6rBc21IC4Wi2uTasUqApy+9giKomO0UuJNcKcGFFClTV90uEZvMvA My5vRaWVj+zLE5rW7tOEQYxyl8hLDTohQW6Rc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:date:x-google-sender-auth:message-id :subject:from:to:content-type; b=gvdtwbpyE26QVSeLmgJ+dmBa1gsej2liB6GuSrZuGeOG3FYs+8XWW50BxdWsUDOqkX XVJ65egrpcEjYYCm0MUpEgJPQTlnao6Q5xWhHLSrHTNJPZqT0wrlEaeUBcKE87CA7wv1 vRxfzmjx8nzfrEHqBLgDMEOaAEPwlA2ZSHM14= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Sender: jeremythomerson@gmail.com Reply-To: jeremy@thomersonfamily.com Received: by 10.229.23.212 with SMTP id s20mr2250714qcb.71.1250576659810; Mon, 17 Aug 2009 23:24:19 -0700 (PDT) Date: Tue, 18 Aug 2009 01:24:19 -0500 X-Google-Sender-Auth: 7761e1193f5934ce Message-ID: <6602aeca0908172324s16b0e14bydfd41b2e0be606@mail.gmail.com> Subject: [alpine-devel] dhcpd won't start automatically From: Jeremy Thomerson To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=0016368340d8928b7a04716491cf --0016368340d8928b7a04716491cf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit My new router is almost completely setup (shorewall, openvpn server, dns, etc). I have one problem, though. I've added dhcpd to the default runlevel, and it tries to start on a reboot, but it doesn't start automatically. If I sign in to the box and start the service manually, it starts fine. I think the problem has to do with ipv6 not being loaded BEFORE dhcpd tries to start. I've pasted the relevant part of /var/log/messages below. I've tried adding ipv6 to /etc/modules. After the box finishes booting, '/proc/net/if_inet6' exists, so I think that it may be just an order of operations problem. I also tried disabling ipv6 support in dhcpd by specifying "-4" in the config. However, I think the following bug may be causing this to fail: http://bugs.archlinux.org/task/12792 Any suggestions? Thanks! Jeremy Thomerson Aug 18 06:18:04 thomerson-rt01 daemon.info dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1 Aug 18 06:18:04 thomerson-rt01 daemon.info dhcpd: Copyright 2004-2009 Internet Systems Consortium. Aug 18 06:18:04 thomerson-rt01 daemon.info dhcpd: All rights reserved. Aug 18 06:18:04 thomerson-rt01 daemon.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1 Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Copyright 2004-2009 Internet Systems Consortium. Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: All rights reserved. Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1 Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Copyright 2004-2009 Internet Systems Consortium. Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: All rights reserved. Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Wrote 0 leases to leases file. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Can't get list of interfaces. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: If you did not get this software from ftp.isc.org, please Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: get the latest from ftp.isc.org and install that before Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: requesting help. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: If you did get this software from ftp.isc.org and have not Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: yet read the README, please read it before requesting help. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: If you intend to request help from the dhcp-server@isc.org Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: mailing list, please read the section on the README about Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: submitting bug reports and requests for help. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Please do not under any circumstances send requests for Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: help directly to the authors of this software - please Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: send them to the appropriate mailing list as described in Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: the README file. Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: exiting. Aug 18 06:18:04 thomerson-rt01 daemon.err /etc/init.d/dhcpd[1114]: start-stop-daemon: failed to start `/usr/sbin/dhcpd' Aug 18 06:18:04 thomerson-rt01 daemon.err /etc/init.d/dhcpd[1098]: ERROR: dhcpd failed to start --0016368340d8928b7a04716491cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable My new router is almost completely setup (shorewall, openvpn server, dns, e= tc).=A0 I have one problem, though.=A0 I've added dhcpd to the default = runlevel, and it tries to start on a reboot, but it doesn't start autom= atically.=A0 If I sign in to the box and start the service manually, it sta= rts fine.

I think the problem has to do with ipv6 not being loaded BEFORE dhcpd t= ries to start.=A0 I've pasted the relevant part of /var/log/messages be= low.=A0 I've tried adding ipv6 to /etc/modules.=A0 After the box finish= es booting, '/proc/net/if_inet6' exists, so I think that it may be = just an order of operations problem.

I also tried disabling ipv6 support in dhcpd by specifying "-4&quo= t; in the config.=A0 However, I think the following bug may be causing this= to fail:
http://bugs.a= rchlinux.org/task/12792

Any suggestions?

Thanks!
Jeremy Thomerson

Aug 18 06:18= :04 thomerson-rt01 daemon.info dhcpd: In= ternet Systems Consortium DHCP Server 4.1.0p1
Aug 18 06:18:04 thomerson-= rt01 daemon.info dhcpd: Copyright 2004-2= 009 Internet Systems Consortium.
Aug 18 06:18:04 thomerson-rt01 daemon.info dhcpd: All rights reserved.
Aug 18 06:18:04 thomerson-rt01
daemon.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1
Aug 18 06:18:0= 4 thomerson-rt01
local7.info dhcpd: Copy= right 2004-2009 Internet Systems Consortium.
Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: All rights reserved.
Aug 18 06:18:04 thomerson-rt01
local7.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1
Aug 18 06:18:0= 4 thomerson-rt01
local7.info dhcpd: Copy= right 2004-2009 Internet Systems Consortium.
Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: All rights reserved.
Aug 18 06:18:04 thomerson-rt01
local7.info dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 18 06:18:04 thomerson-rt01 local7.info dhcpd: Wrote 0 leases to leases file.
Aug 18 06:18:04 thomerson-rt01 = local7.err dhcpd: Error opening '/proc/net/if_inet6' to list IPv6 i= nterfaces; No such file or directory
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Can't get list of inte= rfaces.
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd:
Aug 18 06:1= 8:04 thomerson-rt01 local7.err dhcpd: If you did not get this software from=
ftp.isc.org, please
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: get the latest from ftp.isc.org and install that before
Aug 18 = 06:18:04 thomerson-rt01 local7.err dhcpd: requesting help.
Aug 18 06:18:= 04 thomerson-rt01 local7.err dhcpd:
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: If you did get this softwa= re from ftp.isc.org and have not
Aug = 18 06:18:04 thomerson-rt01 local7.err dhcpd: yet read the README, please re= ad it before requesting help.
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: If you intend to request h= elp from the dhcp-server@isc.org=
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: mailing list, please r= ead the section on the README about
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: submitting bug reports and= requests for help.
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: Please do not under any c= ircumstances send requests for
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd: help directly to the autho= rs of this software - please
Aug 18 06:18:04 thomerson-rt01 local7.err d= hcpd: send them to the appropriate mailing list as described in
Aug 18 0= 6:18:04 thomerson-rt01 local7.err dhcpd: the README file.
Aug 18 06:18:04 thomerson-rt01 local7.err dhcpd:
Aug 18 06:18:04 thomer= son-rt01 local7.err dhcpd: exiting.
Aug 18 06:18:04 thomerson-rt01 daemo= n.err /etc/init.d/dhcpd[1114]: start-stop-daemon: failed to start `/usr/sbi= n/dhcpd'
Aug 18 06:18:04 thomerson-rt01 daemon.err /etc/init.d/dhcpd[1098]: ERROR: d= hcpd failed to start

--0016368340d8928b7a04716491cf-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---