error message on NAMEDB_MAGIC inconsistency
Koh-ichi Ito
kohi at bbtower.co.jp
Tue Jan 11 06:26:32 UTC 2005
Hello, Miek
At Fri, 7 Jan 2005 09:57:03 +0100,
Miek Gieben wrote:
>
> yes, you're right, but I don't see a quick fix.
>
> namedb_open() returns NULL on error, so there is currently no
> difference between a database error or a 'file not found' error.
>
> Maybe dropping the whole log_msg() from server.c would be an idea,
> and leave the error reporting in namedb_open().
I see.
Fixing it makes NSD to be more friendly with new-comer, I
guess.
Changing the message as "NAMEDB_MAGIC in nsd.db is older" or
something rather than just "corrupted database" must better.
Thanks
Koh-ichi Ito
More information about the nsd-users
mailing list