supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Status of daemon.
@ 2024-11-04 15:58 peter
  0 siblings, 0 replies; 2+ messages in thread
From: peter @ 2024-11-04 15:58 UTC (permalink / raw)
  To: supervision; +Cc: peter

In Void, installed inetutils-telnet.

# telnet localhost
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
#
# ps aux | grep telnetd
root       754  0.0  0.0   2388  1280 ?        Ss   07:18   0:02 runsv telnetd
root       773  0.0  0.0   2508  1280 ?        S    07:18   0:00 vlogger -t telnetd -p daemon
root     32002  0.0  0.0   6600  2432 pts/3    S+   08:32   0:00 grep telnetd

telnetd is running and declined the connection request?

Can I learn more from a log?  If so, how is the log accessed?
cat ... ?

Thanks,                     ... P.

-- 
VoIP:   +1 604 670 0140
work: https://en.wikibooks.org/wiki/User:PeterEasthope


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Status of daemon.
       [not found] <6728fd36.050a0220.1c7799.f358SMTPIN_ADDED_MISSING@mx.google.com>
@ 2024-11-04 17:25 ` Leah Neukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: Leah Neukirchen @ 2024-11-04 17:25 UTC (permalink / raw)
  To: peter; +Cc: supervision

peter@easthope.ca writes:

> In Void, installed inetutils-telnet.
>
> # telnet localhost
> Trying ::1...
> Connection failed: Connection refused
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> #
> # ps aux | grep telnetd
> root       754  0.0  0.0   2388  1280 ?        Ss   07:18   0:02 runsv telnetd
> root       773  0.0  0.0   2508  1280 ?        S    07:18   0:00 vlogger -t telnetd -p daemon
> root     32002  0.0  0.0   6600  2432 pts/3    S+   08:32   0:00 grep telnetd
>
> telnetd is running and declined the connection request?

This does not suggest telnetd is running, as no process of these is
telnetd.

Use "sv status telnetd" to check, it probably says "down: ...".

> Can I learn more from a log?  If so, how is the log accessed?
> cat ... ?

If you still use socklog-unix, look at /var/log/socklog/daemon/current

Else try to start the telnetd run script manually and look for errors:
/var/service/telnetd/run

Else post the script, it seems to be manually created.

As telnetd classically needs to be started from inetd, you need to use
some tcpserver to launch it (djb tcpserver or s6-tcpserver).

hth,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-04 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-04 15:58 Status of daemon peter
     [not found] <6728fd36.050a0220.1c7799.f358SMTPIN_ADDED_MISSING@mx.google.com>
2024-11-04 17:25 ` Leah Neukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).