Whenever I think I'm getting comfortable with Linux, I get stumped by a simple problem that exposes my inexperience: how do I launch the
daytime service? My trail of attempts is as follows:
>sudo systemctl start daytime Failed to issue method call: Unit daytime.service failed to load: No such file or directory. >which daytime /usr/bin/which: no daytime in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/user/utils/:/home/user/.local/bin:/home/user/bin:/home/user/utils/:/home/user/utils/:/home/user/utils/:/home/user/.local/bin:/home/user/bin:/home/user/utils/) >locate daytime /etc/xinetd.d/daytime-dgram /etc/xinetd.d/daytime-stream >sudo systemctl start daytime-stream Failed to issue method call: Unit daytime-stream.service failed to load: No such file or directory. >systemctl status xinetd xinetd.service - Xinetd A Powerful Replacement For Inetd Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled) Active: active (running) since Mon 2017-06-12 18:10:28 PDT; 16h ago Process: 5005 ExecStart=/usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid $EXTRAOPTIONS (code=exited, status=0/SUCCESS) Main PID: 5006 (xinetd) CGroup: /system.slice/xinetd.service /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid >uname -a Linux linuxbox 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I have a very shaky understanding that there is some relationship between
daytime, but, e.g., I don't understand if the fact that the
xinetd service is running means that
daytime is/should also be running, or if I need to start it independently? If I am supposed to start it independently, then how can I? I'm out of ideas after my above-noted attempts all failed.