Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-30 Thread Michael Jones
That would be a REALLY useful function, but alas.. FC3 doesn't use it..





>> With Debian-based distros, the *proper* way to load a hardware module
>> at boot time is to add the module's name to the list in /etc/modules
>> and allow the /etc/init.d/module-init-tools script load it at the
>> appropriate moment during the boot-up sequence.  The module-init-tools
>> script uses modprobe to load each listed module so the dependencies
>> would automatically be loaded (assuming depmod ran without errors to
>> build the dependency tree).
> 
> Running FC and RHEL for my backends/frontends so I don't think that
> works for me (prob wrong though). Would be a lot cleaner though! I'd
> got everything in rc.local whilst testing, and as it worked, hadn't
> looked for alternative solutions for FC backends.
> 
> Nick
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-29 Thread Nick
On 6/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 29, 2005 at 12:40:12AM +0100, Nick wrote:
> > > Is there a correct way to load the module WAY earlier?  I'm thinking 
> > > there's
> > > a more correct way to get it to load first.. before any of the /etc/init.d
> > > stuff runs.
> > I run the modprobes (2 cards) and start mythbackend from rc.local (you
> > could prob do it from rc.sysinit too).
> 
> With Debian-based distros, the *proper* way to load a hardware module
> at boot time is to add the module's name to the list in /etc/modules
> and allow the /etc/init.d/module-init-tools script load it at the
> appropriate moment during the boot-up sequence.  The module-init-tools
> script uses modprobe to load each listed module so the dependencies
> would automatically be loaded (assuming depmod ran without errors to
> build the dependency tree).

Running FC and RHEL for my backends/frontends so I don't think that
works for me (prob wrong though). Would be a lot cleaner though! I'd
got everything in rc.local whilst testing, and as it worked, hadn't
looked for alternative solutions for FC backends.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-29 Thread chris
On Wed, Jun 29, 2005 at 12:40:12AM +0100, Nick wrote:
> > Is there a correct way to load the module WAY earlier?  I'm thinking there's
> > a more correct way to get it to load first.. before any of the /etc/init.d
> > stuff runs.
> I run the modprobes (2 cards) and start mythbackend from rc.local (you
> could prob do it from rc.sysinit too).

With Debian-based distros, the *proper* way to load a hardware module 
at boot time is to add the module's name to the list in /etc/modules 
and allow the /etc/init.d/module-init-tools script load it at the 
appropriate moment during the boot-up sequence.  The module-init-tools
script uses modprobe to load each listed module so the dependencies
would automatically be loaded (assuming depmod ran without errors to
build the dependency tree).

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-28 Thread Michael T. Dean

Nick wrote:


On 6/29/05, Michael T. Dean <[EMAIL PROTECTED]> wrote:
 


Nick wrote:


On 6/28/05, Michael Jones <[EMAIL PROTECTED]> wrote:


The problem was that the command modprobe ivtv was being executed after
mythbackend was started.  (hmm.. what a surprise)


I run the modprobes (2 cards) and start mythbackend from rc.local (you
could prob do it from rc.sysinit too).


Regardless of how many PVR-x50's you have, you should only do one
modprobe command:

modprobe ivtv

