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 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 7:28 am    Post subject: Probleme mit mythtv. Keine Verbindung zum Backend. [gelöst] Reply with quote

Jedesmal, wenn ich mythbackend starte, kommt folgende Meldung.
Code:
Konnte nicht zum Master Backend verbinden. Ist es gestartet, stimmt seine IP -Adresse?


Meine /etc/hosts sieht folgendermaßen aus:
Code:
# IPv4 and IPv6 localhost aliases
127.0.0.1   airwolf.localhost airwolf localhost
::1   localhost


Und meine /etc/conf.d/net:
Code:
config_eth0=( "192.168.2.20 netmask 255.255.255.0 brd 192.168.2.255" )
routes_eth0=( "default gw 192.168.2.1" )


Und meine /etc/conf.d/hostname:
Code:
# /etc/conf.d/hostname

# Set to the hostname of this machine
HOSTNAME="airwolf"


Last edited by Klaus Meier on Tue Sep 26, 2006 10:13 am; edited 1 time in total
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


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

PostPosted: Tue Sep 26, 2006 7:57 am    Post subject: Reply with quote

Deine Netzwerkeinstallungen sind an der Stelle völlig irrelevant. Vielmehr solltest du die Einstallungen im mythtv posten.

Was steht denn im mythtv-setup für eine IP-Adresse? Laufen frontend und backend auf der gleichen Maschine? Hast du die Einstellungen im Frontend überprüft?
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 8:31 am    Post subject: Reply with quote

Laufen beide auf der gleichen Maschine. Einstellungen sind identisch, mehrfach überpfrüft.

mythbackend wird als Dienst gestartet, mythfrontend als normaler User, kann es eventuell daran liegen?
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


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

PostPosted: Tue Sep 26, 2006 9:08 am    Post subject: Reply with quote

Die benutzer sollten eigentlich egal sein. Hast du im setup als ip 127.0.0.1 oder eine IP deines Netzwerkes eingestellt?

Habe das in der Doku gefunden:
Quote:
NOTE: If you modify the 127.0.0.1 address and use a "real" IP address, you must use real IP addresses in both fields, otherwise your frontend machines will generate "Unexpected response to MYTH_PROTO_VERSION" errors.
Könnte das dein Problem sein?
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 9:12 am    Post subject: Reply with quote

dreadhead wrote:
Die benutzer sollten eigentlich egal sein. Hast du im setup als ip 127.0.0.1 oder eine IP deines Netzwerkes eingestellt?

Habe das in der Doku gefunden:
Quote:
NOTE: If you modify the 127.0.0.1 address and use a "real" IP address, you must use real IP addresses in both fields, otherwise your frontend machines will generate "Unexpected response to MYTH_PROTO_VERSION" errors.
Könnte das dein Problem sein?

Ich benutze 127.0.0.1 bei beiden. Ich bekomme ja auch diese Fehlermeldung nicht.
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


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

PostPosted: Tue Sep 26, 2006 10:01 am    Post subject: Reply with quote

Jetzt hab ich leider nur mehr einen Tip für dich. Wenn das auch nichts hilft musst du auf jemand anderen hoffen:

Bist du sicher dass das backend auch läuft? Schau mal mit
Code:
ps aux | grep myth
nach ob da das backend auftaucht bzw starte mal das backend einfach per commando und nicht als dienst und überprüfe ob da alles rund läuft.
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 10:13 am    Post subject: Reply with quote

Boah, das wars. Kein /etc/init.d/mythbackend start, sondern mythbackend als User gestartet und mythfrontend kann drauf zugreifen. Danke, hatte jetzt wirklich das erste mal in meinem Leben Bild bei mythtv.
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Sep 26, 2006 10:28 am    Post subject: Reply with quote

Klaus Meier wrote:
Boah, das wars. Kein /etc/init.d/mythbackend start, sondern mythbackend als User gestartet und mythfrontend kann drauf zugreifen. Danke, hatte jetzt wirklich das erste mal in meinem Leben Bild bei mythtv.


Weiß nicht, wie es da ist, aber bei vielen Init Scripten kannst du auch den User mit übergeben, unter dem dann das Programm laufen soll.
Hat den Vorteil, dass du es immer beim Systemstart gleich ausführen kannst.

Tobi
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 10:46 am    Post subject: Reply with quote

Finswimmer wrote:
Klaus Meier wrote:
Boah, das wars. Kein /etc/init.d/mythbackend start, sondern mythbackend als User gestartet und mythfrontend kann drauf zugreifen. Danke, hatte jetzt wirklich das erste mal in meinem Leben Bild bei mythtv.


