versions: syntax error
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Wed Jun 30 13:11:08 UTC 1999
> I can't figure out what's wrong with my named.conf:
>
> The error message is:
> Jun 30 12:26:56 ns named[12904]: /usr/local/namedb.test/named.conf:227: synta
> x error near versions
>
>
> logging {
> channel securitylog {
> file "/var/adm/bind.denied";
> /* keep 3 files of 60Mbytes */
> versions 3 size 60M;
You have a ";" in the middle of the definition.
The correct syntax is:
file "/var/adm/bind.denied" versions 3 size 60M;
This can be split over multiple lines.
Mark
> severity info;
> print-time yes;
> };
> category security {
> securitylog;
> };
> };
>
> I also tried to put versions and size on two different lines,
> because the samples on the ISC documentation pages might be
> wrong formatted.
>
> versions 3;
> size 60M;
>
> That gave the exact same error as above. Yes, it IS line 227.
>
> --
> Med venlig hilsen / Regards
> Netdriftgruppen / Network Management Group
> UNI-C
>
> Tlf./Phone +45 35 87 89 41 Mail: UNI-C
>
> Fax. +45 35 87 89 90 Bygning 304
> E-mail: torben.fjerdingstad at uni-c.dk DK-2800 Lyngby
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list