TIP: Click on subject to list as thread! ANSI
echo: cbm
to: 6502enhanced{at}gmail.com
from: Andreas Kohlbach
date: 2017-07-05 17:29:06
subject: Re: Using tcpser on a Pi for telnet gateway to C64?

On Wed, 5 Jul 2017 06:51:53 -0700 (PDT), 6502enhanced{at}gmail.com wrote:
>
> OK - the problem is not solved so far ...
>
> Tcpser run now for a few days well.
>
> Then it stopped again.
>
> I typed:ps x |grep -v grep |grep -c "tcpser"
>
> The result was: 0

May be it "forked" into something else?

> Tcpser was also not started by CRON after a few minutes ...

Do other jobs start in this cron table? Might be a typo or wrong
permission in it?

> Then I typed: ./startSerial
>
> Tcpser started. At the moment it is running, but I don't know why it
> is not startet by CRON automatically, because the script seems to work
> good...?

Doesn't tcpser listen on a port? If it was still running (under a
different name, why ever that may have happened) the port already in use.

May be next time it seems to have stopped also test if the port it runs
on is still used. Something like

lsof -i :1234 (< replace by actual port)
--
Andreas
You know you are a redneck if
you own a homemade fur coat.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
SEEN-BY: 57/0 116/102 130/210 512 153/250 218/630 317/2 393/68 633/267 280
SEEN-BY: 640/384 712/620 848 770/0 1 3 100 340 772/0 1 210 500
@PATH: 770/3 1 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.