Help with sdb/pgsql zonetodb

Enrico Pelletta enrico at it.kth.se
Thu Aug 11 15:17:00 UTC 2005


Hi!

I'm trying to making working Bind 9.3.1 with sdb/pgsql on Debian 3.1
running postgresql 7.4.7.

I built and installed bind with sdb/pgsql. Now, I would like to use
zonetodb to add into my DB a test zone. The tool successfully compiled
but when I run:

./zonetodb mydom.net myzonefile zonesDB t_zone

I always get the error message:

hash.c:383: INSIST(hash != ((void *)0) && ((((hash)) != ((void *)0)) &&
(((const isc__magic_t *)((hash)))->magic == ((('H') << 24 | ('a') << 16
| ('s') << 8 | ('h')))))) failed.
Aborted

It seems zonetodb fails when running the following main function line:.

result = dns_db_create(mctx, "rbt", origin,
dns_dbtype_zone,dns_rdataclass_in, 0, NULL, &db);

I have token a look around without founding any kind of tips. I'm new to
bind/sdb and any help will be really welcome!
Thank!

    Enrico.



More information about the bind-users mailing list