(unless you're using ivtv-0.1.9, where you have to modprobe each module
in the right order, but that's a whole different story).


Sorry for the unclear directions - I'm using 2 different cards
(PVR-350 and Nova-T) hence the multiple modprobes I mentioned. I
_tried_ to phrase it in a general manner in case the OP had different
cards, not add more confusion!
 

Ah, yes.  That makes perfect sense.  I misinterpreted it to mean you 
were manually inserting all the modules used by ivtv.  Should have kept 
my mouth (e-mail program?) closed.


Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-28 Thread Nick
On 6/29/05, Michael T. Dean <[EMAIL PROTECTED]> wrote:
> Nick wrote:
> 
> >On 6/28/05, Michael Jones <[EMAIL PROTECTED]> wrote:
> >
> >
> >>The problem was that the command modprobe ivtv was being executed after
> >>mythbackend was started.  (hmm.. what a surprise)
> >>
> >>
> >I run the modprobes (2 cards) and start mythbackend from rc.local (you
> >could prob do it from rc.sysinit too).
> >
> >
> Regardless of how many PVR-x50's you have, you should only do one
> modprobe command:
> 
> modprobe ivtv
> 
> (unless you're using ivtv-0.1.9, where you have to modprobe each module
> in the right order, but that's a whole different story).

Sorry for the unclear directions - I'm using 2 different cards
(PVR-350 and Nova-T) hence the multiple modprobes I mentioned. I
_tried_ to phrase it in a general manner in case the OP had different
cards, not add more confusion!

Cheers,
Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-28 Thread Michael T. Dean

Nick wrote:


On 6/28/05, Michael Jones <[EMAIL PROTECTED]> wrote:
 


The problem was that the command modprobe ivtv was being executed after
mythbackend was started.  (hmm.. what a surprise)
   


I run the modprobes (2 cards) and start mythbackend from rc.local (you
could prob do it from rc.sysinit too).
 

Regardless of how many PVR-x50's you have, you should only do one 
modprobe command:


modprobe ivtv

(unless you're using ivtv-0.1.9, where you have to modprobe each module 
in the right order, but that's a whole different story).


Mike

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-28 Thread Nick
On 6/27/05, Michael Jones <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] ~]$ su -
> Password:
> [EMAIL PROTECTED] ~]# ps ax | grep mythba
> 24775 ?Ssl0:00 /usr/bin/mythbackend --daemon --logfile
> /var/log/mythtv/mythbackend.log --pidfile /var/run/mythbackend.pid
> 
> Anything helpful?
> 
> btw:  If I stop/start (or restart) the mythbackend after rebooting..
> everything works.

This is possibly symptomatic of the capture card driver not having
loaded by the time the backend is started. No capture card - therefore
on the first attempt LiveTV could fail. Restarting the backend may
make it aware of the capture cards again (now that the module is
loaded), so future LiveTV watching is successful.

If nothing else is working, I'd check to see where the capture card
modules are loaded and check the output of the backend log immediately
after trying to view LiveTV after a boot when it fails.

I'd suggest putting the modprobe command for the capture card, a
'sleep 10' to ensure the modules are loaded, and the 'service
mythbackend start' command in rc.local whilst trying to sort out the
kinks. At least this way you'll know whether things are loaded in the
correct order whilst troubleshooting.

I'd also second using 'su -' when gaining superuser status, as the '-'
inherits root's environment variables, such as search path, and
therefore will be more like having logged in as root initially.
Dropping the '-' can put you at a disadvantage. (You could also
instead switch to a spare terminal and log in from there as root
directly, thus eliminating the need to use su. It's sometimes very
helpful to have 2 separate terminals and to switch between the two as
you make changes.)

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-28 Thread Nick
On 6/28/05, Michael Jones <[EMAIL PROTECTED]> wrote:
> HAHAHHAHAHA
> 
> Found it..
> 
> The problem was that the command modprobe ivtv was being executed after
> mythbackend was started.  (hmm.. what a surprise)
> 
> Someone instructed me on how to adjust the /etc/init.d/mythbackend file to
> automatically load the ivtv module.  They told me to put it in the wrong
> place.. i.e. after the start for mythbackend.
> 
> 
> 
> Now.. here's the question..   This seems to me to be kind of a kludge..
> 
> Is there a correct way to load the module WAY earlier?  I'm thinking there's
> a more correct way to get it to load first.. before any of the /etc/init.d
> stuff runs.
> 

I run the modprobes (2 cards) and start mythbackend from rc.local (you
could prob do it from rc.sysinit too).

I would use chkconfig to turn off the mythbackend init script, put the
modprobe entry(ies) into rc.local, add a sleep x command (I use x=5 I
think) to ensure the module(s) is/are loaded, and then start the
backend service. It's not the cleanest solution (but it works and
ensure the modules and always loaded prior to bakend startup) but
unless the distro will automatically load modules as startup before
the init script is run, there are not many alternatives to either
hacking the backend init script or starting things sequentially
auto-manually.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-28 Thread Kevin Saenz
Wot are you smoking? The minus gives you root env variables.
obviously su is not doing the right thing, so bump up the priviliages
a little more by using su -

