You are not logged in.

#1 2017-09-19 17:32:07

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

[SOLVED] dictd.service failing

I have installed dictd, the dictionary daemon. I also installed different dictionaries - english-french, french-english, german-english, english german. However I can't get the right output from the command line.

I ran systemctl --failed and realized dictd is failing:

● dictd.service loaded failed failed Dictd Dictionary Server Daemon

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

So I ran systemctl status dictd.service and got this:

● dictd.service - Dictd Dictionary Server Daemon
   Loaded: loaded (/usr/lib/systemd/system/dictd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-09-19 18:18:02 BST; 1min 31s ago
  Process: 2766 ExecStart=/usr/bin/dictd $DICTD_ARGS -- $DICTD_EARGS (code=exited, status=0/SUCCESS)
 Main PID: 2767 (code=exited, status=2)

Sep 19 18:18:02 TUF-Z270 systemd[1]: Starting Dictd Dictionary Server Daemon...
Sep 19 18:18:02 TUF-Z270 systemd[1]: Started Dictd Dictionary Server Daemon.
Sep 19 18:18:02 TUF-Z270 systemd[1]: dictd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 19 18:18:02 TUF-Z270 systemd[1]: dictd.service: Unit entered failed state.
Sep 19 18:18:02 TUF-Z270 systemd[1]: dictd.service: Failed with result 'exit-code'.

There seems to be invalid arguments to the exec command. Any fix?

Last edited by d_fajardo (2017-09-24 20:22:09)

Offline

#2 2017-09-20 07:14:27

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] dictd.service failing

pacman -Qk dictd

Look especially at /etc/conf.d/dictd

Offline

#3 2017-09-21 22:31:04

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] dictd.service failing

I had the same symptom, i.e. dictd silently failing, after the last update.
For some reason, the configuration file (/etc/dict/dictd.conf) had a few strange newlines inserted. Removing those fixed it.

Offline

#4 2017-09-27 11:38:50

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: [SOLVED] dictd.service failing

Once again you saved my day Seth. Thanks for pointing me to /etc/conf.d/dictd. The entry for LOCALE was wrong. Updated it and no more complains.
Cheers!

Offline

Board footer

Powered by FluxBB