Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error: already exists previous definition

950 views
Skip to first unread message

Active Venture - Tom

unread,
Jul 20, 2012, 4:40:20 PM7/20/12
to bind-...@lists.isc.org
Hi

We have getting a lot of errors like the following from our BIND 9
servers (9.5.1.1):

20-Jul-2012 15:26:40.181 config: error:
/var/named/etc/namedb/conf/zone_0.conf:1529: zone 'xxxxx.net':
already exists previous definition: /var/named/etc/namedb/conf/zone_0.conf:1529
20-Jul-2012 15:26:46.270 general: error: reloading configuration
failed: failure

This has never ever happened before and the problem only started a
few days day, and we did not make any changes to our BIND servers. In
fact, we have using the same set up and configuration for over 3
years without any problem until now.

The puzzling aspect is, there is NO duplicated config or zone entries
at all for the domains listed in such error. In this instance, this
is the only line found in zone_0.conf:

zone "xxxxx.net" {type master; file
"/var/named/etc/namedb/zones/0/xxxxx.net"; notify no; };

I will appreciate greatly if someone could offer any advise or idea
as to what's exactly causing such errors? Thanks vert much.

Regards,

Tom

Tony Finch

unread,
Jul 20, 2012, 4:56:52 PM7/20/12
to Active Venture - Tom, bind-...@lists.isc.org
On 20 Jul 2012, at 21:40, Active Venture - Tom <t...@active-venture.com> wrote:
>
> 20-Jul-2012 15:26:40.181 config: error: /var/named/etc/namedb/conf/zone_0.conf:1529: zone 'xxxxx.net': already exists previous definition: /var/named/etc/namedb/conf/zone_0.conf:1529
> 20-Jul-2012 15:26:46.270 general: error: reloading configuration failed: failure
>
> The puzzling aspect is, there is NO duplicated config or zone entries at all for the domains listed in such error.

Are there any duplicate include directives?

Tony.
--
f.anthony.n.finch <d...@dotat.at> http://dotat.at/

Mark Andrews

unread,
Jul 20, 2012, 7:23:40 PM7/20/12
to Active Venture - Tom, bind-...@isc.org

In message <2012072020405...@da1.active-domain.com>, Active Venture -
Tom writes:
> Hi
>
> We have getting a lot of errors like the following from our BIND 9
> servers (9.5.1.1):

9.5.1 has know security flaws and was end of lifed several years ago.

> 20-Jul-2012 15:26:40.181 config: error:
> /var/named/etc/namedb/conf/zone_0.conf:1529: zone 'xxxxx.net':
> already exists previous definition: /var/named/etc/namedb/conf/zone_0.conf:15
> 29
> 20-Jul-2012 15:26:46.270 general: error: reloading configuration
> failed: failure
>
> This has never ever happened before and the problem only started a
> few days day, and we did not make any changes to our BIND servers.

That you remember or someone is honest enough to admit to.

The error looks like you have included a configuration file twice.

> In
> fact, we have using the same set up and configuration for over 3
> years without any problem until now.
>
> The puzzling aspect is, there is NO duplicated config or zone entries
> at all for the domains listed in such error. In this instance, this
> is the only line found in zone_0.conf:
>
> zone "xxxxx.net" {type master; file
> "/var/named/etc/namedb/zones/0/xxxxx.net"; notify no; };
>
> I will appreciate greatly if someone could offer any advise or idea
> as to what's exactly causing such errors? Thanks vert much.
>
> Regards,
>
> Tom
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
> from this list
>
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org

Active Venture - Tom

unread,
Jul 21, 2012, 3:34:14 AM7/21/12
to Tony Finch, bind-...@lists.isc.org
Hi

No, there's no duplicated directives in the zone file. For example, here's the zone for another domain with the same error and here are the only directives:

$ORIGIN   xxxxx.com.
$TTL   3600

Tom


At 20-07-2012 09:56 PM +0100, Tony Finch wrote:
On 20 Jul 2012, at 21:40, Active Venture - Tom <t...@active-venture.com> wrote:
>
> 20-Jul-2012 15:26:40.181 config: error: /var/named/etc/namedb/conf/zone_0.conf:1529: zone 'xxxxx.net': already exists previous definition: /var/named/etc/namedb/conf/zone_0.conf:1529
> 20-Jul-2012 15:26:46.270 general: error: reloading configuration failed: failure
>
> The puzzling aspect is, there is NO duplicated config or zone entries at all for the domains listed in such error.

Jan-Piet Mens

unread,
Jul 21, 2012, 4:12:44 AM7/21/12
to bind-...@lists.isc.org
> 20-Jul-2012 15:26:40.181 config: error:
> /var/named/etc/namedb/conf/zone_0.conf:1529: zone 'xxxxx.net':
> already exists previous definition:
> /var/named/etc/namedb/conf/zone_0.conf:1529
> 20-Jul-2012 15:26:46.270 general: error: reloading configuration
> failed: failure

That looks very suspiciously like a file which has been included twice.
Check again. And again. :)

> This has never ever happened before and the problem only started a
> few days day, and we did not make any changes to our BIND servers.

Are you quite sure? What are the modification times of named.conf and
*all files* it includes? [ls -l]

What does `named-checkconf' report?

Oh, and while you're at it, you should upgrade BIND -- the version you
are using is pretty old.

-JP

0 new messages