From: Qiang <linux.liuqiang@163.com>
To: linux-newbie@vger.kernel.org
Subject: Please help me solve the problem about dict and dictd.
Date: Sat, 21 Jan 2006 15:01:50 +0800 [thread overview]
Message-ID: <m3r7723vz5.fsf@163.com> (raw)
Hello, guys!
Those days, I installed dictd-1.9.15.tar.gz
and some dictionary database at the same time.
Lastly, binary "dictd" and "dict" were installed in the directory
"/usr/local/sbin" and "/usr/local/bin" respectively.
Below are my "/etc/dictd.conf" and
"/etc/dict.conf"(dict.conf is as the same as ~/.dictrc):
****************************************
$ cat /etc/dictd.conf
access {
allow localhost
allow 127.0.0.1
}
database web1913 { data "/usr/lib/dict/web1913.dict.dz"
index "/usr/lib/dict/web1913.index" }
database wn { data "/usr/lib/dict/wn.dict.dz"
index "/usr/lib/dict/wn.index" }
database gazetteer { data "/usr/lib/dict/gazetteer.dict.dz"
index "/usr/lib/dict/gazetteer.index" }
****************************************
$ cat /etc/dict.conf
server localhost
server dict.org
****************************************
****************************************
Next, I ran the command "/usr/local/sbin/dictd".
But I did not find it in the procedure list.
I also ran the command "dict zoo -c ~/.dictrc -h localhost".
But terminal told me:
Cannot connect to any servers (use -v to see why)
If I ran the command "dict zoo",
terminal gave me the explanation of "zoo".
I am confused.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2006-01-21 7:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-21 7:01 Qiang [this message]
2006-01-21 11:50 ` Please help me solve the problem about dict and dictd hackmiester (Hunter Fuller)
2006-01-21 12:05 ` Qiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r7723vz5.fsf@163.com \
--to=linux.liuqiang@163.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.