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

Mailing List Archive: MythTV: Users

Re: problem with mythtv after upgrade port 6543 connection refused

 

 

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


mtdean at thirdcontact

Nov 4, 2009, 7:01 PM

Post #1 of 4 (375 views)
Permalink
Re: problem with mythtv after upgrade port 6543 connection refused

On 11/04/2009 09:55 PM, Phil Wild wrote:
> I am having a problem with mythtv after upgrading to karmic and 0.22
> and am trying to diagnose the issue.
>
> Some time after startup, mythtv stops responding on port 6543
>
> This is what I see running
>
> phil 31842 31841 0 10:44 ? 00:00:00 /bin/sh -c nice
> /usr/bin/mythfilldatabase --graboptions '--daily'
> phil 31843 31842 0 10:44 ? 00:00:00
> /usr/bin/mythfilldatabase --graboptions --daily
> phil 31854 31843 0 10:44 ? 00:00:00 sh -c nice tv_grab_au
> --config-file '/data/home/phil/.mythtv/FreeView.xmltv' --output
> /tmp/mythgnoUuo --quiet --daily
> phil 31855 31854 6 10:44 ? 00:00:18 /usr/bin/perl -w
> /usr/bin/tv_grab_au --config-file
> /data/home/phil/.mythtv/FreeView.xmltv --output /tmp/mythgnoUuo
> --quiet --daily
> mythtv 32352 1 0 10:48 ? 00:00:00 /bin/su -c
> /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log mythtv
> mythtv 32367 32352 0 10:48 ? 00:00:00 sh -c
> /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log
> mythtv 32368 32367 12 10:48 ? 00:00:01 /usr/bin/mythbackend
> --logfile /var/log/mythtv/mythbackend.log
>
> but port 6543 is not running
>
> root [at] rome:/etc/default# telnet localhost 6543
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
>
> restarting myth does not resolve the issue. I had to reboot last time.
> The logfile shows nothing out of the ordinary but I have default
> logging at the moment.
>
> Any suggestions as to where to start looking?

Likely the same issue that's causing
http://svn.mythtv.org/trac/ticket/7135 (which we are guessing is related
to myth_system()). Josh's comment
http://svn.mythtv.org/trac/ticket/7135#comment:10 would explain why
restarting doesn't help and rebooting is required.

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


philwild at gmail

Nov 4, 2009, 7:38 PM

Post #2 of 4 (348 views)
Permalink
Re: problem with mythtv after upgrade port 6543 connection refused [In reply to]

2009/11/5 Michael T. Dean <mtdean [at] thirdcontact>:
> On 11/04/2009 09:55 PM, Phil Wild wrote:
>>
>> I am having a problem with mythtv after upgrading to karmic and 0.22
>> and am trying to diagnose the issue.
>>
>> Some time after startup, mythtv stops responding on port 6543
>>
>> This is what I see running
>>
>> phil     31842 31841  0 10:44 ?        00:00:00 /bin/sh -c nice
>> /usr/bin/mythfilldatabase --graboptions '--daily'
>> phil     31843 31842  0 10:44 ?        00:00:00
>> /usr/bin/mythfilldatabase --graboptions --daily
>> phil     31854 31843  0 10:44 ?        00:00:00 sh -c nice tv_grab_au
>> --config-file '/data/home/phil/.mythtv/FreeView.xmltv' --output
>> /tmp/mythgnoUuo --quiet --daily
>> phil     31855 31854  6 10:44 ?        00:00:18 /usr/bin/perl -w
>> /usr/bin/tv_grab_au --config-file
>> /data/home/phil/.mythtv/FreeView.xmltv --output /tmp/mythgnoUuo
>> --quiet --daily
>> mythtv   32352     1  0 10:48 ?        00:00:00 /bin/su -c
>> /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log mythtv
>> mythtv   32367 32352  0 10:48 ?        00:00:00 sh -c
>> /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log
>> mythtv   32368 32367 12 10:48 ?        00:00:01 /usr/bin/mythbackend
>> --logfile /var/log/mythtv/mythbackend.log
>>
>> but port 6543 is not running
>>
>> root [at] rome:/etc/default# telnet localhost 6543
>> Trying 127.0.0.1...
>> telnet: Unable to connect to remote host: Connection refused
>>
>> restarting myth does not resolve the issue. I had to reboot last time.
>> The logfile shows nothing out of the ordinary but I have default
>> logging at the moment.
>>
>> Any suggestions as to where to start looking?
>
> Likely the same issue that's causing http://svn.mythtv.org/trac/ticket/7135
> (which we are guessing is related to myth_system()).  Josh's comment
> http://svn.mythtv.org/trac/ticket/7135#comment:10 would explain why
> restarting doesn't help and rebooting is required.
>


Are you sure? Looking at that ticket indicates an issue with the
frontend. This is the backend that is playing up. I do not have any
defunct processes hanging around when starting mythbackend

Cheers

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


mtdean at thirdcontact

Nov 6, 2009, 10:57 PM

Post #3 of 4 (320 views)
Permalink
Re: problem with mythtv after upgrade port 6543 connection refused [In reply to]

On 11/07/2009 01:02 AM, Phil Wild wrote:
>>> It will not respond to any of the IP addresses. netstat -an | grep
>>> LISTEN | grep 6543 returns nothing
>> Some further insight. I dumped the database and created one from
>> scratch and things started working again....
>>
>> I am going to attempt to upgrade my old database again and see if I
>> get it working.
>>
> Just performed an upgrade of my 0.21 database and had the same problem
> afterwards.

After upgrading the old database, do a full backup (
http://www.mythtv.org/wiki/Database_Backup_and_Restore ), then drop the
database, run mc.sql, then start mythtv-setup, and exit. Then do a
partial restore from the old database backup (
http://www.mythtv.org/wiki/Database_Backup_and_Restore#Partial_restore_of_a_backup
), then reconfigure things. That way you'll save all the
non-recreateable data.

Or you can do this approach with your 0.21-fixes DB backup:
http://www.gossamer-threads.com/lists/mythtv/users/406111#406111

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


philwild at gmail

Nov 7, 2009, 7:37 AM

Post #4 of 4 (318 views)
Permalink
Re: problem with mythtv after upgrade port 6543 connection refused [In reply to]

>> Just performed an upgrade of my 0.21 database and had the same problem
>> afterwards.
>
> After upgrading the old database, do a full backup (
> http://www.mythtv.org/wiki/Database_Backup_and_Restore ), then drop the
> database, run mc.sql, then start mythtv-setup, and exit.  Then do a partial
> restore from the old database backup (
> http://www.mythtv.org/wiki/Database_Backup_and_Restore#Partial_restore_of_a_backup
> ), then reconfigure things.  That way you'll save all the non-recreateable
> data.
>
> Or you can do this approach with your 0.21-fixes DB backup:
> http://www.gossamer-threads.com/lists/mythtv/users/406111#406111
>

Thanks Mike

This resolved the issue.

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

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.