From owner-freebsd-stable@FreeBSD.ORG Mon May 28 09:36:52 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3802F106566B; Mon, 28 May 2012 09:36:52 +0000 (UTC) (envelope-from prabhpal@digital-infotech.net) Received: from mail.digital-infotech.net (mail.digital-infotech.net [41.211.25.193]) by mx1.freebsd.org (Postfix) with ESMTP id CC1EC8FC0C; Mon, 28 May 2012 09:36:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.digital-infotech.net (Postfix) with ESMTP id 7868F2E40FE; Mon, 28 May 2012 09:36:49 +0000 (GMT) Received: from mail.digital-infotech.net ([127.0.0.1]) by localhost (mail.digital-infotech.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 81483-04; Mon, 28 May 2012 09:36:49 +0000 (GMT) Received: from mail.digital-infotech.net (localhost [127.0.0.1]) by mail.digital-infotech.net (Postfix) with ESMTP id DE0112E4002; Mon, 28 May 2012 09:36:48 +0000 (GMT) X-DKIM: OpenDKIM Filter v2.5.0 mail.digital-infotech.net DE0112E4002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digital-infotech.net; s=digital; t=1338197809; bh=8Kw7J25VUI5aoSoEyGCB1RBbogZpyEd4kcsw/XD+PDE=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=hL2G0XGE0HAx+mI5T3xeAnE1cwSkZUwreYa2dFGP9b/V0MSn7FGj+HLEILd30Ea5k 861WsBtbwRtP9OiEj13g871udtWx0xDQefkcezzGP5gMu2g8roBFoxGxwYFWH6+t++ fiyuS6xopluUJrzWqL8CohukTbPF3iFGZBq3fy8Y= Received: from 41.211.28.2 (SquirrelMail authenticated user prabhpal@digital-infotech.net) by mail.digital-infotech.net with HTTP; Mon, 28 May 2012 09:36:49 -0000 Message-ID: In-Reply-To: <4FC33EEC.4040703@FreeBSD.org> References: <4FC33EEC.4040703@FreeBSD.org> Date: Mon, 28 May 2012 09:36:49 -0000 From: "Shiv. NK" To: "Doug Barton" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org Subject: Re: Named Error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: prabhpal@digital-infotech.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 09:36:52 -0000 > On 05/28/2012 01:28, Shiv. NK wrote: >> eval: mtree: not found >> eval: mount: not found > > I assume you're typing '/etc/rc.d/named restart'. If so, there appears > to be something wrong with your PATH in that shell. > > Try doing 'service named restart' instead. > > Doug Dear D. Barton, thanks for your response, i forgot to tell that the error i reported above is generated when named is restarted using bash script through cron. But if i manually restart from terminal window, both commands works just fine. without any error /etc/rc.d/named restart service named restart i appreciate your kind assistance.