Kirjoittaja Aihe: [Ratkaistu, tavallaan] 10.04-päivitys rikkoi MythTV:n  (Luettu 2595 kertaa)

realpet

  • Käyttäjä
  • Viestejä: 167
    • Profiili
Teinpä taas tyhmän tempun ja päätin päivittää käyttöjärjestelmän 9.10 -> 10.04.
MythTV meni rikki enkä saa sitä toimimaan:
- mysql on ajossa ja siihen pääsee käsiksi
Koodia: [Valitse]
mysql -u mythtv -p ja tuohon oikea salasana,
Koodia: [Valitse]
connect mythconverg;
show tables;
näyttää oikeat taulut
- mythbackend käynnistyy ilman virheilmoituksia (/var/log/mythtv/mythbackend.log)
Koodia: [Valitse]
2010-07-17 00:11:54.980 mythbackend version: branches/release-0-23-fixes [24158] www.mythtv.org
2010-07-17 00:11:54.990 Using runtime prefix = /usr
2010-07-17 00:11:54.993 Using configuration directory = /home/mythtv/.mythtv
2010-07-17 00:11:54.996 Empty LocalHostName.
2010-07-17 00:11:54.999 Using localhost value of petkoti1
2010-07-17 00:11:55.011 New DB connection, total: 1
2010-07-17 00:11:55.017 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:11:55.022 Closing DB connection named 'DBManager0'
2010-07-17 00:11:55.027 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:11:55.032 Current MythTV Schema Version (DBSchemaVer): 1254
2010-07-17 00:11:55.037 MythBackend: Starting up as the master server.
2010-07-17 00:11:55.043 New DB connection, total: 2
2010-07-17 00:11:55.048 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:11:55.052 New DB connection, total: 3
2010-07-17 00:11:55.056 Connected to database 'mythconverg' at host: 192.168.255.4
- mythtv-setup toimii ja siellä näkyy oikea ip-osoite
- /etc/mythtv -hakemistossa config.xml:ssä ja mysql.txt:ssä on oikea serverin IP-osoite ja tietokantasalasana (ainakin käsittääkseni mikäli 3306 on oikea porttinumero)
- omassa kotihakemistossa ja käyttäjän mythtv kotihakemistossa .mythtv:n alla olevat config.xml:t ja mysql:txt:t ovat symbolisia linkkejä tuonne /etc/mythtv:n alle
- mythfrontendin käynnistys terminaalista antaa ulostulon:
Koodia: [Valitse]
2010-07-17 00:15:20.643 mythfrontend version: branches/release-0-23-fixes [24158] www.mythtv.org
2010-07-17 00:15:20.643 Using runtime prefix = /usr
2010-07-17 00:15:20.643 Using configuration directory = /home/pet/.mythtv
2010-07-17 00:15:21.527 Empty LocalHostName.
2010-07-17 00:15:21.527 Using localhost value of petkoti1
2010-07-17 00:15:21.533 New DB connection, total: 1
2010-07-17 00:15:21.538 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:15:21.539 Closing DB connection named 'DBManager0'
2010-07-17 00:15:21.547 ScreenSaverX11Private: Gnome screen saver support enabled
2010-07-17 00:15:21.547 DPMS is active.
2010-07-17 00:15:21.548 Primary screen: 0.
2010-07-17 00:15:21.549 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:15:21.550 Using screen 0, 1920x1080 at 0,0
2010-07-17 00:15:21.568 Desktop video mode: 1920x1080 60.0024 Hz
2010-07-17 00:15:21.920 MythUI Image Cache size set to 20971520 bytes
2010-07-17 00:15:21.943 AudioPulseUtil: Suspend Success
2010-07-17 00:15:21.943 Setting 'ThemePainter' being forced to 'qt'
2010-07-17 00:15:21.943 Enabled verbose msgs:  important general
2010-07-17 00:15:21.959 Connecting to lcd server: 127.0.0.1:6545 (try 1 of 10)
2010-07-17 00:15:21.961 New DB connection, total: 2
2010-07-17 00:15:21.963 Connected to database 'mythconverg' at host: 192.168.255.4
2010-07-17 00:15:21.964 Primary screen: 0.
2010-07-17 00:15:21.964 Using screen 0, 1920x1080 at 0,0
2010-07-17 00:15:21.965 Using theme base resolution of 1280x720
2010-07-17 00:15:21.968 LIRC, Error: Failed to connect to Unix socket '/dev/lircd'
eno: No such file or directory (2)
2010-07-17 00:15:21.968 JoystickMenuThread Error: Joystick disabled - Failed to open device
2010-07-17 00:15:21.992 Using Frameless Window
2010-07-17 00:15:21.992 Using Full Screen Window
2010-07-17 00:15:22.228 Using the Qt painter
2010-07-17 00:15:22.397 XMLParseBase: Loaded base theme from '/home/pet/.mythtv/themes/MythCenter-wide/base.xml'
2010-07-17 00:15:22.401 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/default-wide/base.xml'
2010-07-17 00:15:22.406 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/default/base.xml'
2010-07-17 00:15:22.411 Current MythTV Schema Version (DBSchemaVer): 1254
2010-07-17 00:15:22.764 Registering Internal as a media playback plugin.
2010-07-17 00:15:22.788 Cannot load language en_us for module mytharchive
2010-07-17 00:15:22.801 Current MythMusic Schema Version (MusicDBSchemaVer): 1017
2010-07-17 00:15:22.863 MediaMonitorUnix::AddDevice() - empty device path.
2010-07-17 00:15:22.863 MediaMonitorUnix::AddDevice() - empty device path.
2010-07-17 00:15:22.863 MediaMonitorUnix::AddDevice() - empty device path.
2010-07-17 00:15:22.864 MonitorRegisterExtensions(0x40, mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-07-17 00:15:22.870 Cannot load language en_us for module mythmusic
2010-07-17 00:15:22.875 Current MythVideo Schema Version (mythvideo.DBSchemaVer): 1032
2010-07-17 00:15:22.892 Cannot load language en_us for module mythvideo
2010-07-17 00:15:22.893 XMLParseBase: Loading window theme from /home/pet/.mythtv/themes/MythCenter-wide/menu-ui.xml
2010-07-17 00:15:22.978 Loading menu theme from /home/pet/.mythtv/themes/defaultmenu//mainmenu.xml
2010-07-17 00:15:22.979 Found mainmenu.xml for theme 'MythCenter-wide'
2010-07-17 00:15:23.139 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:23.139 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:28.241 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:28.242 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:33.242 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:33.242 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:38.242 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:38.242 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:43.243 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:43.243 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:48.243 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:48.243 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:53.243 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:53.244 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:15:58.244 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:15:58.244 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:16:03.244 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:16:03.244 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:16:08.244 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:16:08.245 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:16:13.245 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:16:13.245 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:16:18.245 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:16:18.245 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address

2010-07-17 00:16:23.246 MythContext: Connecting to backend server: 192.168.255.4:6543 (try 1 of 1)
2010-07-17 00:16:23.246 Connection to master server timed out.
Either the server is down or the master server settings
in mythtv-settings does not contain the proper IP address
ja Mythfrontendin UI:lle tulee hyödytön 'Could not connect to the master backend server - is it running? Is the IP address set for it in the setup program correct?' virheilmoitus.

Ja tosiaan ennen päivitystä tuo setup toimi ihan kunnolla.

Mistähän tuota sontakasaa pitäisi lähteä purkamaan?

- Petri
« Viimeksi muokattu: 17.07.10 - klo:14.40 kirjoittanut realpet »

realpet

  • Käyttäjä
  • Viestejä: 167
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #1 : 17.07.10 - klo:02.20 »
Ja mythbackend käsittääkseni kuuntelee sockettia:
Koodia: [Valitse]
sudo lsof -i -n -P|grep mythback
mythbacke 6055   mythtv    0u  IPv4 100054      0t0  TCP 192.168.255.4:50617->192.168.255.4:3306 (ESTABLISHED)
mythbacke 6055   mythtv    7u  IPv4 100052      0t0  TCP 192.168.255.4:50616->192.168.255.4:3306 (ESTABLISHED)
mythbacke 6055   mythtv    8u  IPv4 100056      0t0  TCP 192.168.255.4:50618->192.168.255.4:3306 (ESTABLISHED)

nm

  • Käyttäjä
  • Viestejä: 16276
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #2 : 17.07.10 - klo:11.25 »
Ja mythbackend käsittääkseni kuuntelee sockettia:
Koodia: [Valitse]
sudo lsof -i -n -P|grep mythback
mythbacke 6055   mythtv    0u  IPv4 100054      0t0  TCP 192.168.255.4:50617->192.168.255.4:3306 (ESTABLISHED)
mythbacke 6055   mythtv    7u  IPv4 100052      0t0  TCP 192.168.255.4:50616->192.168.255.4:3306 (ESTABLISHED)
mythbacke 6055   mythtv    8u  IPv4 100056      0t0  TCP 192.168.255.4:50618->192.168.255.4:3306 (ESTABLISHED)

Tuossa ei näy porttia 6543. Sanoisin, että backend ei käynnisty oikein.

Tarkista vielä: sudo lsof -i -n -P | grep 6543 tai sudo netstat -ltnp | grep 6543

realpet

  • Käyttäjä
  • Viestejä: 167
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #3 : 17.07.10 - klo:11.31 »
Tuossa ei näy porttia 6543. Sanoisin, että backend ei käynnisty oikein.

Tarkista vielä: sudo lsof -i -n -P | grep 6543 tai sudo netstat -ltnp | grep 6543

Koodia: [Valitse]
pet@petkoti1:/var/log/mysql$ sudo lsof -i -n -P | grep 6543
mythlcdse 4288      pet    8u  IPv4  36648      0t0  TCP 192.168.255.4:58386->192.168.255.4:6543 (ESTABLISHED)
mythlcdse 4288      pet    9u  IPv4  36654      0t0  TCP 192.168.255.4:58387->192.168.255.4:6543 (ESTABLISHED)
mythbacke 7619   mythtv   29u  IPv4  34752      0t0  TCP *:6543 (LISTEN)
mythbacke 7619   mythtv   30u  IPv4  36649      0t0  TCP 192.168.255.4:6543->192.168.255.4:58386 (ESTABLISHED)
mythbacke 7619   mythtv   35u  IPv4  36655      0t0  TCP 192.168.255.4:6543->192.168.255.4:58387 (ESTABLISHED)
pet@petkoti1:/var/log/mysql$ sudo netstat -ltnp | grep 6543
tcp        0      0 0.0.0.0:6543            0.0.0.0:*               LISTEN      7619/mythbackend

nm

  • Käyttäjä
  • Viestejä: 16276
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #4 : 17.07.10 - klo:12.30 »
Ok, olihan se siellä. Ajatko frontendia samalla koneella? Onko palvelimella jotain palomuurisääntöjä (sudo iptables -L)?

realpet

  • Käyttäjä
  • Viestejä: 167
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #5 : 17.07.10 - klo:14.39 »
Ok, olihan se siellä. Ajatko frontendia samalla koneella? Onko palvelimella jotain palomuurisääntöjä (sudo iptables -L)?

Ei ollut palomuuriongelma, ongelman sai ratkaistua perinteisellä linux-tavalla eli asentamalla kaiken uudestaan. Linux on uusi Windows.

- Petri

samihs72

  • Käyttäjä
  • Viestejä: 846
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #6 : 17.07.10 - klo:14.50 »

Ei ollut palomuuriongelma, ongelman sai ratkaistua perinteisellä linux-tavalla eli asentamalla kaiken uudestaan. Linux on uusi Windows.

- Petri
Tästä täytyy olla samaa mieltä Mythbuntun osalta: En ole kertaakaan onnistunut päivittämään edellisestä versiosta seuraavaan...  ::) Mä en oikein tiedä miten saisi tehtyä homman samalla tavalla kuin normaali jakelun puolella, kun siellä laittaa /home kansiot omalle osiolleen ja tekee puhdasasennuksen ja liittää /home osion siihen...

