Named Error
Doug Barton
dougb at FreeBSD.org
Mon May 28 09:41:06 UTC 2012
On 05/28/2012 02:36, Shiv. NK wrote:
>
>> 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
Then it's definitely a PATH problem. Use the service method described
above and the problem will go away.
FYI, you almost certainly do not need to restart named via a cron job.
You probably want to write to bind-users at isc.org and describe what
you're trying to accomplish, and they can give you better suggestions on
how to do it.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-stable
mailing list