Weiß nicht, wie es da ist, aber bei vielen Init Scripten kannst du auch den User mit übergeben, unter dem dann das Programm laufen soll.
Hat den Vorteil, dass du es immer beim Systemstart gleich ausführen kannst.

Tobi

Naja, nur alle mir bekannten Dokumentationen haben den Start von mythbackend als Systemdienst vorgeschrieben. Ist doch viel besser, wenn ich es erst dann als User starte, wenn ich es brauche. Verkürzt die Startzeit und spart Speicher. Kann das doch auch in ein Script packen. Mal sehen, ob mysql root Rechte braucht, dann könnte ich das auch als User starten. Hat mich eigentlich sowieso angenervt, daß da bei jedem Rechnerstart mysql und mythbackend gestartet werden sollten, egal ob man myth benutzen will oder nicht.
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Sep 26, 2006 10:59 am    Post subject: Reply with quote

Klaus Meier wrote:
Finswimmer wrote:
Klaus Meier wrote:
Boah, das wars. Kein /etc/init.d/mythbackend start, sondern mythbackend als User gestartet und mythfrontend kann drauf zugreifen. Danke, hatte jetzt wirklich das erste mal in meinem Leben Bild bei mythtv.


Weiß nicht, wie es da ist, aber bei vielen Init Scripten kannst du auch den User mit übergeben, unter dem dann das Programm laufen soll.
Hat den Vorteil, dass du es immer beim Systemstart gleich ausführen kannst.

Tobi

Naja, nur alle mir bekannten Dokumentationen haben den Start von mythbackend als Systemdienst vorgeschrieben. Ist doch viel besser, wenn ich es erst dann als User starte, wenn ich es brauche. Verkürzt die Startzeit und spart Speicher. Kann das doch auch in ein Script packen. Mal sehen, ob mysql root Rechte braucht, dann könnte ich das auch als User starten. Hat mich eigentlich sowieso angenervt, daß da bei jedem Rechnerstart mysql und mythbackend gestartet werden sollten, egal ob man myth benutzen will oder nicht.


Gut. Kommt auf den Anwendungszweck an.
Aber wenn es dir so gefällt, dann erfreue dich mal am schlechten TV Programm von Deutschland ;)

Tobi
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 26, 2006 11:04 am    Post subject: Reply with quote

Quote:
Gut. Kommt auf den Anwendungszweck an.
Aber wenn es dir so gefällt, dann erfreue dich mal am schlechten TV Programm von Deutschland ;)

Will damit nur für mich auf meinem Rechner Fernsehen aufzeichnen. Und weißt du, wenn ich es nicht tue, davon wird das Programm auch nicht besser, oder? Wie war doch das geflügelte Wort: UnterschichtenTV.
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


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

PostPosted: Tue Sep 26, 2006 11:36 am    Post subject: Reply with quote

Klaus Meier wrote:
Boah, das wars. Kein /etc/init.d/mythbackend start, sondern mythbackend als User gestartet und mythfrontend kann drauf zugreifen. Danke, hatte jetzt wirklich das erste mal in meinem Leben Bild bei mythtv.
Das hat sicher nichts mit dem User zu tun. Ich hatte das Problem, dass das init-script fehlerhaft war. Wenn du dich mit scripten ein wenig auskennst, bekommst du das sicherlich recht schnell hin. Wenn nicht, kann ich dir heute abend mein init-script schicken mit dem es sicherlich funktioniert.
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Tue Sep 26, 2006 11:42 am    Post subject: Reply with quote

wenn das script fehlerhaft ist dann mach doch nen bug unter bugs.gentoo.org auf, wenn es nicht schon einen gibt?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


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

PostPosted: Tue Sep 26, 2006 12:33 pm    Post subject: Reply with quote

Ich hatte dieses Problem mit der 0.19-fixes Version. Hab dann mein init-script so lange weiterverwendet bis ich auf mythtv svn umgestiegen bin. Hab keine Ahnung ob der Fehler mittlerweile immer noch existiert. Diesem Thread nach sollte es jedoch immer noch so sein. Ich werde das heute Abend mal nachprüfen.

Was mir dann allerdings komisch vorkommt, ist dass es nicht mehrere Threads im Forum dazu gibt da ich dies schon vor etlichen monaten festgetellt hab. Zu dem Zeitpunkt hab ich mich allerdings noch nicht an bugtracker "rangetraut" da ich zu wenig den überblick hatte obs an mir oder an nem bug liegt.
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Karsten1973
Guru
Guru