Onnistuiskohan se Mythtv/Mythbuntu koneessa niin, että laittaa /var/lib ja /home omille osioilleen ja liittää ne uuteen puhdas asennukseen? Tämän lisäksi pitää kai ottaa mysql:stä backup vielä..  ??? Olen tätä joskus pyöritellyt mielessäni...
Desktop:HP Pavilion h8-1111sc Core i5-2320/8 GB/1.5 TB/GeForce GT 530 2 GB/Windows 10 64-bit,  Ubuntu 24.04 Noble Numbat
RPi 4B Nextcloudpi

realpet

  • Käyttäjä
  • Viestejä: 167
    • Profiili
Vs: 10.04-päivitys rikkoi MythTV:n
« Vastaus #7 : 17.07.10 - klo:16.11 »

Ei ollut palomuuriongelma, ongelman sai ratkaistua perinteisellä linux-tavalla eli asentamalla kaiken uudestaan. Linux on uusi Windows.

- Petri
Tästä täytyy olla samaa mieltä Mythbuntun osalta: En ole kertaakaan onnistunut päivittämään edellisestä versiosta seuraavaan...  ::) Mä en oikein tiedä miten saisi tehtyä homman samalla tavalla kuin normaali jakelun puolella, kun siellä laittaa /home kansiot omalle osiolleen ja tekee puhdasasennuksen ja liittää /home osion siihen...

Onnistuiskohan se Mythtv/Mythbuntu koneessa niin, että laittaa /var/lib ja /home omille osioilleen ja liittää ne uuteen puhdas asennukseen? Tämän lisäksi pitää kai ottaa mysql:stä backup vielä..  ??? Olen tätä joskus pyöritellyt mielessäni...

Tuskin. Apachen konfisfilejä on /etc:ssä ja /var/lib/www:n alla, Lircin konffista on /etc:ssä ja /usr/share:n alla, mythtv hakee konfiguraatioita /home:n alta, mysql:ää on pitkin ja poikin jne... :)