> you do _not_ need to add the minus to do what is suggested here.
> 
> > you forgot the minus after su so it should be su -
> >
> > > su
> > >
> > > /etc/init.d/mythbackend stop
> > > /etc/init.d/mythbackend start
> > >
> > >
> > then run ps ax|grep mythbac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console (Success)

2005-06-28 Thread Michael Jones
HAHAHHAHAHA

Found it.. 

The problem was that the command modprobe ivtv was being executed after
mythbackend was started.  (hmm.. what a surprise)

Someone instructed me on how to adjust the /etc/init.d/mythbackend file to
automatically load the ivtv module.  They told me to put it in the wrong
place.. i.e. after the start for mythbackend.



Now.. here's the question..   This seems to me to be kind of a kludge..

Is there a correct way to load the module WAY earlier?  I'm thinking there's
a more correct way to get it to load first.. before any of the /etc/init.d
stuff runs. 




> From: Nick Rout <[EMAIL PROTECTED]>
> Reply-To: Discussion about mythtv 
> Date: Mon, 27 Jun 2005 11:04:58 +1200
> To: 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend manually
> from a console
> 
> you do _not_ need to add the minus to do what is suggested here.
> 
> 
> 
> 
> On Mon, 27 Jun 2005 08:38:14 +1000
> Kevin Saenz wrote:
> 
>> you forgot the minus after su so it should be su -
>> 
>>> su
>>> 
>>> /etc/init.d/mythbackend stop
>>> /etc/init.d/mythbackend start
>>> 
>>> 
>> then run ps ax|grep mythbac
>> ___
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> -- 
> Nick Rout
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-27 Thread Michael Jones
[EMAIL PROTECTED] ~]$ su -
Password: 
[EMAIL PROTECTED] ~]# ps ax | grep mythba
24775 ?Ssl0:00 /usr/bin/mythbackend --daemon --logfile
/var/log/mythtv/mythbackend.log --pidfile /var/run/mythbackend.pid

Anything helpful?

btw:  If I stop/start (or restart) the mythbackend after rebooting..
everything works. 



> From: Kevin Saenz <[EMAIL PROTECTED]>
> Reply-To: Kevin Saenz <[EMAIL PROTECTED]>, Discussion about mythtv
> 
> Date: Mon, 27 Jun 2005 08:38:14 +1000
> To: Discussion about mythtv 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend manually
> from a console
> 
> you forgot the minus after su so it should be su -
> 
>> su
>> 
>> /etc/init.d/mythbackend stop
>> /etc/init.d/mythbackend start
>> 
>> 
> then run ps ax|grep mythbac
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-26 Thread Nick Rout
you do _not_ need to add the minus to do what is suggested here.




On Mon, 27 Jun 2005 08:38:14 +1000
Kevin Saenz wrote:

> you forgot the minus after su so it should be su -
> 
> > su
> > 
> > /etc/init.d/mythbackend stop
> > /etc/init.d/mythbackend start
> > 
> > 
> then run ps ax|grep mythbac
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-- 
Nick Rout

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-26 Thread Kevin Saenz
you forgot the minus after su so it should be su -

> su
> 
> /etc/init.d/mythbackend stop
> /etc/init.d/mythbackend start
> 
> 
then run ps ax|grep mythbac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-25 Thread Michael Jones
Thanks.. 

but Nope.. 

- Michael


> From: Robert Kulagowski <[EMAIL PROTECTED]>
> Reply-To: Discussion about mythtv 
> Date: Fri, 24 Jun 2005 12:24:35 -0500
> To: Discussion about mythtv 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend manually
> from a console
> 
> As root:
> 
> $ su
> # rm /var/lock/subsys/mythbackend
> 
> Does that help?
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-24 Thread Robert Kulagowski

As root:

$ su
# rm /var/lock/subsys/mythbackend

