On 12/09/16 13:23, stevefoley12...@gmail.com wrote:
> Hello, can anyone kindly point me in the right direction in setting up 
> dictd-server. I am experienced with Linux but new to Fedora and SELinux.
>
> I have installed the package:
>     dnf install dictd-service
>
> Went through the docs:
>     /usr/share/doc/dictd-server/INSTALL
>
> Added a dictd config file:
>    /etc/dictd.conf
>
> Now, I'm a bit confused. There are several example config files in the doc 
> directory, plus a folder of SELinux examples. I haven't allowed access in the 
> dictd.conf file since I'm only going to run on a local machine.
>
> When I attempt to start with systemctl:
>     /bin/systemctl status dictd.service
>
> I get the following error:
>
> ● dictd.service - Dictd Dictionary Server Daemon
>    Loaded: loaded (/usr/lib/systemd/system/dictd.service; disabled; vendor 
> preset: disabled)
>    Active: failed (Result: exit-code) since Fri 2016-12-09 00:09:12 EST; 41s 
> ago
>   Process: 2493 ExecStart=/usr/sbin/dictd --listen-to 127.0.0.1 (code=exited, 
> status=0/SUCCESS)
>  Main PID: 2494 (code=exited, status=1/FAILURE)
>
> Dec 09 00:09:12 localhost.localdomain systemd[1]: Starting Dictd Dictionary 
> Server Daemon...
> Dec 09 00:09:12 localhost.localdomain systemd[1]: Started Dictd Dictionary 
> Server Daemon.
> Dec 09 00:09:12 localhost.localdomain systemd[1]: dictd.service: Main process 
> exited, code=exited, status=1/FAILURE
> Dec 09 00:09:12 localhost.localdomain systemd[1]: dictd.service: Unit entered 
> failed state.
> Dec 09 00:09:12 localhost.localdomain systemd[1]: dictd.service: Failed with 
> result 'exit-code'.
>
> I looked through the internet for references, but I guess installing 
> dictd-server on Fedora 25 is not a popular thing to do. Thanks!

Well, at this point all I can tell is I did this on an F25 VM that I have....

1.  dnf install dictd-server
2.  systemctl enable dictd
3.  systemctl start dictd

And then....

[root@f25f ~]# systemctl status dictd
● dictd.service - Dictd Dictionary Server Daemon
   Loaded: loaded (/usr/lib/systemd/system/dictd.service; enabled; vendor 
preset: di
   Active: active (running) since Fri 2016-12-09 13:55:38 CST; 3s ago
  Process: 5453 ExecStart=/usr/sbin/dictd --listen-to 127.0.0.1 (code=exited, 
status
 Main PID: 5454 (dictd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/dictd.service
           └─5454 dictd 1.12.1: 0/0

Dec 09 13:55:38 f25f systemd[1]: Starting Dictd Dictionary Server Daemon...
Dec 09 13:55:38 f25f systemd[1]: Started Dictd Dictionary Server Daemon.


This is without modification to the installed /etc/dictd.conf ..

And, FWIW...

[root@f25f ~]# telnet localhost 2628
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 f25f dictd 1.12.1/rf on Linux 4.8.11-300.fc25.x86_64 <auth.mime> 
<1.5487.1481263254@f25f>
quit
221 bye [d/m/c = 0/0/0; 4.000r 0.000u 0.000s]

So, I'm guessing at this point there is something in your configuration file or 
something
else you did to get the failure.




-- 
You're Welcome Zachary Quinto
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to