Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Not getting mythfilldatabase log

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


dheianevans at gmail

Aug 18, 2011, 12:57 AM

Post #1 of 12 (390 views)
Permalink
Not getting mythfilldatabase log

Just posted about a new channel listing problem I'm having. Further to
that I thought I'd check the mythfilldatabase log. I added
/var/log/mythfilldatabase in myth-setup, but the log is not growing.

Anyway to further debug this?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mikep at randomtraveller

Aug 18, 2011, 4:46 AM

Post #2 of 12 (370 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On 18/08/11 08:57, Ian Evans wrote:
> Just posted about a new channel listing problem I'm having. Further to
> that I thought I'd check the mythfilldatabase log. I added
> /var/log/mythfilldatabase in myth-setup, but the log is not growing.
>
> Anyway to further debug this?
>
Run it from the command line.

--

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


krisbee at krisbee

Aug 18, 2011, 5:48 AM

Post #3 of 12 (372 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

"Just posted about a new channel listing problem I'm having. Further to
that I thought I'd check the mythfilldatabase log. I added
/var/log/mythfilldatabase in myth-setup, but the log is not growing.

Anyway to further debug this?"

I would delete the current log that is there. I had this happen on a
different program, and it was because root created it during setup, but
mythtv is the user normally. See if that helps.
--
Kris B.
krisbee [at] krisbee
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Aug 18, 2011, 7:20 AM

Post #4 of 12 (371 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On 08/18/2011 03:57 AM, Ian Evans wrote:
> Just posted about a new channel listing problem I'm having. Further to
> that I thought I'd check the mythfilldatabase log. I added
> /var/log/mythfilldatabase in myth-setup, but the log is not growing.
>
> Anyway to further debug this?

Does the user running mythbackend actually have write permissions on the
/var/log directory and/or the /var/log/mythfilldatabase file? Usually
unprivileged users would need to log to some other location (maybe a
/var/log/mythtv/mythfilldatabase file?).

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


dheianevans at gmail

Aug 18, 2011, 12:46 PM

Post #5 of 12 (346 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On Thu, Aug 18, 2011 at 10:20 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> Does the user running mythbackend actually have write permissions on the
> /var/log directory and/or the /var/log/mythfilldatabase file?  Usually
> unprivileged users would need to log to some other location (maybe a
> /var/log/mythtv/mythfilldatabase file?).

I'll check that. Thanks.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


spikeygg.mythbox at gmail

Feb 1, 2012, 7:23 PM

Post #6 of 12 (184 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On Thu, Aug 18, 2011 at 8:20 AM, Michael T. Dean <mtdean [at] thirdcontact>wrote:
>
> Does the user running mythbackend actually have write permissions on the
> /var/log directory and/or the /var/log/mythfilldatabase file? Usually
> unprivileged users would need to log to some other location (maybe a
> /var/log/mythtv/mythfilldatabase file?).
>
> Mike
>

Mike, how would one configure mythfilldatabase (or the backend) so that it
always logs data to /var/log/mythtv? I just checked my mythbackend log
file and I noticed that it's trying to create the file in /var/log (which
it doesn't have permissions to).

2012-02-01 09:57:37.980482 E [2833/15546] MythFillDB housekeeper.cpp:463
(RunMFD) - Invalid mythfilldatabase log path: /var/log/mythfilldatabase.log
is not writable.
Thanks,
-Greg


raymond at wagnerrp

Feb 1, 2012, 7:35 PM

Post #7 of 12 (182 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On 2/1/2012 22:23, Greg Grotsky wrote:
> On Thu, Aug 18, 2011 at 8:20 AM, Michael T. Dean
> <mtdean [at] thirdcontact <mailto:mtdean [at] thirdcontact>> wrote:
>
> Does the user running mythbackend actually have write permissions
> on the
> /var/log directory and/or the /var/log/mythfilldatabase file? Usually
> unprivileged users would need to log to some other location (maybe a
> /var/log/mythtv/mythfilldatabase file?).
>
> Mike
>
> Mike, how would one configure mythfilldatabase (or the backend) so
> that it always logs data to /var/log/mythtv? I just checked my
> mythbackend log file and I noticed that it's trying to create the file
> in /var/log (which it doesn't have permissions to).

Use the new --logpath rather than the old --logfile. Set the path to
somewhere the user that runs mythbackend has write access to.


spikeygg.mythbox at gmail

Feb 1, 2012, 7:56 PM

Post #8 of 12 (184 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On Wed, Feb 1, 2012 at 8:35 PM, Raymond Wagner <raymond [at] wagnerrp> wrote:

> Use the new --logpath rather than the old --logfile. Set the path to
> somewhere the user that runs mythbackend has write access to
>
>

Thanks Raymond, this is exactly what I was looking for!


spikeygg.mythbox at gmail

Feb 2, 2012, 8:00 PM

Post #9 of 12 (173 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

So I changed my mythbackend script to use --logpath and I see that there
are several files in that new directory now. However, it looks like
mythfilldatabase has not been ported to use the --logpath because I'm still
getting complaints in the mythbackend logfile from it:

2012-02-02 02:01:51.102386 E [25061/27483] MythFillDB housekeeper.cpp:463
(RunMFD) - Invalid mythfilldatabase log path: /var/log/mythfilldatabase.log
is not writable.
2012-02-02 18:54:00.518222 E [25061/7567] MythFillDB housekeeper.cpp:463
(RunMFD) - Invalid mythfilldatabase log path: /var/log/mythfilldatabase.log
is not writable.


keemllib at gmail

Feb 2, 2012, 8:16 PM

Post #10 of 12 (172 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On 02/02/2012 10:00 PM, Greg Grotsky wrote:
> So I changed my mythbackend script to use --logpath and I see that there
> are several files in that new directory now. However, it looks like
> mythfilldatabase has not been ported to use the --logpath because I'm still
> getting complaints in the mythbackend logfile from it
...

Hi;

mythfilldatabase is a bit of a special case right now. Two
log files are actually used.

I suspect you haven't defined a file for the "wget" part and the
default (under /var/log) is being used.

Take a look at the "Note:" box under:

http://www.mythtv.org/wiki/Logging#File_Logging

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Feb 2, 2012, 8:19 PM

Post #11 of 12 (172 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On 02/02/2012 11:16 PM, Bill Meek wrote:
> On 02/02/2012 10:00 PM, Greg Grotsky wrote:
>> So I changed my mythbackend script to use --logpath and I see that there
>> are several files in that new directory now. However, it looks like
>> mythfilldatabase has not been ported to use the --logpath because I'm still
>> getting complaints in the mythbackend logfile from it
> ...
>
> Hi;
>
> mythfilldatabase is a bit of a special case right now. Two
> log files are actually used.
>
> I suspect you haven't defined a file for the "wget" part and the
> default (under /var/log) is being used.
>
> Take a look at the "Note:" box under:
>
> http://www.mythtv.org/wiki/Logging#File_Logging

And fix your mythfilldatabase log path in mythtv-setup.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


spikeygg.mythbox at gmail

Feb 2, 2012, 8:36 PM

Post #12 of 12 (169 views)
Permalink
Re: Not getting mythfilldatabase log [In reply to]

On Thu, Feb 2, 2012 at 9:19 PM, Michael T. Dean <mtdean [at] thirdcontact>wrote:

> And fix your mythfilldatabase log path in mythtv-setup.
>
> Mike


Got it. Thanks guys!

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.