Does that help?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-24 Thread Michael Jones
Open Terminal

su

/etc/init.d/mythbackend stop
/etc/init.d/mythbackend start


which mythbackend 

returns:

/usr/bin/mythbackend (same as in the script)

I've hunted through the logs and no errors are being generated.


> open a terminal type
> su -
> 
> su terminals suck ;-p
> 
> then try it again.

I figured they were identical...

>> Ok..  We may be getting somewhere?
>> 
>> Rebooted so everything was fresh..
>> 
>> At a su terminal window (gave me permission errors if I did it as a non su
>> user):
>> 
>> /etc/init.d/mythbackend stop
>> /etc/init.d/mythbackend start
>> 
>> Closed the terminal window
>> 
>> Start the mythfrontend from the pulldown menu in KDE
>> 
>> Watch tv..
>> 
>> It works.
>> 
>> whereis mythbackend returns the same path as listed in the
>> /etc/init.d/mythbackend script.
>> 
>> So what does this mean?
>> 
>> 
> sorry barking up the wrong tree. try
> 
> which mythbackend
> 
> that will tell you the path that mythbackend resides in, it sould be
> something like /usr/local/bin/mythbackend
> I don't use the gui to start and stop services.
> the other thing is if mythbackend is generating an error you might
> have a log if you have not modified the
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Kevin Saenz
open a terminal type
su -

su terminals suck ;-p

then try it again.

> Ok..  We may be getting somewhere?
> 
> Rebooted so everything was fresh..
> 
> At a su terminal window (gave me permission errors if I did it as a non su
> user):
> 
> /etc/init.d/mythbackend stop
> /etc/init.d/mythbackend start
> 
> Closed the terminal window
> 
> Start the mythfrontend from the pulldown menu in KDE
> 
> Watch tv..
> 
> It works.
> 
> whereis mythbackend returns the same path as listed in the
> /etc/init.d/mythbackend script.
> 
> So what does this mean?
> 
> 
sorry barking up the wrong tree. try

which mythbackend

that will tell you the path that mythbackend resides in, it sould be
something like /usr/local/bin/mythbackend
I don't use the gui to start and stop services.
the other thing is if mythbackend is generating an error you might
have a log if you have not modified mythbackend file in /etc/init.d
directory you might have a log file /tmp/
it might tell you why mythbackend fails at boot up. also check your
/var/log/messages file for any errors.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Kevin Saenz
open a terminal type
su -

su terminals suck ;-p

then try it again.

> Ok..  We may be getting somewhere?
> 
> Rebooted so everything was fresh..
> 
> At a su terminal window (gave me permission errors if I did it as a non su
> user):
> 
> /etc/init.d/mythbackend stop
> /etc/init.d/mythbackend start
> 
> Closed the terminal window
> 
> Start the mythfrontend from the pulldown menu in KDE
> 
> Watch tv..
> 
> It works.
> 
> whereis mythbackend returns the same path as listed in the
> /etc/init.d/mythbackend script.
> 
> So what does this mean?
> 
> 
sorry barking up the wrong tree. try

which mythbackend

that will tell you the path that mythbackend resides in, it sould be
something like /usr/local/bin/mythbackend
I don't use the gui to start and stop services.
the other thing is if mythbackend is generating an error you might
have a log if you have not modified the
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Michael Jones
Ok..  We may be getting somewhere?

Rebooted so everything was fresh..

At a su terminal window (gave me permission errors if I did it as a non su
user): 

/etc/init.d/mythbackend stop
/etc/init.d/mythbackend start

Closed the terminal window

Start the mythfrontend from the pulldown menu in KDE

Watch tv.. 

It works. 

whereis mythbackend returns the same path as listed in the
/etc/init.d/mythbackend script.

So what does this mean?


