From owner-freebsd-isp@FreeBSD.ORG Thu Jul 6 00:33:22 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C19916A4DD for ; Thu, 6 Jul 2006 00:33:22 +0000 (UTC) (envelope-from kwoody@citytel.net) Received: from mail.citytel.net (mail.citytel.net [209.145.111.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60B1B43D45 for ; Thu, 6 Jul 2006 00:33:22 +0000 (GMT) (envelope-from kwoody@citytel.net) Received: from pop.citytel.net (pop.citytel.net [204.244.98.50]) by mail.citytel.net (Postfix) with ESMTP id A981167EC6 for ; Wed, 5 Jul 2006 17:33:21 -0700 (PDT) Date: Wed, 5 Jul 2006 17:33:21 -0700 (PDT) From: Keith Woodworth To: freebsd-isp@freebsd.org Message-ID: <20060705172226.I72183@pop.citytel.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: DHCP error. X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 00:33:22 -0000 Hi. Having an issue with dhcpd. Fairly new install of a FreeBSD 6.0 machine, not in production yet. Installed dhcp 3.0.3 from ports. Made it without jail and chroot and was getting: Jul 4 10:00:00 netreg dhcpd: unable to create icmp socket: Operation not permitted Jul 4 10:00:00 netreg dhcpd: Can't open /var/db/dhcpd.leases for append. Dug around for a while and best I could find was that the icmp socket error was due to BPF, which was still in my kernel. All permissions were the same as Ive got two other dhcp servers, one under BSD/OS and one under FBSD 4.8, both with slightly older versions of dhcp running on them and have had for 3+ yrs. I'm putting in a new dhcp server to take the place of the other two. I deinstalled the port and installed the latest dhcp 3.0.4 from source. Was still getting the errors. Went back to the original generic kernel, still same errors. Since the day I installed dhcp and added it to rc.conf I'm getting messages from: From: Cron /usr/libexec/save-entropy Internet Systems Consortium DHCP Server V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ unable to create icmp socket: Operation not permitted Can't open /var/db/dhcpd.leases for append. Anyone lend a clue or two here on why the append and icmp errors are coming up? Thanks, Keith