[mythtv-users] Mythbackend randomly dies
Tino Keitel
tino.keitel at gmx.de
Wed Aug 13 08:56:01 UTC 2008
On Mon, Aug 11, 2008 at 15:57:11 -0400, Bobby Gill wrote:
> Can you explain Tino (For a linux intermediate like myself)? :)
If you start "less /var/log/mythbackend.log" in a shell, before the
backend dies, the "ps ax | grep -v grep | grep mythbackend" finds that
process and mythbackend is not restarted.
Regards,
Tino
>
> Bob
>
> On Mon, Aug 11, 2008 at 3:43 PM, Tino Keitel <tino.keitel at gmx.de> wrote:
>
> > On Mon, Aug 11, 2008 at 16:14:32 +1000, Jean-Yves Avenard wrote:
> > > hi
> > >
> > > 2008/8/11 Bobby Gill <bobbygill at rogers.com>:
> > > > Would love to check out that script Jean-Yves! :)
> > > >
> > > > Bob
> > >
> > > make sure the script isn't called mythbackend !
> > >
> > > -bash-3.2$ cat ~root/cron/backend.sh
> > > #! /bin/bash
> > >
> > > if ps ax | grep -v grep | grep mythbackend > /dev/null
> >
> > I guess that this will fail to restart mythbackend if there is a shell
> > where you watch the backend log using less /var/log/mythbackend.log or
> > something similar.
More information about the mythtv-users
mailing list