> From: Kevin Saenz <[EMAIL PROTECTED]>
> Reply-To: Kevin Saenz <[EMAIL PROTECTED]>, Discussion about mythtv
> 
> Date: Fri, 24 Jun 2005 14:38:46 +1000
> To: Discussion about mythtv 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend manually
> from a console
> 
>> mythbackend 0:off   1:off   2:on3:on4:on5:on6:off
>> 
> Ok what happens when you run
> 
> /etc/init.d/mythbackend stop
> then 
> 
> /etc/init.d/mythbackend start
> ?
> 
> if you type
> where mythbackend
> 
> is that the same location as what is entered into /etc/init.d/mythbackend
> ?
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Kevin Saenz
> mythbackend 0:off   1:off   2:on3:on4:on5:on6:off
> 
Ok what happens when you run

/etc/init.d/mythbackend stop
then 

/etc/init.d/mythbackend start
?

if you type
where mythbackend

is that the same location as what is entered into /etc/init.d/mythbackend
?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Michael Jones
I'm almost thinking that I should nuke my installation and start over
again.. 


> Stupid question why are you running mythtv in root? why are you
> symlinking a directory to / ? that is like creating a directory in
> windows and shortcutting it to c:\ You are not running windows here.
> :) set your system to autologon as a gumby user, and autolaunch
> mythfrontend.
> 

I'm only running mythbackend as root.. mythfrontend is running as a user
called mythtv.

If I don't run mythbackend as root from a console (manually).. it blows up
(see below)

I only created the symlink 'cause someone suggested it might work.. thought
I'd try it.   It didn't.

.. and I'm really glad I'm not running windows.. ;-)

> do you have mythbackend file in /etc/init.d?
> what is the file's settings? is it executable? if not then chmod +x
> mythbackend will help.

The /etc/init.d/mythbackend file exists.

-rwxr-xr-x   1 root root  1315 Jun 22 11:22 mythbackend

> if you run chkconfig --list can you see mythbackend there? if so is activated?
> if not all you need to do is run
> chkconfig --add mythbackend 3456 or something like that I haven't used
> redhat variants for a while.

Here's the entry from chkconfig --list

mythbackend 0:off   1:off   2:on3:on4:on5:on6:off

>> Thanks.. but no cigar..
>> 
>> Tried that, rebooted and still has problems.
>> 
>> I created a symlink to /root/.mythtv in // and it still does the same thing.
>> 
>> When I run 'service mythbackend status' it returns "mytbackend (pid 3647) is
>> running...'
>> 
>> and returns me to the command prompt.
>> 
>> 
>> 
>>> I've had something similar happen.  When you run it as a service, is
>>> your mythbackend service still running?  When I run 'service
>>> mythbackend status', I usually get a 'pid file exists, but mythbackend
>>> is dead' message.  When that happens, I find out it's because
>>> mythbackend is looking for its settings in //.mythtv/ instead of
>>> /root/.mythtv.  I created a symlink called /.mythtv/ that points to
>>> /root/.mythtv and that seems to solve the problem for me.
>>> 
>>> On 6/22/05, Michael Jones <[EMAIL PROTECTED]> wrote:
 I'm pretty new to this whole thing so be gentle with me ;)
 
 
 Just finished putting together a MythTV/Fedora3 box with Jarod Wilson's
 instructions.
 
 Everything works well except if I run mythbackend as a service watching
 live
 tv doesn't work.
 
 If I open a console window as root and run it manually:
 
 #mythbackend &
 
 everything works.  If I run it as a service and start live tv, the live tv
 screen shows up runs for about 1-2 sec and then freezes,  the system then
 waits about 60sec and then returns to the main menu by itself.
 
 Any ideas?
 
 I'm almost sure it's a permission thing.. but don't where.
 
 Thanks
 
 - Michael
 
 
 
 
 
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 
 
 
>>> 
>>> 
>>> --
>>> Kane Tse
>>> http://tse.dyndns.org/~ktse
>>> ___
>>> mythtv-users mailing list
>>> mythtv-users@mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> 
>> 
>> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Kevin Saenz
Stupid question why are you running mythtv in root? why are you
symlinking a directory to / ? that is like creating a directory in
windows and shortcutting it to c:\ You are not running windows here.
:) set your system to autologon as a gumby user, and autolaunch
mythfrontend.

