DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Debian 11.3 w/dictd 1.13.0+dfsg-1, Debian-based w/1.12.1+dfsg-8, and copied in dictd-dicts. Same configuration working on *BSD Unix & Slackware GNU/Linux doesn't work on Debian[-based.] What did Debian alter/break from strictly Unix[-like] OS you have to update to get to work? (configuration & output below is identical on Debian & Debian-based.)
#/etc/dictd/dict.conf
server localhost
server dict
server dict.org
server dict0.us.dict.org
server alt0.dict.org
Code:
#/etc/dictd/dictd.conf
global {
listen_to 127.0.0.1
}
access {
allow localhost
allow 127.0.0.1
}
include /var/lib/dictd/db.list
Code:
root@desktop:~# dictdconfig -l
[...]
database web1913
{
data /usr/share/dictd/web1913.dict.dz
index /usr/share/dictd/web1913.index
}
database gcide
{
data /usr/share/dictd/gcide.dict.dz
index /usr/share/dictd/gcide.index
}
database wn
{
data /usr/share/dictd/wn.dict.dz
index /usr/share/dictd/wn.index
}
database foldoc
{
data /usr/share/dictd/foldoc.dict.dz
index /usr/share/dictd/foldoc.index
}
database jargon
{
data /usr/share/dictd/jargon.dict.dz
index /usr/share/dictd/jargon.index
}
database vera
{
data /usr/share/dictd/vera.dict.dz
index /usr/share/dictd/vera.index
}
database elements
{
data /usr/share/dictd/elements.dict.dz
index /usr/share/dictd/elements.index
}
database easton
{
data /usr/share/dictd/easton.dict.dz
index /usr/share/dictd/easton.index
}
database hitchcock
{
data /usr/share/dictd/hitchcock.dict.dz
index /usr/share/dictd/hitchcock.index
}
database gaz
{
data /usr/share/dictd/gazetteer.dict.dz
index /usr/share/dictd/gazetteer.index
}
database moby-thesaurus
{
data /usr/share/dictd/moby-thesaurus.dict.dz
index /usr/share/dictd/moby-thesaurus.index
}
database devils
{
data /usr/share/dictd/devils.dict.dz
index /usr/share/dictd/devils.index
}
database world95
{
data /usr/share/dictd/world95.dict.dz
index /usr/share/dictd/world95.index
}
Code:
#/etc/dictd/dictd.order
web1913 gcide wn foldoc jargon vera devil elements easton hitchcock gazetteer
/usr/share/dictd/
Code:
root@dict:/usr/share/dictd# ll
[...]
-rw-r--r-- 1 root root 165331 Jun 7 20:46 devils.dict.dz
-rw-r--r-- 1 root root 15949 Jun 7 20:46 devils.index
-rw-r--r-- 1 root root 1441 Jun 7 20:46 dictd.conf
-rw-r--r-- 1 root root 1081005 Jun 7 20:46 easton.dict.dz
-rw-r--r-- 1 root root 65432 Jun 7 20:46 easton.index
-rw-r--r-- 1 root root 12653 Jun 7 20:46 elements.dict.dz
-rw-r--r-- 1 root root 2123 Jun 7 20:46 elements.index
-rw-r--r-- 1 root root 2230401 Jun 7 20:46 foldoc.dict.dz
-rw-r--r-- 1 root root 302467 Jun 7 20:46 foldoc.index
-rw-r--r-- 1 root root 1797049 Jun 7 20:46 gazetteer.dict.dz
-rw-r--r-- 1 root root 1113778 Jun 7 20:46 gazetteer.index
-rw-r--r-- 1 root root 13527769 Jun 7 20:46 gcide.dict.dz
-rw-r--r-- 1 root root 3952339 Jun 7 20:46 gcide.index
-rw-r--r-- 1 root root 34045 Jun 7 20:46 hitchcock.dict.dz
-rw-r--r-- 1 root root 35687 Jun 7 20:46 hitchcock.index
-rw-r--r-- 1 root root 550276 Jun 7 20:46 jargon.dict.dz
-rw-r--r-- 1 root root 38719 Jun 7 20:46 jargon.index
-rw-r--r-- 1 root root 10757105 Jun 7 20:46 moby-thesaurus.dict.dz
-rw-r--r-- 1 root root 540892 Jun 7 20:46 moby-thesaurus.index
drwxr-xr-x 2 root root 4096 Sep 29 2021 ucf/
-rw-r--r-- 1 root root 164048 Jun 7 20:46 vera.dict.dz
-rw-r--r-- 1 root root 106397 Jun 7 20:46 vera.index
-rw-r--r-- 1 root root 11728366 Jun 7 20:46 web1913.dict.dz
-rw-r--r-- 1 root root 3521270 Jun 7 20:46 web1913.index
-rw-r--r-- 1 root root 8954034 Jun 7 20:46 wn.dict.dz
-rw-r--r-- 1 root root 3163244 Jun 7 20:46 wn.index
-rw-r--r-- 1 root root 964129 Jun 7 20:46 world95.dict.dz
-rw-r--r-- 1 root root 5614 Jun 7 20:46 world95.index
"does not work" is not really useful to diagnose an issue like this. It can be a permission issue, a user config issue or anything else.
From the other hand you need to look for error messages (in logs or terminals) to see what's going on.
"does not work" is not really useful to diagnose an issue like this. It can be a permission issue, a user config issue or anything else.
From the other hand you need to look for error messages (in logs or terminals) to see what's going on.
That's why I didn't say your quote rather than gave output (including error message) and configuration (including permissions, user configuration, and note, I got the error message as root so permissions and user configuration (other than dict.conf & dictd.conf given in first post) aren't relevant.) The service is running and I added a log that shows more than dummy is available (but dict still
doesn't find any word and 'dict -D' still says dummy.)
Odd, dict.log and netcat show different versions of dictd.
ONE: "dictd 1.12.1/rf on Linux 5.13.0-44-lowlatency"
TWO: "dictd 1.13.0/rf on Linux 4.19.0"
First post said I use it on Debian and Debian-based. After removing /etc/dictd/db.list (because dictd.conf defines it elsewhere) works on pure Debian now so guess I should take the Debian-based discussion to its own area...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.