bind 9.1.3rc2 has been failed
James A Griffin
agriffin at cpcug.org
Thu Jun 28 17:47:42 UTC 2001
Piotr Kasztelowicz wrote:
>
[snip]
> Jun 27 22:01:40 sun /usr/local/sbin/named[15892]: loading configuration from '/e
> tc/named.conf'
> Jun 27 22:01:40 sun /usr/local/sbin/named[15892]: /etc/named.conf:27: syntax err
> or near size
> Jun 27 22:01:40 sun /usr/local/sbin/named[15892]: loading configuration: failure
> Jun 27 22:01:40 sun /usr/local/sbin/named[15892]: exiting (due to fatal error)
You are correct in looking for the error at or near line 27 in
named.conf.
>
> and /etc/named.conf is
>
> // generated by named-bootconf.pl
>
> options {
> directory "/usr/lib/named";
> forwarders { 158.75.3.14;};
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> dump-file "/usr/lib/named";
> };
> logging {
>
> channel logdns {
> file "/var/tmp/named.run";
> print-time yes;
> print-severity no;
> print-category yes;
> severity info;
> };
> channel log-queries {
> file "/var/tmp/dnsqueries.log";
---------- Delete the ';' --------------------------------------^
> size 100000; };
> ^^^^^^^^^^^^^^^^
the proper syntax for 'file' looks like this, note that the version and
size options are part of the statement.
file "/var/log/named/security.log" versions 2 size 2m;
> category default { logdns; };
> category config { null; };
> category parser { null; };
> category queries { null; };
> category update { logdns; };
> category xfer-out { logdns; };
> category xfer-in { logdns; };
> category db { null; };
> category eventlib { null; };
> category packet { null; };
> ................
>
> the error is on line wich is marked by me with ^^^^^^
Thank you for including both the log messages and the config file. It
make it possible to help.
Regards,
Jim
More information about the bind-users
mailing list