do you have mythbackend file in /etc/init.d?
what is the file's settings? is it executable? if not then chmod +x
mythbackend will help.

if you run chkconfig --list can you see mythbackend there? if so is activated?
if not all you need to do is run
chkconfig --add mythbackend 3456 or something like that I haven't used
redhat variants for a while.

> Thanks.. but no cigar..
> 
> Tried that, rebooted and still has problems.
> 
> I created a symlink to /root/.mythtv in // and it still does the same thing.
> 
> When I run 'service mythbackend status' it returns "mytbackend (pid 3647) is
> running...'
> 
> and returns me to the command prompt.
> 
> 
> 
> > I've had something similar happen.  When you run it as a service, is
> > your mythbackend service still running?  When I run 'service
> > mythbackend status', I usually get a 'pid file exists, but mythbackend
> > is dead' message.  When that happens, I find out it's because
> > mythbackend is looking for its settings in //.mythtv/ instead of
> > /root/.mythtv.  I created a symlink called /.mythtv/ that points to
> > /root/.mythtv and that seems to solve the problem for me.
> >
> > On 6/22/05, Michael Jones <[EMAIL PROTECTED]> wrote:
> >> I'm pretty new to this whole thing so be gentle with me ;)
> >>
> >>
> >> Just finished putting together a MythTV/Fedora3 box with Jarod Wilson's
> >> instructions.
> >>
> >> Everything works well except if I run mythbackend as a service watching 
> >> live
> >> tv doesn't work.
> >>
> >> If I open a console window as root and run it manually:
> >>
> >> #mythbackend &
> >>
> >> everything works.  If I run it as a service and start live tv, the live tv
> >> screen shows up runs for about 1-2 sec and then freezes,  the system then
> >> waits about 60sec and then returns to the main menu by itself.
> >>
> >> Any ideas?
> >>
> >> I'm almost sure it's a permission thing.. but don't where.
> >>
> >> Thanks
> >>
> >> - Michael
> >>
> >>
> >>
> >>
> >>
> >> ___
> >> mythtv-users mailing list
> >> mythtv-users@mythtv.org
> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >>
> >>
> >>
> >
> >
> > --
> > Kane Tse
> > http://tse.dyndns.org/~ktse
> > ___
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> 
> 
> 
> 
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Michael Jones
Nothing in the logs that I can find as a failure (or that looks like one)

I looked in: 

/var/log/messages
/var/log/boot.log
/var/log/mythtv/mythbackend.log




> From: Mickey Chandler <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>, Discussion about mythtv
> 
> Date: Wed, 22 Jun 2005 20:42:05 -0500 (CDT)
> To: Discussion about mythtv 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend  manually
> from a console
> 
> 
>> If I open a console window as root and run it manually:
>> 
>> 
>> #mythbackend &
>> 
>> 
>> everything works.  If I run it as a service and start live tv, the live
>> tv screen shows up runs for about 1-2 sec and then freezes,  the system
>> then waits about 60sec and then returns to the main menu by itself.
>> 
>> Any ideas?
> 
> I hadn't thought about it with this difference, but it has been noted
> before that sometimes you have to let a program record before you can
> watch live tv.  I wouldn't think that starting it either as a service or
> from the console should make a difference there, but your description of
> 1-2 sec viewing followed by freezing and a return to the menu sounds
> awfully familiar.
> 
> When you start it as a service, are you creating a log file that might
> tell you what error is there?
> 
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-23 Thread Michael Jones
Thanks.. but no cigar..

Tried that, rebooted and still has problems.

I created a symlink to /root/.mythtv in // and it still does the same thing.

When I run 'service mythbackend status' it returns "mytbackend (pid 3647) is
running...' 

and returns me to the command prompt.




> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>, Discussion about mythtv
> 
> Date: Wed, 22 Jun 2005 19:27:59 -0700
> To: Discussion about mythtv 
> Subject: Re: [mythtv-users] TV won't play unless you run mythbackend manually
> from a console
> 
> I've had something similar happen.  When you run it as a service, is
> your mythbackend service still running?  When I run 'service
> mythbackend status', I usually get a 'pid file exists, but mythbackend
> is dead' message.  When that happens, I find out it's because
> mythbackend is looking for its settings in //.mythtv/ instead of
> /root/.mythtv.  I created a symlink called /.mythtv/ that points to
> /root/.mythtv and that seems to solve the problem for me.
> 
> On 6/22/05, Michael Jones <[EMAIL PROTECTED]> wrote:
>> I'm pretty new to this whole thing so be gentle with me ;)
>> 
>> 
>> Just finished putting together a MythTV/Fedora3 box with Jarod Wilson's
>> instructions.
>> 
>> Everything works well except if I run mythbackend as a service watching live
>> tv doesn't work.
>> 
>> If I open a console window as root and run it manually:
>> 
>> #mythbackend &
>> 
>> everything works.  If I run it as a service and start live tv, the live tv
>> screen shows up runs for about 1-2 sec and then freezes,  the system then
>> waits about 60sec and then returns to the main menu by itself.
>> 
>> Any ideas?
>> 
>> I'm almost sure it's a permission thing.. but don't where.
>> 
>> Thanks
>> 
>> - Michael
>> 
>> 
>> 
>> 
>> 
>> ___
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> 
>> 
>> 
> 
> 
> -- 
> Kane Tse
> http://tse.dyndns.org/~ktse
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-22 Thread [EMAIL PROTECTED]
I've had something similar happen.  When you run it as a service, is
your mythbackend service still running?  When I run 'service
mythbackend status', I usually get a 'pid file exists, but mythbackend
is dead' message.  When that happens, I find out it's because
mythbackend is looking for its settings in //.mythtv/ instead of
/root/.mythtv.  I created a symlink called /.mythtv/ that points to
/root/.mythtv and that seems to solve the problem for me.

On 6/22/05, Michael Jones <[EMAIL PROTECTED]> wrote:
> I'm pretty new to this whole thing so be gentle with me ;)
> 
> 
> Just finished putting together a MythTV/Fedora3 box with Jarod Wilson's
> instructions.
> 
> Everything works well except if I run mythbackend as a service watching live
> tv doesn't work.
> 
> If I open a console window as root and run it manually:
> 
> #mythbackend &
> 
> everything works.  If I run it as a service and start live tv, the live tv
> screen shows up runs for about 1-2 sec and then freezes,  the system then
> waits about 60sec and then returns to the main menu by itself.
> 
> Any ideas?
> 
> I'm almost sure it's a permission thing.. but don't where.
> 
> Thanks
> 
> - Michael
> 
> 
> 
> 
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 


-- 
Kane Tse
http://tse.dyndns.org/~ktse
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-22 Thread Mickey Chandler

> If I open a console window as root and run it manually:
>
>
> #mythbackend &
>
>
> everything works.  If I run it as a service and start live tv, the live
> tv screen shows up runs for about 1-2 sec and then freezes,  the system
> then waits about 60sec and then returns to the main menu by itself.
>
> Any ideas?

I hadn't thought about it with this difference, but it has been noted
before that sometimes you have to let a program record before you can
watch live tv.  I wouldn't think that starting it either as a service or
from the console should make a difference there, but your description of
1-2 sec viewing followed by freezing and a return to the menu sounds
awfully familiar.

When you start it as a service, are you creating a log file that might
tell you what error is there?


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] TV won't play unless you run mythbackend manually from a console

2005-06-22 Thread Michael Jones
I'm pretty new to this whole thing so be gentle with me ;)


Just finished putting together a MythTV/Fedora3 box with Jarod Wilson's
instructions. 

Everything works well except if I run mythbackend as a service watching live
tv doesn't work. 

If I open a console window as root and run it manually:

#mythbackend &

everything works.  If I run it as a service and start live tv, the live tv
screen shows up runs for about 1-2 sec and then freezes,  the system then
waits about 60sec and then returns to the main menu by itself.

Any ideas?  

I'm almost sure it's a permission thing.. but don't where.

Thanks

- Michael



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users