From owner-freebsd-questions@FreeBSD.ORG Mon Feb 10 11:09:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 230ABA06 for ; Mon, 10 Feb 2014 11:09:25 +0000 (UTC) Received: from bela.nlnetlabs.nl (bela.nlnetlabs.nl [IPv6:2001:7b8:206:1:222:4dff:fe55:4ccb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFC731180 for ; Mon, 10 Feb 2014 11:09:24 +0000 (UTC) Received: from bela.nlnetlabs.nl (localhost [IPv6:::1]) by bela.nlnetlabs.nl (8.14.8/8.14.7) with ESMTP id s1AB9Gat045748; Mon, 10 Feb 2014 12:09:18 +0100 (CET) (envelope-from jaap@NLnetLabs.nl) Authentication-Results: bela.nlnetlabs.nl; dmarc=none header.from=NLnetLabs.nl Message-Id: <201402101109.s1AB9Gat045748@bela.nlnetlabs.nl> To: Iqbal Aroussi Subject: Re: NSD 4.0.1 wont start after upgrad From: Jaap Akkerhuis In-reply-to: References: Comments: In-reply-to Iqbal Aroussi message dated "Sat, 08 Feb 2014 13:44:49 -0500." Date: Mon, 10 Feb 2014 12:09:16 +0100 X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, MISSING_MID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on bela.nlnetlabs.nl X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.4.3 (bela.nlnetlabs.nl [IPv6:::1]); Mon, 10 Feb 2014 12:09:19 +0100 (CET) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 11:09:25 -0000 Oops. Any Suggestions ? Best Regards The wrong rc file ended up in the port. Use the one below. A port revision will be out soon. For the time being use the file below. Apologies. jaap #!/bin/sh # # $FreeBSD: head/dns/nsd/files/nsd.in 333569 2013-11-12 13:24:45Z erwin $ # # PROVIDE: nsd # REQUIRE: DAEMON # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable nsd: # # nsd_enable="YES" # : ${nsd_enable="NO"} . /etc/rc.subr name=nsd rcvar=nsd_enable config=${nsd_config:=/usr/local/etc/nsd/nsd.conf} required_files=${config} pidfile=`/usr/local/sbin/nsd-checkconf -o pidfile ${config}` command="/usr/local/sbin/nsd" command_args="-c ${required_files}" extra_commands="reload" load_rc_config $name run_rc_command "$1"