[mythtv-users] When is the master BE not the master BE?

Brian Foddy bfoddy at visi.com
Sun Oct 21 19:21:05 UTC 2007


On Friday 19 October 2007, John Drescher wrote:
> On 10/19/07, Brian Foddy <bfoddy at visi.com> wrote:
> > A month ago, I swapped out my master BE machine with another,
> > doing so changed the machine name and IP address.
> >
> > To do the conversion, I dumped the database to a file and
> > globally changed every occurrence of the old machine and
> > ip address with the new values, copied it over and reloaded
> > the database.  Then I double checked the values in
> > mythtv-setup and everything seems fine.
> >
> > The system also has a slave BE machine that doubles
> > as a FE machine, which hasn't changed names/ip.
> >
> > The system is working fine except for two funny
> > problems.
> > 1.  It refuses to run mythfilldatabase automatically as the
> > old master used to do.  Manually running it works fine.
> > 2.  The system is not logging any events in the database log.
>
> Not that this helps but I have the exact same two problems. The last
> thing I got in the database log was from the old master (several
> months ago). And I have had to schedule mythfilldatabase via a cron
> job because it was never running. Other than that all is well. I am
> using a svn version of mythtv-0.21 under 64 bit gentoo.
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Digging around a little, I notice the housekeeping table:

mysql> select * from housekeeping;
+-------------------------------------+---------------------+
| tag                                 | lastrun             |
+-------------------------------------+---------------------+
| LogClean                            | 2007-09-23 13:03:17 |
| MythFillDB                          | 2007-09-22 12:02:44 |
| JobQueueCleanup                     | 2007-01-28 08:20:13 |
| JobQueueRecover-mammouth.foddy.home | 2007-09-22 15:27:45 |
| JobQueueRecover-fodvo.foddy.home    | 2007-10-21 09:17:02 |
| InUseProgramsCleanup                | 2007-01-28 08:20:13 |
| JobQueueRecover-starfire.foddy.home | 2007-05-27 23:48:36 |
| DailyCleanup                        | 2007-10-21 09:12:52 |
| JobQueueRecover-pvrfe               | 2007-04-04 23:00:40 |
| JobQueueRecover-mammouth            | 2007-10-20 15:47:49 |
+-------------------------------------+---------------------+
10 rows in set (0.00 sec)


The master is hostname is "mammouth", fodvo is a FE slave BE.  
Its possible early in the setup it might have been 
called "mammouth.foddy.home", fully qualified.
Notice the duplicate entry of "JobQueueRecover" parameter.
It also so happens that 9/22/2007 was the last time mythfilldatabase ran.

Anyone have any thoughts on this?  Should I alter database records to remove
the fully qualified names, or alter the hostname to be fully qualified?
Or am I totally off-base.

Brian
 


More information about the mythtv-users mailing list