TIP: Click on subject to list as thread! ANSI
echo: cbm
to: 6502ENHANCED@GMAIL.COM
from: ANDREAS KOHLBACH
date: 2017-07-05 17:29:00
subject: Re: Using tcpser on a Pi

On Wed, 5 Jul 2017 06:51:53 -0700 (PDT), 6502enhanced@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)

SOURCE: echomail via QWK@docsplace.org

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™.