Joined: 17 Dec 2004
Posts: 303
Location: Berlin, Germany

PostPosted: Mon Jan 08, 2007 9:14 pm    Post subject: Reply with quote

Mythtv schüchtert einfach ein. Es ist auch unter .20 noch ein Problem - nur dank dieses Threads habe ich gerade ein Bild bei mythtv! Danke. Bitte mach einen Bug auf.
_________________
I could be arguing on my own time.
Back to top
View user's profile Send private message
Moonfire
Apprentice
Apprentice


Joined: 01 Jan 2006
Posts: 158
Location: Leipzig

PostPosted: Sun Jan 14, 2007 6:25 pm    Post subject: Reply with quote

hi,

ich versuche nun auch schon bereits seit tagen myth zum laufen zu bekommen
ich habe das backend gestartet und es läuft auch:
Code:
moonX moonfire # ps aux | grep myth
root     17214  0.0  0.0   2768   576 pts/2    S+   16:12   0:00 grep --colour=auto myth


das setup ist ausgeführt, aber bereits beim eintragen in die datenbank treten fehler auf.
angeblich kann er nicht zum backend verbinden, obwohl es läuft:
Code:
moonfire@moonX ~ $ mythfilldatabase
2007-01-14 16:10:53.984 Using runtime prefix = /usr
2007-01-14 16:10:54.008 New DB connection, total: 1
2007-01-14 16:10:54.012 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-14 16:10:54.020 New DB connection, total: 2
2007-01-14 16:10:54.020 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-14 16:10:54.036 Updating source #1 (tvkarte) with grabber /bin/true
2007-01-14 16:10:54.036 Source configured with no grabber. Nothing to do.
2007-01-14 16:10:54.048 New DB connection, total: 3
2007-01-14 16:10:54.048 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-14 16:10:54.090 New DB connection, total: 4
2007-01-14 16:10:54.090 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-14 16:10:54.091 New DB connection, total: 5
2007-01-14 16:10:54.092 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-14 16:10:54.093 Data fetching complete.
2007-01-14 16:10:54.093 Adjusting program database end times.
2007-01-14 16:10:54.122     0 replacements made
2007-01-14 16:10:54.122 Marking generic episodes.
2007-01-14 16:10:54.149     Found 0
2007-01-14 16:10:54.149 Marking repeats.
2007-01-14 16:10:54.174     Found 0
2007-01-14 16:10:54.174 Unmarking new episode rebroadcast repeats.
2007-01-14 16:10:54.198     Found 0
2007-01-14 16:10:54.265 Marking episode first showings.
2007-01-14 16:10:55.588     Found 3403
2007-01-14 16:10:55.588 Marking episode last showings.
2007-01-14 16:10:56.920     Found 3403
2007-01-14 16:10:56.928
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2007-01-14 16:10:56.932 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-14 16:10:56.932 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-14 16:10:56.932 Error rescheduling id -1 in ScheduledRecording::signalChange
2007-01-14 16:10:56.932 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-14 16:10:56.932 Connection timed out.         
                        You probably should modify the Master Server
                        settings in the setup program and set the   
                        proper IP address.
2007-01-14 16:10:56.932 mythfilldatabase run complete.


wenn ich nun das frontend starte, bekomme ich auch gleich den fehler das er nicht verbinden kann.
woran kann as noch liegen. denn im wiki habe ich nix gefunden was dem fehler entspricht.

emerged habe ich media-tv/mythtv-0.20_p12325


danke im voraus, Maik

PS: myth läuft auf dem gleichen rechner, sowohl backend als auch frontend.
127.0.0.1 ist als server eingestellt.
mysql ist bei mir dev-db/mysql-5.0.30
_________________
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: Mon Jan 15, 2007 7:56 am    Post subject: Reply with quote

Moonfire wrote:
ich habe das backend gestartet und es läuft auch:
Code:
moonX moonfire # ps aux | grep myth
root     17214  0.0  0.0   2768   576 pts/2    S+   16:12   0:00 grep --colour=auto myth


schau dir die prozessliste lieber nochmal genau an...
_________________
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: Mon Jan 15, 2007 9:36 pm    Post subject: Reply with quote

ok,
ich habe den fehler gefunden und behoben. das backend startet nun fröhlich vor sich her :D

nun habe ich aber eher probleme mit dem frontend. dafür habe ich diese seite und google schon zerlesen
aber irgendwie nix passendes gefunden.
das ftrontend startet, aber sobald ich "tv" starten möchte kommt nix, in der console sieht es dann folgendermaßen aus:
Code:
moonfire@moonX ~ $ mythfrontend
2007-01-15 22:27:43.389 Using runtime prefix = /usr
2007-01-15 22:27:43.393 DPMS is disabled.
2007-01-15 22:27:43.417 New DB connection, total: 1
2007-01-15 22:27:43.421 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-15 22:27:43.421 Total desktop dim: 1280x1024, with 2 screen[s].
2007-01-15 22:27:43.425 Using screen 0, 1280x1024 at 0,0
2007-01-15 22:27:43.437 Current Schema Version: 1160
2007-01-15 22:27:43.437 mythfrontend version: 0.20.20060828-3 www.mythtv.org
2007-01-15 22:27:43.437 Enabled verbose msgs:  important general
2007-01-15 22:27:43.825 Total desktop dim: 1280x1024, with 2 screen[s].
2007-01-15 22:27:43.825 Using screen 0, 1280x1024 at 0,0
2007-01-15 22:27:43.829 Switching to square mode (Retro)
2007-01-15 22:27:43.845 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-15 22:27:44.305 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-01-15 22:27:44.777 Registering Internal as a media playback plugin.
2007-01-15 22:27:44.809 Registering MythDVD DVD Media Handler as a media handler ext()
2007-01-15 22:27:44.809 Registering MythDVD VCD Media Handler as a media handler ext()

2007-01-15 22:28:16.895 New DB connection, total: 2
2007-01-15 22:28:16.899 Connected to database 'mythconverg' at host: 127.0.0.1
2007-01-15 22:28:16.927 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-15 22:28:16.927 Using protocol version 31
2007-01-15 22:28:16.987 TV: Attempting to change from None to WatchingLiveTV
2007-01-15 22:28:16.987 Using protocol version 31
2007-01-15 22:28:17.335 GetEntryAt(-1) failed.
2007-01-15 22:28:17.335 EntryToProgram(0@Thu Jan 1 01:00:00 1970) failed to get pginfo
2007-01-15 22:28:17.335 TV Error: LiveTV not successfully started
2007-01-15 22:28:17.335 TV Error: LiveTV not successfully started
2007-01-15 22:28:17.359 TV: Deleting TV Chain in destructor

als karte nutze ich eine pinacle pctv300, die ja sowohl analog als auch digital verarbeitet.
Code:

01:07.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)

_________________
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: Tue Jan 16, 2007 6:44 am    Post subject: Reply with quote

hast mythtv-setup und mythfilldatabase schon ausgeführt?

Edit: Interessanter sind die backend logs während des versuchs Live-TV zu starten...
_________________
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: Tue Jan 16, 2007 7:32 am    Post subject: Reply with quote

ja, ich habe mythfilldatabase bereits ausgeführt.
allerdings habe ich das gefühl das der nix dabei füllt.
denn die datenbank bleibt immer leer, wenn ich da reinschaue ist nix drinnen.
kann es sein das myth immernoch probleme mit mysql 5 hat?
Code:
2007-01-15 22:27:16.603 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-15 22:27:23.612 MythSocket(5c4470:10): readStringList: Error, timeout (quick).
2007-01-15 22:27:23.612 Unexpected response to MYTH_PROTO_VERSION:
2007-01-15 22:27:23.612 Error rescheduling id -1 in ScheduledRecording::signalChange
2007-01-15 22:27:23.612 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-01-15 22:27:29.876 Using protocol version 31
2007-01-15 22:27:29.880 mythfilldatabase run complete.


und wenn ich dann in das log vom backend schaue, zeigt er mir das er angeblich die karte nicht gefunden hat.
dabei habe ich die mit mythtv-setup eingetragen und auch den sendersuchlauf gestartet, was auch wunderbar klappte.

hier mal das gesamte log vom backend:
Code:
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
Starting up as the master server.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.
Starting up as the master server.
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.
Starting up as the master server.
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.

das hängt sicher damit zusammen, das er die datenbank nicht auffüllt.
was kann man in dem fall noch machen?

PS: die sache mit dem /mnt/store/ ist bereits geklärt ;-)
_________________
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: Tue Jan 16, 2007 7:40 am    Post subject: Reply with quote

Hallo,

hast du beim mythtv-setup überhaupt laufen lassen? Du musst dort eine Karte konfigurieren.

Stefan
_________________
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: Tue Jan 16, 2007 8:03 am    Post subject: Reply with quote

das hatte ich doch grad eben im anderen post geschrieben?
ich habe ganz nach vorschrift das setup laufen lassen, habe die karte eingestellt.
danach einen sendersuchlauf gestartet, den startsender eingestellt und so.
danach mythfilldatabase ausgeführt und wollte mit dem frontend arbeiten ...
_________________
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: Tue Jan 16, 2007 4:37 pm    Post subject: Reply with quote

ok nehmen wir das log mal auseinander:

Moonfire wrote:
hier mal das gesamte log vom backend:
Code:
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open

ist mysql gestartet?
kannst du mit folgendem befehl die Datenbank bearbeiten?
Code:
mysql -u mythtv -pmythtv mythconverg

Wenn nicht: starte mysql mit folgendem befehl:
Code:
 /etc/init.d/mysql start
und versuche den obigen befehl nochmal.

Quote:
Code:

Starting up as the master server.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?

Diesen fehler würde ich auf ein fehlerhaftes mythtv-setup zurückführen. Poste doch mal was du im setup unter tv-karten so eingegeben hast.

Quote:
Code:

/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.
Starting up as the master server.
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.
Starting up as the master server.
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file are writeable by this user.

/mnt/store ist das standardverzeichnis. Also entweder dieses verzeichnis anlegen und dem user mythtv schreibrechte darauf geben, oder in mythtv-setup ein anderes verzeichnis einstellen. Diese meldung deutet einmal mehr darauf hin, dass mythtv-setup entweder gar nicht oder nur schlampig ausgeführt wurde.
Quote:
Code:

Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.

da das setup nicht passt fällt das backend auf ein slave-backend zurück. Durch beheben der oberen fehlermeldungen wird auch diese behoben
Quote:
Code:

ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
Running as a slave backend.
Running as a slave backend.
Running as a slave backend.

das hängt sicher damit zusammen, das er die datenbank nicht auffüllt.
was kann man in dem fall noch machen?

PS: die sache mit dem /mnt/store/ ist bereits geklärt ;-)
OK. dann bleiben nur noch die fehler mit der tv-karte. Hast du diese karte schon mal mit ner anderen Anwendung zum laufen gebracht? tvtime, mplayer, kdetv usw...
_________________
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: Tue Jan 16, 2007 8:44 pm    Post subject: Reply with quote

so, dann komm ich doch gleich mal auf deine fragen zurück.
also mysql läuft schon seit monaten, daher konnte ich dir auch schreiben das die datenbank zu mysql nach dem setup
und mythfilldatabase komischerweise noch immer leer ist. ;-)

so, dann komme ich zu deiner zweiten frage, was ich so alles im setup unter tv-karten eingestellt habe:
[V4L: /dev/v4l/video0]
kartentyp: analoge V4L TV Karte
Videogerät: /dev/v4l/video0
Probed Info: Pinnacle PCTV 300i DVB-T + PAL [saa7134]
Vbi Gerät: /dev/v4l/vbi0
Audiogerät: /dev/dsp
max Audioabtastrate: 44100
Standardeingang: Television

bei Verknüpfungen habe ich die karte eingestellt und auch erfolgreich einen Sendersuchlauf starten können.

das verzeichnis /mnt/store habe ich wie bereits angelegt, die benutzerrechte drauf gegeben und damit auch den fehler behoben. ;-)

und nun zu deiner letzten frage:
ja, ich habe diese karte erfolgreich mit kdetv und xdtv und auch xawtv am laufen.
also an der karte selber sollte es also nicht liegen.

danke soweit schonmal.
ideen? ^_^
_________________
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: Wed Jan 17, 2007 9:24 am    Post subject: Reply with quote

dann bleibt die frage wieso mythtv sich nicht mit der datenbank verbinden kann...

in mysql gibt es eine datenbank namens mythconverg? es gibt einen user mythtv der die Rechte darauf hat? du hast die Datenbank initial mit den script aus /usr/share/mythtv/database/mc.sql gefüllt? Nach diesem script sollten in der datenbank die tabellen angelegt sein (Immer noch ohne inhalt). Danach sollte mythtv-setup wirklich keine Probleme mehr machen.

ist die datei in ~/.mythtv/mysql.txt in Ordnung? Falls du nicht mit dem user mythtv oder mit einem anderen passwort zugreifen willst kannst du das hier einstellen.

Falls du auch diese Vorschläge schon alle probiert/überprüft hast und es geht immer noch nichts, würde ich an deiner Stelle die Datenbank mythconverg löschen, neu erstellen, Rechte an mythtv granten und das mc.sql script rein hauen. Dann nochmal setup versuchen.
_________________
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 1, 2  Next
Page 1 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