Problems with named in Fedora Core-1
Hong Siew
hpsiew at optusnet.com.au
Tue Dec 23 07:30:29 UTC 2003
Thanks for all your responses, still no joy, the following are from
"tail -f /var/log/messages" command:
Starting BIND 9.2.2-P3 -u named -t /var/named/chroot
Using 1 CPU
Loading configuration from '/etc/named.conf'
Named startup succeeded
No IPv6 interfaces found
Listening on IPv4 interface lo, 127.0.0.1#53
Listening on IPv4 interface eth0, 172.16.1.21#53
Command channel listening on 127.0.0.1#953
Zone aha/IN: loading master file aha.zone: file not found
Running
Named just wouldn't find the aha.zone file. This file is definitely in
/var/named/chroot/var/named directory (double and triple checked). The
permissions are rw-r--r-- with named as the owner and group.
Also checked the /etc/sysconfig/named to make sure
ROOTDIR=/var/named/chroot.
This thing is becoming ultra frustrating... should have stuck with RH9.
-----Original Message-----
From: fedora-list-admin at redhat.com [mailto:fedora-list-admin at redhat.com] On
Behalf Of Alexander Dalloz
Sent: Monday, 22 December 2003 2:00 PM
To: fedora-list at redhat.com
Subject: Re: Problems with named in Fedora Core-1
Am Di, den 23.12.2003 schrieb Sturla Holm Hansen um 02:49:
> /etc/named.conf
No, he is right that the named.conf resides in /var/named/chroot/etc/ If
he uses the chrooted bind. See the init script checks:
# Check that networking is up.
[ "${NETWORKING}" = "no" ] && exit 0
[ -r /etc/sysconfig/named ] && . /etc/sysconfig/named
[ -x /usr/sbin/named ] || exit 0
[ -r ${ROOTDIR}/etc/named.conf ] || exit 0
> On Mon, 2003-12-22 at 02:28, Hong Siew wrote:
> > Starting named from redhat-config-services shows no errors. However,
> > the zones were not loaded. Using tail -f /var/log/messages shows that
> > the zone files were not found. The zone files were definitely in
> > /var/named/chroot/var/named folder.
> >
> >
> >
> > Where and which file do I need to check or modify so that the named
> > knows where the zone files are located.
> >
> >
> >
> > Thanks
So be sure what is set up in /etc/sysconfig/named
(ROOTDIR=/var/named/chroot) and that the permissions of all files are
correct set.
For me the chrooted named configuration works fine. I only made the zone
files by hand and did not use the redhat-config tool.
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
More information about the fedora-list
mailing list