LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-07-2022, 11:56 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Rep: Reputation: 147Reputation: 147
Question dictd databases available: dummy


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.)

Code:
root@desktop:~# dict -D
Databases available:
 dummy      dummy
Code:
#/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
 
Old 06-08-2022, 01:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,898

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
"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.
 
Old 06-08-2022, 01:22 AM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
Thumbs down

Quote:
Originally Posted by pan64 View Post
"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.)

Code:
#dictd.log
:I: 803343 starting dictd 1.12.1/rf on Linux 5.13.0-44-lowlatency Tue Jun  7 23:35:58 2022
:I: using locale "en_US.utf-8"
:I: web1913            185399      3521270     11728366     31946961
:I: gcide              203645      3952339     13527769     39953009
:I: wn                 154563      3163244      8954034     27955005
:I: foldoc              14893       302467      2230401      5457386
:I: jargon               2136        38719       550276      1278425
:I: vera                 9203       106397       164048       572202
:I: elements              132         2123        12653        39126
:I: easton               3969        65432      1081005      2554659
:I: hitchcock            2620        35687        34045        84852
:I: gaz                 52994      1113778      1797049      8551912
:I: moby-thesaur        30263       540892     10757105     29688435
:I: devils               1008        15949       165331       383656
:I: world95               278         5614       964129      2862852

Last edited by dchmelik; 06-08-2022 at 01:39 AM.
 
Old 06-08-2022, 11:00 AM   #4
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
What a world, what a world! Cloudflare blocked me for trying to help. So I will post the sensitive part encrypted with ROT13.

What is the output when you run the ROT13 encrypted command below?

Code:
rpub -r "FUBJ QO\aDHVG" | ap 127.0.0.1 2628
 
1 members found this post helpful.
Old 06-08-2022, 07:10 PM   #5
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
It blocked me also.
Code:
220 <host> dictd 1.13.0/rf on Linux 4.19.0 <auth.mime> <2.323341.1654732887@<host>>
110 1 databases present
dummy "dummy"
.
250 ok
221 bye [d/m/c = 0/0/0; 0.000r 0.000u 0.000s]
So apparently after alteration, 'dictdconfig -l,' '/var/log/dictd.log' are unreliable.

Last edited by dchmelik; 06-08-2022 at 07:15 PM.
 
Old 06-08-2022, 10:08 PM   #6
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
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"
 
1 members found this post helpful.
Old 06-09-2022, 02:47 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by BenCollver View Post
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian 10.2 Buster Install: UEFI - Unable to install GRUB in dummy. Executing 'GRUB-install dummy' failed. LinDUX Debian 6 01-27-2020 07:17 PM
The parameter --locale=xx_YY.utf-8 was not set in your /etc/default/dictd tony safari Linux - Software 0 03-18-2007 09:13 AM
how to run a dictd server? Falco Linux - Software 1 10-05-2005 04:25 AM
How to search dictd dictionaries? Aphex_Twin2 Linux - General 1 07-20-2005 03:54 AM
dictd demmylls Linux - Software 1 10-22-2003 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration