Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit mythtv. Keine Verbindung zum Backend. [gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Moonfire
Apprentice
Apprentice


Joined: 01 Jan 2006
Posts: 158
Location: Leipzig

PostPosted: Wed Jan 17, 2007 10:47 pm    Post subject: Reply with quote

so, ich habe es nun nocheinmal getestet.
also die datenbank ist gut gefüllt worden durch mythfilldatabase.
habe 56 tabellen mit ca 32.000 einträgen.

ich habe alles nochmal neu erstellen lassen.
der datenbankuser hat die richtigen zugriffsrechte, was auch die fülle der daten zeigt ;-)

ich habe daraufhin auch das setup nochmal durchlaufen lassen, ohne erfolg.

die datei ~/.mythtv/mysql.txt ist in Ordnung. alle user haben die richtigen rechte.

das löschen der datenbank hat leider auch keine besserung gebracht.
datenbakn wird gefüllt aber tv startet nicht *seufz*
_________________
Linux 3.1.6 x86_64 | AMD Phenom(tm) II X6 1100T Processor AuthenticAMD 3315.405 MHz |
Bogomips: 39782.81 | Mem: 7992MB | Swap: 5.94GB | Screen: nvidia GeForce 9500GT @ 1920x1080 (24 bpp)
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


Joined: 09 Jul 2004
Posts: 470
Location: Ulm - Germany

PostPosted: Thu Jan 18, 2007 7:59 am    Post subject: Reply with quote

hmmm...

Da mittlerweile die datenbank gefüllt ist, sollten in den logs auch andere fehlermeldungen auftauhen, oder? Wie siehts denn da jetzt aus?
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Moonfire
Apprentice
Apprentice


Joined: 01 Jan 2006
Posts: 158
Location: Leipzig

PostPosted: Thu Jan 18, 2007 8:15 am    Post subject: Reply with quote

ok, es sieht nun folgender maßen aus.
wie durch ein wunder ist das frontend zumindest einmal mit tv bild gestartet.
danach aber gestorben.

in dem log /var/log/mythtv/mythbackend.log steht nur noch drinnen, das es als slave gestartet wird.

bei dem fehler als alles gestorben ist, weil auf einmal die verbindung zum backend abbrach,
hatte ich folgenden output in der console:
Code:
moonfire@moonX ~ $ mythfrontend
2007-01-18 09:08:46.154 Using runtime prefix = /usr
2007-01-18 09:08:46.212 DPMS is disabled.
2007-01-18 09:08:46.402 New DB connection, total: 1
2007-01-18 09:08:46.408 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-18 09:08:46.409 Total desktop dim: 1280x1024, with 2 screen[s].
2007-01-18 09:08:46.412 Using screen 0, 1280x1024 at 0,0
2007-01-18 09:08:46.460 Current Schema Version: 1160
2007-01-18 09:08:46.460 mythfrontend version: 0.20.20060828-3 www.mythtv.org
2007-01-18 09:08:46.460 Enabled verbose msgs:  important general
2007-01-18 09:08:47.653 Total desktop dim: 1280x1024, with 2 screen[s].
2007-01-18 09:08:47.657 Using screen 0, 1280x1024 at 0,0
2007-01-18 09:08:47.657 Switching to square mode (Retro)
2007-01-18 09:08:47.949 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2007-01-18 09:08:48.795 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-01-18 09:08:49.293 Registering Internal as a media playback plugin.
2007-01-18 09:08:49.501 Registering MythDVD DVD Media Handler as a media handler ext()
2007-01-18 09:08:49.527 Registering MythDVD VCD Media Handler as a media handler ext()
2007-01-18 09:08:58.603 New DB connection, total: 2
2007-01-18 09:08:58.604 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-18 09:08:58.690 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:08:58.690 Using protocol version 31
2007-01-18 09:08:58.738 TV: Attempting to change from None to WatchingLiveTV
2007-01-18 09:08:58.738 Using protocol version 31
2007-01-18 09:09:00.072 Opening OSS audio device '/dev/dsp'.
2007-01-18 09:09:00.367 VideoOutputXv: XvMCTex: Init failed
2007-01-18 09:09:00.368 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  139
  Minor opcode:  14
  Resource id:  0x244
2007-01-18 09:09:01.966 TV: Changing from None to WatchingLiveTV
2007-01-18 09:09:01.970 Realtime priority would require SUID as root.
2007-01-18 09:09:02.122 Video timing method: USleep with busy wait
2007-01-18 09:09:02.435 XMLParse::LoadTheme using /usr/share/mythtv/themes/Retro/ui.xml
2007-01-18 09:09:56.510 Event socket closed. No connection to the backend.
2007-01-18 09:09:56.510 MythSocket(2aaab0000b40:18): readStringList: Connection died (select).
2007-01-18 09:09:56.510 RemoteEncoder::SendReceiveStringList(): No response.
2007-01-18 09:09:56.514 NVP, Error: Unknown error, exiting decoder
2007-01-18 09:09:56.523 TV: Attempting to change from WatchingLiveTV to None
2007-01-18 09:09:56.570 MythSocket(2aaab0000b40:-1): writeStringList: Error, socket went unconnected.
2007-01-18 09:09:56.570 MythSocket(2aaab0000b40:-1): readStringList: Error, called with unconnected socket.
2007-01-18 09:09:56.570 RemoteEncoder::SendReceiveStringList(): No response.
2007-01-18 09:10:00.279 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:10:00.279 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-18 09:10:05.027 TV: Changing from WatchingLiveTV to None
2007-01-18 09:10:17.300 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:10:17.300 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-18 09:10:18.235 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:10:18.236 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-18 09:10:24.255 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:10:24.255 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-18 09:10:24.883 TV: Attempting to change from None to None
2007-01-18 09:10:26.575 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-18 09:10:26.575 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.


zumindest hat mir das ca einminütige stelldichein gezeigt das mythtv durchaus ohne probs mit
meiner karte laufen sollte.
nur was kann dieser fehler sein?
_________________
Linux 3.1.6 x86_64 | AMD Phenom(tm) II X6 1100T Processor AuthenticAMD 3315.405 MHz |
Bogomips: 39782.81 | Mem: 7992MB | Swap: 5.94GB | Screen: nvidia GeForce 9500GT @ 1920x1080 (24 bpp)
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Thu Jan 18, 2007 8:16 am    Post subject: Reply with quote

Hallo,

trag doch mal bitte in /etc/conf.d/mythbackend folgendes ein:

Code:

MYTH_VERBOSE="quiet,record,playback,channel,audio"


Danach solltest du in etwa folgendes in /var/log/mythtv/mythbackend nach dem neustart des mythbackends sehen:

/var/log/mythtv/mythbackend wrote:

2007-01-18 09:12:07.166 Using runtime prefix = /usr
2007-01-18 09:12:07.239 New DB connection, total: 1
2007-01-18 09:12:07.244 Connected to database 'mythconverg' at host: localhost
2007-01-18 09:12:07.248 Current Schema Version: 1160
Starting up as the master server.
2007-01-18 09:12:07.255 New DB connection, total: 2
2007-01-18 09:12:07.256 Connected to database 'mythconverg' at host: localhost
2007-01-18 09:12:07.259 EITHelper: localtime offset 1:00:00
2007-01-18 09:12:07.262 Channel(/dev/v4l/video1): Device name 'Hauppauge WinTV PVR-150' driver 'ivtv'.
2007-01-18 09:12:07.264 New DB connection, total: 3
2007-01-18 09:12:07.265 Connected to database 'mythconverg' at host: localhost
2007-01-18 09:12:07.273 ChannelBase(1): Input #1: 'Tuner 1' schan(30) sourceid(1) ccid(1)
2007-01-18 09:12:07.274 ChannelBase(1): Current Input #1: 'Tuner 1'
2007-01-18 09:12:07.275 Global TVFormat Setting 'PAL'
2007-01-18 09:12:07.276 Channel(/dev/v4l/video1): Input #1: 'Tuner 1' schan(30) tun() v4l1(PAL) v4l2(Unknown)
2007-01-18 09:12:07.276 Channel(/dev/v4l/video1): SetFormat(Default) fmt(PAL) input(1)
2007-01-18 09:12:07.277 Channel(/dev/v4l/video1): SetInputAndFormat(1, PAL) (v4l v2)
2007-01-18 09:12:07.278 Channel(/dev/v4l/video1): SetFormat(PAL) fmt(PAL) input(1)
2007-01-18 09:12:07.279 Channel(/dev/v4l/video1)::SwitchToInput(in 1, '')
2007-01-18 09:12:07.280 Channel(/dev/v4l/video1): SetInputAndFormat(1, PAL) (v4l v2)
2007-01-18 09:12:07.281 Channel(/dev/v4l/video1): SetChannelByString(30)
2007-01-18 09:12:07.283 ChannelBase(/dev/v4l/video1)::SetCachedATSCInfo(): 0--1
2007-01-18 09:12:07.284 Channel(/dev/v4l/video1): SetFormat(Default) fmt(PAL) input(1)
2007-01-18 09:12:07.286 Channel(/dev/v4l/video1)::Tune(543250000, , analog)
2007-01-18 09:12:07.411 Channel(/dev/v4l/video1)::Tune(): Frequency is now 543250000
2007-01-18 09:12:07.412 ChannelBase(/dev/v4l/video1)::SetCachedATSCInfo(30_0): 30--1
2007-01-18 09:12:07.418 TVRec(1): SetFlags(RunMainLoop,) -> RunMainLoop,
2007-01-18 09:12:07.421 TVRec(1): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop,
2007-01-18 09:12:07.422 New DB scheduler connection
2007-01-18 09:12:07.425 Connected to database 'mythconverg' at host: localhost
2007-01-18 09:12:07.427 Main::Starting HttpServer
2007-01-18 09:12:07.431 Main::Registering HttpStatus Extension
2007-01-18 09:12:07.436 mythbackend version: 0.20.20060828-3 www.mythtv.org
2007-01-18 09:12:07.438 Enabled verbose msgs: important general record playback channel audio
2007-01-18 09:12:07.439 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-01-18 09:12:07.441 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min


Alternativ kannst du auch anstatt der einzelnen Flags auch nur "all" angeben. Dann wird das Logfile etwas "ausführlicher" ;)
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


Joined: 09 Jul 2004
Posts: 470
Location: Ulm - Germany

PostPosted: Thu Jan 18, 2007 4:48 pm    Post subject: Reply with quote

Und dass das backend behauptet ein slave backend zu sein darf auch nicht passieren. Ich hatte den Fehler noch nie, deswegen kann ich dir nicht 100%ig sagen wo es her kommt. Aber vermuten tu ich, dass es mit der IP im setup zusammenhängt. Trag dort auch mal die "richtige" IP Adresse des Rechners ein. ACHTUNG!!! Auch Im Frontend MUSS dann die ganze IP drin stehen, nicht nur mehr 127.0.0.1.
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Moonfire
Apprentice
Apprentice


Joined: 01 Jan 2006
Posts: 158
Location: Leipzig

PostPosted: Thu Jan 18, 2007 8:43 pm    Post subject: Reply with quote

ich habe bereits die "richtige" ip eingetragen, seit dem startet ja zumindest das frontend ohne fehler, ausser dem
oben beschriebenen.
ich habe jetzt mal den verbose mode eingeschalten beim backend.
sieht echt gut aus, denn er spuckt nu was aus:

