1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�6.�FAQ</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><link rel="home" href="index.html" title="ZoneCheck II"><link rel="up" href="index.html" title="ZoneCheck II"><link rel="previous" href="ch05s02.html" title="Output"><link rel="next" href="ch07.html" title="Chapter�7.�Writing tests"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="id2546903"></a>Chapter�6.�FAQ</h2></div></div><div class="qandaset"><dl><dt>6.1. <a href="ch06.html#id2546921">Where can I find documentation about ruby?</a></dt><dt>6.2. <a href="ch06.html#id2546944">I don't have IPv6 connectivity but ZoneCheck is still
2
using IPv6 addresses.</a></dt><dt>6.3. <a href="ch06.html#id2560003">I want to use an interface other than the CLI.</a></dt><dt>6.4. <a href="ch06.html#id2560051">The -d lvl
3
option doesn't display earlier debugging messages</a></dt><dt>6.5. <a href="ch06.html#id2561110">I would like to easily test ZoneCheck without doing a full
4
installation.</a></dt><dt>6.6. <a href="ch06.html#id2561131">Why do I get rubish or wrong results when doing the
5
icmp test</a></dt><dt>6.7. <a href="ch06.html#id2561176">Why did I get strange characters when using a locale
6
other than US/English?</a></dt><dt>6.8. <a href="ch06.html#id2561192">ZoneCheck complains about the lack of TCP connectivity
7
for a djbdns/tinydns name server.</a></dt><dt>6.9. <a href="ch06.html#id2561212">ZoneCheck crash when reading configuration files or
8
the message catalog</a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id2546921"></a><a name="id2546923"></a><b>6.1. </b></td><td align="left" valign="top"><p>Where can I find documentation about ruby?</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Try the offical Ruby website: <a href="http://www.ruby-lang.org/" target="_top">http://www.ruby-lang.org/</a></p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2546944"></a><a name="id2546946"></a><b>6.2. </b></td><td align="left" valign="top"><p>I don't have IPv6 connectivity but ZoneCheck is still
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�6.�FAQ</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><link rel="home" href="index.html" title="ZoneCheck II"><link rel="up" href="index.html" title="ZoneCheck II"><link rel="previous" href="ch05s02.html" title="Output"><link rel="next" href="ch07.html" title="Chapter�7.�Writing tests"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="id2546898"></a>Chapter�6.�FAQ</h2></div></div><div class="qandaset"><dl><dt>6.1. <a href="ch06.html#id2546916">Where can I find documentation about ruby?</a></dt><dt>6.2. <a href="ch06.html#id2546938">I don't have IPv6 connectivity but ZoneCheck is still
2
using IPv6 addresses.</a></dt><dt>6.3. <a href="ch06.html#id2546958">I want to use an interface other than the CLI.</a></dt><dt>6.4. <a href="ch06.html#id2560045">The -d lvl
3
option doesn't display earlier debugging messages</a></dt><dt>6.5. <a href="ch06.html#id2561105">I would like to easily test ZoneCheck without doing a full
4
installation.</a></dt><dt>6.6. <a href="ch06.html#id2561126">Why do I get rubish or wrong results when doing the
5
icmp test</a></dt><dt>6.7. <a href="ch06.html#id2561171">Why did I get strange characters when using a locale
6
other than US/English?</a></dt><dt>6.8. <a href="ch06.html#id2561187">ZoneCheck complains about the lack of TCP connectivity
7
for a djbdns/tinydns name server.</a></dt><dt>6.9. <a href="ch06.html#id2561207">ZoneCheck crash when reading configuration files or
8
the message catalog</a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id2546916"></a><a name="id2546918"></a><b>6.1. </b></td><td align="left" valign="top"><p>Where can I find documentation about ruby?</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Try the offical Ruby website: <a href="http://www.ruby-lang.org/" target="_top">http://www.ruby-lang.org/</a></p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2546938"></a><a name="id2546940"></a><b>6.2. </b></td><td align="left" valign="top"><p>I don't have IPv6 connectivity but ZoneCheck is still
9
9
using IPv6 addresses.</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>ZoneCheck only look for an enabled IPv6 stack to
10
10
authorize the use of IPv6 addresses. It would be a good idea
11
11
to disable the IPv6 stack on your computer if you don't have
12
12
the connectivity or you can use the <tt>-4</tt>
13
option to force IPv4 only connectivity.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2560003"></a><a name="id2560005"></a><b>6.3. </b></td><td align="left" valign="top"><p>I want to use an interface other than the CLI.</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Use the environment variable <tt>ZC_INPUT</tt>
13
option to force IPv4 only connectivity.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2546958"></a><a name="id2560000"></a><b>6.3. </b></td><td align="left" valign="top"><p>I want to use an interface other than the CLI.</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Use the environment variable <tt>ZC_INPUT</tt>
14
14
set to your input mode, or use the command line option
15
15
<tt>--INPUT=<i><tt>im</tt></i></tt>.
16
16
The input modes currently supported are <tt>CLI</tt>,
17
17
<tt>CGI</tt>, <tt>inetd</tt>
18
and <tt>GTK</tt></p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2560051"></a><a name="id2560053"></a><b>6.4. </b></td><td align="left" valign="top"><p>The <tt>-d <i><tt>lvl</tt></i></tt>
18
and <tt>GTK</tt></p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2560045"></a><a name="id2560048"></a><b>6.4. </b></td><td align="left" valign="top"><p>The <tt>-d <i><tt>lvl</tt></i></tt>
19
19
option doesn't display earlier debugging messages</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Some debugging messages are sent before the debugging
20
20
level is initialised by the command line, in this case use the
21
21
environment variable <tt>ZC_DEBUG</tt> set to the
22
22
desired level. But keep in mind that <tt>ZC_DEBUG</tt>
23
23
will be overrided by the
24
<tt>-d <i><tt>lvl</tt></i></tt> option.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561110"></a><a name="id2561112"></a><b>6.5. </b></td><td align="left" valign="top"><p>I would like to easily test ZoneCheck without doing a full
24
<tt>-d <i><tt>lvl</tt></i></tt> option.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561105"></a><a name="id2561107"></a><b>6.5. </b></td><td align="left" valign="top"><p>I would like to easily test ZoneCheck without doing a full
25
25
installation.</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>You can define the environment variable
26
26
<tt>ZC_INSTALL_PATH</tt> to the initial ZoneCheck
27
directory.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561131"></a><a name="id2561133"></a><b>6.6. </b></td><td align="left" valign="top"><p>Why do I get rubish or wrong results when doing the
27
directory.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561126"></a><a name="id2561128"></a><b>6.6. </b></td><td align="left" valign="top"><p>Why do I get rubish or wrong results when doing the
28
28
<tt>icmp</tt> test</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>ZoneCheck use the command ping to
29
29
perform this test, so you should set the constants
30
30
<tt>ping4</tt> and <tt>ping6</tt> in
32
32
is correctly invoked: stop after 5 echo requests, doesn't
33
33
output messages, and return an exit code of 0 in case of success.
34
34
</p><p>If you are using ZoneCheck on the Window plateform, you better
35
remove the test.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561176"></a><a name="id2561178"></a><b>6.7. </b></td><td align="left" valign="top"><p>Why did I get strange characters when using a locale
35
remove the test.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561171"></a><a name="id2561173"></a><b>6.7. </b></td><td align="left" valign="top"><p>Why did I get strange characters when using a locale
36
36
other than US/English?</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>The default encoding is UTF-8, either you can
37
37
configure your terminal to use UTF-8, or you can specify
38
38
the desired encoding after the locale by using a dot
39
39
as separator (ex: LANG=fr.latin1); in the last case
40
the ruby-iconv package should have been installed.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561192"></a><a name="id2561194"></a><b>6.8. </b></td><td align="left" valign="top"><p>ZoneCheck complains about the lack of TCP connectivity
40
the ruby-iconv package should have been installed.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561187"></a><a name="id2561189"></a><b>6.8. </b></td><td align="left" valign="top"><p>ZoneCheck complains about the lack of TCP connectivity
41
41
for a djbdns/tinydns name server.</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>Unfortunately, by default, djbdns/tinydns does not
42
listen on TCP. See <a href="http://cr.yp.to/djbdns/tcp.html" target="_top">http://cr.yp.to/djbdns/tcp.html</a> to enable it.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561212"></a><a name="id2561214"></a><b>6.9. </b></td><td align="left" valign="top"><p>ZoneCheck crash when reading configuration files or
42
listen on TCP. See <a href="http://cr.yp.to/djbdns/tcp.html" target="_top">http://cr.yp.to/djbdns/tcp.html</a> to enable it.</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2561207"></a><a name="id2561209"></a><b>6.9. </b></td><td align="left" valign="top"><p>ZoneCheck crash when reading configuration files or
43
43
the message catalog</p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>REXML is used to parse the XML files, but it only
44
44
checks for well formed XML and doesn't perform validation
45
45
against the DTD, so when you edit the configuration file or