LinuxMCE Forums

General => Users => Topic started by: pw44 on May 23, 2010, 05:00:23 AM

Title: [SOLVED] Mythtv problem after update
Post by: pw44 on May 23, 2010, 05:00:23 AM
Hia,
today i did an apt-get update & upgrade, and after that, mythtv is not working anymore.
When i start TV, i get the message "MythTV seems to have died. I'm trying to reset it now"
Anyone got this problem?
08      05/23/10 0:04:04.428            Received Message from 21 (OnScreen Orbiter / Living) to 10 (Media Plug-in / Living), type 1 id 74 Command:Bind to Media Remote, retry none, parameters: <0x727b2b90>                                    
08      05/23/10 0:04:04.428              Parameter 2(PK_Device):  <0x727b2b90>                                        
08      05/23/10 0:04:04.428              Parameter 3(PK_DesignObj):  <0x727b2b90>                                      
08      05/23/10 0:04:04.428              Parameter 8(On/Off): 0 <0x727b2b90>                                          
08      05/23/10 0:04:04.428              Parameter 25(PK_Text):  <0x727b2b90>                                          
08      05/23/10 0:04:04.428              Parameter 39(Options):  <0x727b2b90>                                          
08      05/23/10 0:04:04.428              Parameter 45(PK_EntertainArea): 1 <0x727b2b90>                                
08      05/23/10 0:04:04.428              Parameter 63(PK_Text_Synopsis):  <0x727b2b90>                                
08      05/23/10 0:04:04.428              Parameter 159(PK_Screen):  <0x727b2b90>                                      
08      05/23/10 0:04:04.448            Received Message from 21 (OnScreen Orbiter / Living) to 50 (USB UIRT 0038 / Living), type 1 id 687 Command:Set Screen Type, retry none, parameters: <0x72fb3b90>                                        
08      05/23/10 0:04:04.448              Parameter 48(Value): 0 <0x72fb3b90>                                          
05      05/23/10 0:04:22.011            Socket::ReceiveData 0xa1a0fb8 failed, bytes left 0 start: 2230000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 171 Incoming_Conn Socket 171 127.0.0.1EVENT 32 T=13 Event #32 <0x697a0b90>                            
05      05/23/10 0:04:22.011            Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 171 127.0.0.1EVENT 32 T=13 Event #32 <0x697a0b90>                                                                          
05      05/23/10 0:04:22.011            TCPIP: Closing connection to 32 (Router Dev #0) 0xa1a0fb8 m_Socket: -1 <0x697a0b90>                                                                                                                    
05      05/23/10 0:04:22.011            Router::RemoveAndDeleteSocket 0xa1a0fb8 32 <0x697a0b90>                        
05      05/23/10 0:04:22.011            Socket::ReceiveData 0xa1b4568 failed, bytes left 0 start: 2230000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 173 Incoming_Conn Socket 173 127.0.0.1EVENT 32 T=13 Event #32 <0x6a7a2b90>                            
05      05/23/10 0:04:22.011            Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 173 127.0.0.1EVENT 32 T=13 Event #32 <0x6a7a2b90>                                                                          
05      05/23/10 0:04:22.011            TCPIP: Closing connection to 32 (Router Dev #0) 0xa1b4568 m_Socket: -1 <0x6a7a2b90>                                                                                                                    
05      05/23/10 0:04:22.011            Router::RemoveAndDeleteSocket 0xa1b4568 32 <0x6a7a2b90>                        
05      05/23/10 0:04:28.054            Socket::ReceiveData 0xa1b4bf0 failed, bytes left 0 start: 2320000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 171 MythPluginSocket <0x9d9fbb90>                                                                    
01      05/23/10 0:04:28.054            MythBackEnd_Socket::Close <0x9d9fbb90>                                          
01      05/23/10 0:04:28.106            MythBackEnd_Socket::SendMythString sent MYTH_PROTO_VERSION 56 but error getting response <0x9d9fbb90>                                                                                                  
01      05/23/10 0:04:28.106            MythBackEnd_Socket::Connect couldn't send MYTH_PROTO_VERSION m_bConnected=false <0x9d9fbb90>                                                                                                            
01      05/23/10 0:04:28.106            MythBackEnd_Socket::ProcessSocket error reconnect 0 <0x9d9fbb90>                
05      05/23/10 0:04:28.158            Socket::ReceiveData 0xa1b4568 failed, bytes left 0 start: 2320000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 171 MythPluginSocket <0x9d9fbb90>                                                                    
01      05/23/10 0:04:28.158            MythBackEnd_Socket::Close <0x9d9fbb90>                                          
01      05/23/10 0:04:28.212            MythBackEnd_Socket::SendMythString sent MYTH_PROTO_VERSION 56 but error getting response <0x9d9fbb90>                                                                                                  
01      05/23/10 0:04:28.212            MythBackEnd_Socket::Connect couldn't send MYTH_PROTO_VERSION m_bConnected=false <0x9d9fbb90>                                                                                                            
05      05/23/10 0:04:28.266            Socket::ReceiveData 0xa1b4bf0 failed, bytes left 0 start: 2320000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 171 MythPluginSocket <0x9d9fbb90>                                                                    
01      05/23/10 0:04:28.266            MythBackEnd_Socket::Close <0x9d9fbb90>                                          
01      05/23/10 0:04:28.319            MythBackEnd_Socket::SendMythString sent MYTH_PROTO_VERSION 56 but error getting response <0x9d9fbb90>                                                                                                  
01      05/23/10 0:04:28.319            MythBackEnd_Socket::Connect couldn't send MYTH_PROTO_VERSION m_bConnected=false <0x9d9fbb90>                                                                                                            
01      05/23/10 0:04:28.319            MythBackEnd_Socket::SendMythString failed to reconnect <0x9d9fbb90>            
01      05/23/10 0:04:28.319            MythTV_PlugIn::ConfirmMasterBackendOk -- lost communication with it.  Forcing it to die <0x9d9fbb90>
08      05/23/10 0:04:28.320            Received Message from 39 (MythTV Plug-In / Living) to 15 (App Server / Living),type 1 id 67 Command:Spawn Application, retry none, parameters: <0x9f1feb90>
08      05/23/10 0:04:28.320              Parameter 13(Filename): /usr/pluto/bin/ForciblyKillProcess.sh <0x9f1feb90>
08      05/23/10 0:04:28.320              Parameter 50(Name): killmyth <0x9f1feb90>
08      05/23/10 0:04:28.320              Parameter 51(Arguments): mythbackend <0x9f1feb90>

TIA,
Paulo

Title: Re: Mythtv problem after update
Post by: MANDINGO on May 23, 2010, 06:45:16 AM
We are in the process of migrating to .23 and had a few bugs to workout

Please hold out as we will make the announcement for it, some of the files are not in the repo as off yet.

if you cant wait a few hours !!!!!!! yes i said a few hours then you know where to find us
in the channels

Thanks

Mandingo 
Title: Re: Mythtv problem after update
Post by: pw44 on May 23, 2010, 12:19:03 PM
No problem.. i can wait till is done.
Thx!
Title: Re: Mythtv problem after update
Post by: vbman1 on May 23, 2010, 12:44:29 PM
does this mean mythtv is fixed???
Title: Re: Mythtv problem after update
Post by: bongowongo on May 23, 2010, 01:40:16 PM
That could mean that.
Still waiting for latest working snapshot to testdrive it.
Title: Re: Mythtv problem after update
Post by: MANDINGO on May 23, 2010, 08:52:21 PM
 ;D

Yes mythtv is fixed

Thanks

Mandingo
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 12:56:40 AM
Hi Mandingo, thx for the info.
Which myth packages shall be updated?
I had the preferences file in /etc/apt (for 0.22) and removed this preferences file.
After an apt-get update and apt-get upgrade, no packages were upgraded, only the pluto-myth.
Is there anything else that should be upgraded?
TIA
Title: Re: Mythtv problem after update
Post by: fastie81 on May 24, 2010, 01:03:43 AM
Quote from: pw44 on May 24, 2010, 12:56:40 AM
Hi Mandingo, thx for the info.
Which myth packages shall be updated?
I had the preferences file in /etc/apt (for 0.22) and removed this preferences file.
After an apt-get update and apt-get upgrade, no packages were upgraded, only the pluto-myth.
Is there anything else that should be upgraded?
TIA

Hi

I found the same thing..
However when I did a "apt-get dist-upgrade" it did pull down the myth packages.
Due to the version rename your system that it is downgrading from 22 to 23..
I just said yes and it was happy to install.
I ran into a DB problem that was fixed. Just follow this link. http://svn.linuxmce.org/trac.cgi/ticket/690
Hope this helps
C
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 01:43:03 AM
Hi,
did not work for me... still with 0.22 (mythbackend MythTV Branch    : branches/release-0-22-fixes and mythfrontend MythTV Branch    : branches/release-0-22-fixes)
TIA
Title: Re: Mythtv problem after update
Post by: fastie81 on May 24, 2010, 02:56:29 AM
Did you remove your pinnning?
under /etc/apt/ there is a preferences file. If you open that is there anything about myth in there?
If there is remove it and the update and dis-upgrade.
See if that worked.
C
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 03:16:38 AM
yes, i did, and also runned apt-get dist-upgrade.....
no luck.... :(
Title: Re: Mythtv problem after update
Post by: fastie81 on May 24, 2010, 04:12:03 AM
you have run a apt-get update first? right.
Title: Re: Mythtv problem after update
Post by: ccoudsi on May 24, 2010, 06:12:14 AM
I just want to confirm the new mythtv version is ok, I removed the following lines from "/etc/apt/preferences" on Core & Mds

Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmyth-perl
Pin: version 2:0.22*
Pin-Priority: 1001

Then run apt-get update & apt-get dist-upgrade, and my new version is

mythtv-backend = 0.23-0.1
mythtv-common = 0.23-0.1
mythtv-database = 0.23-0.1
mythtv-doc = 0.23-0.1
mythtv-frontend = 0.23-0.1
mythweb = 0.23-0.0
Title: Re: Mythtv problem after update
Post by: fastie81 on May 24, 2010, 06:40:06 AM
Quote from: ccoudsi on May 24, 2010, 06:12:14 AM
I just want to confirm the new mythtv version is ok, I removed the following lines from "/etc/apt/preferences" on Core & Mds

Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmyth-perl
Pin: version 2:0.22*
Pin-Priority: 1001

Then run apt-get update & apt-get dist-upgrade, and my new version is

mythtv-backend = 0.23-0.1
mythtv-common = 0.23-0.1
mythtv-database = 0.23-0.1
mythtv-doc = 0.23-0.1
mythtv-frontend = 0.23-0.1
mythweb = 0.23-0.0


Jipp that looks good.
C
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 12:38:10 PM
I'm getting the following error on apt-get update output.
Can this be related with th non upgrade top 0.23?


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.46 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/non-free/binary-i386/Packages.gz  404 Not Found [IP:91.189.88.46 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/contrib/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.46 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 07:37:11 PM
Just in case, could you send me a copy of your /etc/apt/sources.list file?
TIA
Title: Re: Mythtv problem after update
Post by: ccoudsi on May 24, 2010, 07:46:15 PM
Here's my /etc/apt/preferences


Package: *
Pin: origin deb.linuxmce.org
Pin-Priority: 1001
Title: Re: Mythtv problem after update
Post by: pw44 on May 24, 2010, 08:17:32 PM
Thx, problem was lack of preferences.... and later an empty one.
Using the one you published, it worked.
Thx again!
Title: Re: [SOLVED] Mythtv problem after update
Post by: skeptic on May 24, 2010, 09:21:15 PM
So does this mean it's safe for the rest of us to upgrade?  I do not have an /etc/apt/preferences file, do I need to create one with the entries ccoudsi posted?
Title: Re: [SOLVED] Mythtv problem after update
Post by: pw44 on May 24, 2010, 09:51:41 PM
Apparentely yes, because i could not upgrade witou the preferences file :( Only after i did, i was able to upgrade (before deleting, i had i with the "lock" to myth 0.22).
Title: Re: [SOLVED] Mythtv problem after update
Post by: ccoudsi on May 25, 2010, 03:34:01 AM
On one of my Md's got the database error as below, and the fix suggested earlier didn't work, any other ideas ???
QuoteI ran into a DB problem that was fixed. Just follow this link. http://svn.linuxmce.org/trac.cgi/ticket/690

root@moon117:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mythtv-database (0.23-0.1) ...
Failed to execute SQL: GRANT ALL PRIVILEGES ON mythconverg.* TO mythtv@localhost IDENTIFIED BY '0AVErWgp'\nAccess denied for user 'root'@'192.168.80.4' to database 'mythconverg' at -e line 8, <> line 1.
dpkg: error processing mythtv-database (--configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
mythtv-database
E: Sub-process /usr/bin/dpkg returned an error code (1)



root@moon117:~# dpkg-reconfigure mythtv-database
/usr/sbin/dpkg-reconfigure: mythtv-database is broken or not fully installed
root@moon117:~#

Title: Re: [SOLVED] Mythtv problem after update
Post by: fastie81 on May 25, 2010, 04:43:27 AM
we all have this problem on the MD's
I am trying to look for a work around..
No luck yet..
C
Title: Re: [SOLVED] Mythtv problem after update
Post by: dcubox1 on May 25, 2010, 10:39:00 AM
Does the new version fix the issue of not being able to tune a channel using a coax feed?
Title: Re: [SOLVED] Mythtv problem after update
Post by: bongowongo on May 25, 2010, 12:03:43 PM
Quote from: dcubox1 on May 25, 2010, 10:39:00 AM
Does the new version fix the issue of not being able to tune a channel using a coax feed?
Yes it scans coax now.
Title: Re: [SOLVED] Mythtv problem after update
Post by: dcubox1 on May 25, 2010, 12:11:20 PM
Sweet, thanks for the hard work on this....
is there a wiki for how to upgrade? or is it just apt-get update and dist upgrade?

Thanks Again
Title: Re: [SOLVED] Mythtv problem after update
Post by: wombiroller on May 25, 2010, 01:52:25 PM
Quote from: dcubox1 on May 25, 2010, 12:11:20 PM
Sweet, thanks for the hard work on this....
is there a wiki for how to upgrade? or is it just apt-get update and dist upgrade?

Thanks Again
http://wiki.linuxmce.org/index.php/Installing_0810

Quote
  Keeping Up-to-date with updates

Once you have installed LinuxMCE-0810, all you need to do to keep up-to-date with the latest and greatest, is run the following from a terminal on the core and each MD:

sudo apt-get update
sudo apt-get upgrade


Note: You should NOT run apt-get dist-upgrade after LinuxMCE is installed, as it can cause several problems, including having different kernel versions on your core and media directors, and the installation of new Kubuntu packages that can break some features!
Title: Mythtv problem after update
Post by: pga57 on May 26, 2010, 09:44:10 AM
Me to.
I have this problem on the MD's and have not find the solution.


root@moon130:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up mythtv-database (0.23-0.1) ...
Failed to execute SQL: GRANT ALL PRIVILEGES ON mythconverg.* TO mythtv@localhost IDENTIFIED BY '3zRkyO86'\nAccess denied for user 'root'@'192.168.80.4' to database 'mythconverg' at -e line 8, <> line 1.
dpkg: error processing mythtv-database (--configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
mythtv-database
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@moon130:~#



Is there a solution ?
Remove and reinstall Mythtv on MD don't resolve this.

Philippe