Code:
Running as a slave backend.
2007-01-18 21:39:35.356 Using runtime prefix = /usr
2007-01-18 21:39:35.498 New DB connection, total: 1
2007-01-18 21:39:35.504 Connected to database 'mythconverg' at host: localhost
2007-01-18 21:39:35.576 Current Schema Version: 1160
Running as a slave backend.
2007-01-18 21:39:35.645 New DB connection, total: 2
2007-01-18 21:39:35.648 Connected to database 'mythconverg' at host: localhost
2007-01-18 21:39:35.651 EITHelper: localtime offset 1:00:00
2007-01-18 21:39:35.727 Channel(/dev/v4l/video0): Device name 'Pinnacle PCTV 300i DVB-T + PAL' driver 'saa7134'.
2007-01-18 21:39:35.729 New DB connection, total: 3
2007-01-18 21:39:35.731 Connected to database 'mythconverg' at host: localhost
2007-01-18 21:39:35.768 ChannelBase(1): Input #1: 'Television' schan(SE11) sourceid(1) ccid(1)
2007-01-18 21:39:35.769 ChannelBase(1): Current Input #1: 'Television'
2007-01-18 21:39:35.766 Global TVFormat Setting 'PAL'
2007-01-18 21:39:35.766 Channel(/dev/v4l/video0): Input #1: 'Television' schan(SE11) tun() v4l1(PAL) v4l2(Unknown)
2007-01-18 21:39:35.766 Channel(/dev/v4l/video0): SetFormat(Default) fmt(PAL) input(1)
2007-01-18 21:39:35.770 Channel(/dev/v4l/video0): SetInputAndFormat(1, PAL) (v4l v2)
2007-01-18 21:39:35.814 Channel(/dev/v4l/video0): SetFormat(PAL) fmt(PAL) input(1)
2007-01-18 21:39:35.823 Channel(/dev/v4l/video0)::SwitchToInput(in 1, '')
2007-01-18 21:39:35.824 Channel(/dev/v4l/video0): SetInputAndFormat(1, PAL) (v4l v2)
2007-01-18 21:39:35.867 Channel(/dev/v4l/video0): SetChannelByString(SE11)
2007-01-18 21:39:35.869 ChannelBase(/dev/v4l/video0)::SetCachedATSCInfo(): 0--1
2007-01-18 21:39:35.872 Channel(/dev/v4l/video0): SetFormat(Default) fmt(PAL) input(1)
2007-01-18 21:39:35.874 Channel(/dev/v4l/video0): InitPictureAttribute(brightness):
         [    0,  255] dflt(  128, 0.50, 128)
2007-01-18 21:39:35.883 Channel(/dev/v4l/video0): InitPictureAttribute(  contrast):
         [    0,  127] dflt(   68, 0.54, 2321)
2007-01-18 21:39:35.886 Channel(/dev/v4l/video0): InitPictureAttribute(    colour):
         [    0,  127] dflt(   64, 0.50, 257)
2007-01-18 21:39:35.888 Channel(/dev/v4l/video0): InitPictureAttribute(       hue):
         [ -128,  127] dflt(    0, 0.50, 128)
