[mythtv] Time problems with latest trunk svn?

Mark Paulus mark.paulus at verizonbusiness.com
Tue Jan 16 17:11:31 UTC 2007


I just experienced this problem.  The issue for me was that upgrading to 
a newer version of the debian mythtv packages on my slave backend 
installed a new file called mysql.txt in ~mythtv/.mythtv/mysql.txt.
That file was used on startup, overriding the file I have in 
/etc/mythtv/mysql.txt, and setting a bogus value for 
DBHostName=localhost.  So, when my slave tried to startup, it couldn't 
find the master DB since it was looking on itself, instead of the master 
BE, and, in my case, failing on the connect to the DB.

May not be your situation, but something to look at.

Scott Milliken wrote:
> I got the weirdest error message after applying the latest SVN today.  
> Apparently somebody thinks that the date is Midnight, December 31, 
> 1969.  Any better way to try to debug this issue?  Output after running 
> mythfrontend -v all:
> 
> 2007-01-16 09:58:45.575 MythSocket(83185c0:26): new socket
> 2007-01-16 09:58:45.576 MythSocket(83185c0:26): attempting connect() to 
> (192.168.2.21:6543)
> 2007-01-16 09:58:45.577 MythSocket(83185c0:26): state change Idle -> 
> Connected
> 2007-01-16 09:58:45.577 write -> 26 21      MYTH_PROTO_VERSION 32
> 2007-01-16 09:58:45.577 read  <- 26 13      ACCEPT[]:[]32
> 2007-01-16 09:58:45.578 Using protocol version 32
> 2007-01-16 09:58:45.578 write -> 26 25      ANN Playback livingroom 0
> 2007-01-16 09:58:45.591 read  <- 26 2       OK
> 2007-01-16 09:58:45.591 write -> 26 79      QUERY_RECORDER 
> 4[]:[]SPAWN_LIVETV[]:[]live-livingroom-2007-01-16T09:58:45[]:[]0
> 2007-01-16 09:58:45.669 MythSocket(b1b3c4c8:20): socket is readable
> 2007-01-16 09:58:45.670 MythSocket(b1b3c4c8:20): cb->readyRead()
> 2007-01-16 09:58:45.671 read  <- 20 53      
> BACKEND_MESSAGE[]:[]QUERY_NEXT_LIVETV_DIR 4[]:[]empty
> 2007-01-16 09:58:45.672 MythEvent: QUERY_NEXT_LIVETV_DIR 4
> 2007-01-16 09:58:45.699 read  <- 26 2       ok
> 2007-01-16 09:58:45.700 MSqlQuery: SELECT chanid, starttime, endtime, 
> discontinuity, chainpos, hostprefix, cardtype, channame, input FROM 
> tvchain WHERE chainid = 'live-livingroom-2007-01-16T09:58:45' ORDER BY 
> chainpos;
> 2007-01-16 09:58:45.700 GetEntryAt(-1) failed.
> 2007-01-16 09:58:45.701 MSqlQuery: SELECT 
> recorded.chanid,starttime,endtime,title, 
> subtitle,description,channel.channum, 
> channel.callsign,channel.name,channel.commfree, 
> channel.outputfilters,seriesid,programid,filesize, 
> lastmodified,stars,previouslyshown,originalairdate, 
> hostname,recordid,transcoder,playgroup, 
> recorded.recpriority,progstart,progend,basename,recgroup, storagegroup 
> FROM recorded LEFT JOIN channel ON recorded.chanid = channel.chanid 
> WHERE recorded.chanid = '0' AND starttime = '1969-12-31T18:00:00' ;
> 2007-01-16 09:58:45.701 EntryToProgram(0 at Wed Dec 31 18:00:00 1969) 
> failed to get pginfo
> 2007-01-16 09:58:45.701 TV Error: LiveTV not successfully started
> 2007-01-16 09:58:45.702 MythSocket(83185c0:26): DownRef: -1
> 2007-01-16 09:58:45.702 MythSocket(83185c0:26): state change Connected 
> -> Idle
> 2007-01-16 09:58:45.702 MythSocket(83185c0:-1): delete socket
> 2007-01-16 09:58:45.702 TV Error: LiveTV not successfully started
> 2007-01-16 09:58:45.709 MythSocket(b1b3c4c8:20): socket is readable
> 2007-01-16 09:58:45.709 MythSocket(b1b3c4c8:20): cb->readyRead()
> 2007-01-16 09:58:45.710 read  <- 20 51      
> BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
> 2007-01-16 09:58:45.710 MythEvent: RECORDING_LIST_CHANGE
> 2007-01-16 09:58:45.779 TV: Deleting TV Chain in destructor
> 2007-01-16 09:58:45.780 MSqlQuery: DELETE FROM tvchain WHERE chainid = 
> 'live-livingroom-2007-01-16T09:58:45' ;
> 2007-01-16 09:58:46.939 MSqlQuery: SELECT data FROM settings WHERE value 
> = 'NoPromptOnExit' AND hostname = 'livingroom' ;
> 2007-01-16 09:58:46.939 write -> 21 38      
> QUERY_IS_ACTIVE_BACKEND[]:[]livingroom
> 2007-01-16 09:58:46.940 read  <- 21 4       TRUE
> 
> Scott Milliken
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 

-- 
Mark Paulus
2424 Garden of the Gods Rd  | Phone:  v622-5578 / 719-535-5578
0419/117 - LEC Access ; D5-1010   | FAX:    719-535-1665
Colo Springs, CO  80919    | 1800PageMCI / 1406052
AIM : mgpaulus1    /  sametime : mark.paulus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mark.paulus.vcf
Type: text/x-vcard
Size: 296 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070116/2def6752/attachment.vcf 


More information about the mythtv-dev mailing list