bbhart.com

named-checkzone.exe failing on Windows with INSIST(0) error

Written By: brian - Oct• 18•07

My regular readers will have no idea what I’m talking about. This is for the Googlers out there that come across this.

Trying to run named-checkzone.exe in BIND 9.4.1-P1 fails with:

..\named-checkzone.c:127: INSIST(0) failed.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.

Plus you get one of those Windows ‘Send Error Report’ / ‘Don’t Send’ message boxes.

I only started to notice this in BIND 9.4.1-P1, but it might happen in earlier versions… I haven’t tested. Looking at the source code named-checkzone.c, around line 127:

if (strcmp(prog_name, “named-checkzone”) == 0)
progmode = progmode_check;
else if (strcmp(prog_name, “named-compilezone”) == 0)
progmode = progmode_compile;
else
INSIST(0);

My named-checkzone.exe command line doesn’t match named-checkzone, so it bails… poorly.

Try running named-checkzone, leaving off the .exe. That fixed me up.

Hope this helps.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>