2007-01-18 21:39:35.889 Channel(/dev/v4l/video0)::Tune(231250000, , analog)
2007-01-18 21:39:35.915 Channel(/dev/v4l/video0)::Tune(): Frequency is now 231250000
2007-01-18 21:39:35.916 ChannelBase(/dev/v4l/video0)::SetCachedATSCInfo(SE11_0): 0--1
2007-01-18 21:39:36.103 TVRec(1): SetFlags(RunMainLoop,) -> RunMainLoop,
2007-01-18 21:39:36.104 TVRec(1): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop,
2007-01-18 21:39:35.938 Main::Starting HttpServer
2007-01-18 21:39:35.965 Main::Registering HttpStatus Extension
2007-01-18 21:39:35.968 mythbackend version: 0.20.20060828-3 www.mythtv.org
2007-01-18 21:39:35.969 Enabled verbose msgs:  important general record playback channel audio
2007-01-18 21:39:35.970 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-01-18 21:39:35.966 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-01-18 21:39:36.974 Connecting to master server: 127.0.0.1:6543
2007-01-18 21:39:36.981 Connected successfully
2007-01-18 21:39:36.982 TVRec(1): SetFlags(CancelNextRecording,) -> RunMainLoop,CancelNextRecording,
2007-01-18 21:40:07.004 MythSocket(638330:9): readStringList: Error, timeout.
2007-01-18 21:40:07.008 Unknown socket closing
2007-01-18 21:40:07.008 adding: moonX as a slave backend server
2007-01-18 21:40:07.016 MythSocket(638920:-1): writeStringList: Error, socket went unconnected.
2007-01-18 21:40:07.027 MythSocket(639960:-1): writeStringList: Error, socket went unconnected.
2007-01-18 21:40:13.023 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-01-18 21:40:13.024 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-01-18 21:40:35.619 MainServer::HandleAnnounce Monitor
2007-01-18 21:40:35.620 adding: moonX as a client (events: 0)
2007-01-18 21:40:35.621 MainServer::HandleAnnounce Monitor
2007-01-18 21:40:35.454 adding: moonX as a client (events: 1)
2007-01-18 21:40:35.454 Reloading backend settings
2007-01-18 21:40:56.026 Expiring Unbekannt from Thu Jan 18 09:08:59 2007, 34 MBytes, forced expire (LiveTV recording)

_________________
Linux 3.1.6 x86_64 | AMD Phenom(tm) II X6 1100T Processor AuthenticAMD 3315.405 MHz |
Bogomips: 39782.81 | Mem: 7992MB | Swap: 5.94GB | Screen: nvidia GeForce 9500GT @ 1920x1080 (24 bpp)
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Fri Jan 19, 2007 7:16 am    Post subject: Reply with quote

Hallo,

mit welchen use-Flags hast du mythtv eigentlich übersetzt?

bei mir sieht das so aus:
Code:
[ebuild   R   ] media-tv/mythtv-0.20_p12376  USE="alsa dts dvd ieee1394 ivtv mmx opengl perl vorbis (-altivec) -autostart -backendonly -crciprec -dbox2 -debug -dvb -freebox -frontendonly -hdhomerun -jack -joystick -lcd -lirc -xvmc" VIDEO_CARDS="-i810 -nvidia -via" 0 kB

_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
Moonfire
Apprentice
Apprentice


Joined: 01 Jan 2006
Posts: 158
Location: Leipzig

PostPosted: Fri Jan 19, 2007 7:33 am    Post subject: Reply with quote

gebaut habe ich mythtv wie folgt:

Code:
[ebuild   R   ] media-tv/mythtv-0.20_p12376  USE="alsa debug dts dvb dvd jack lirc mmx perl vorbis xvmc (-altivec) -autostart -backendonly -crciprec -dbox2 -freebox -frontendonly -hdhomerun -ieee1394 -ivtv -joystick -lcd -opengl" VIDEO_CARDS="nvidia -i810 -via" 0 kB

_________________
Linux 3.1.6 x86_64 | AMD Phenom(tm) II X6 1100T Processor AuthenticAMD 3315.405 MHz |
Bogomips: 39782.81 | Mem: 7992MB | Swap: 5.94GB | Screen: nvidia GeForce 9500GT @ 1920x1080 (24 bpp)
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


Joined: 09 Jul 2004
Posts: 470
Location: Ulm - Germany

PostPosted: Fri Jan 19, 2007 7:52 am    Post subject: Reply with quote

Wie viele backends hast du denn eientlich?

Einerseits behauptet dieser Rechner schon er sei nur ein Slave backend und zweitens taucht auch noch die Meldung auf, dass er moonX als Slave registriert. Das klingt im Moment nach min. 3 Backends...
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum