Komplette Installationshilfe?

Moderators: dekarl, daschatten

Post Reply
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:OK,
Nach dem Neustart kannst du in der Konsole "mythtv-setup" ausführen und wenn du bis jetzt keine Fehlermeldung hattest machen wir da weiter.
Grüße Beppo
Tach,
Fehlermeldung:
Cannot login to database
und
Can't connect to MYSQL server
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Hmm,

gut aber der Rest ist durch gelaufen?

Poste bitte mal die Ausgaben von den zwei Befehlen in der Konsole:

sudo netstat -lntp | grep 3306
sudo ps -A | grep mysql

Grüße Beppo
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:Hmm,
Poste bitte mal die Ausgaben von den zwei Befehlen in der Konsole:
sudo netstat -lntp | grep 3306

Code: Select all

tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      1407/mysqld 
sudo ps -A | grep mysql

Code: Select all

 1407 ?        00:00:01 mysqld
Grüße Beppo
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Ok Klaus,

aber war die Installation so durch gelaufen wie beschrieben oder hattest du da noch Fehlermeldungen?

Grüße Beppo
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:Ok Klaus,
aber war die Installation so durch gelaufen wie beschrieben oder hattest du da noch Fehlermeldungen?
Grüße Beppo
Also soweit ich mich erinnern kann, waren da keine weiteren Fehler.
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Gut gut.

dann gehts zur Fehlerfindung in die Konsole:

cat /etc/mythtv/config.xml
sollte dir so etwas zeigen. Die Zeile Passwort brauchst du gleich um dich an der Datenbank anzumelden.
Hier mal meine zum vergleich.

Code: Select all

<Configuration>
  <LocalHostName>my-unique-identifier-goes-here</LocalHostName>
  <Database>
    <PingHost>1</PingHost>
    <Host>localhost</Host>
    <UserName>mythtv</UserName>
    <Password>mythpasswd</Password>
    <DatabaseName>mythconverg</DatabaseName>
    <Port>3306</Port>
  </Database>
  <WakeOnLAN>
    <Enabled>0</Enabled>
    <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
    <SQLConnectRetry>5</SQLConnectRetry>
    <Command>echo 'WOLsqlServerCommand not set'</Command>
  </WakeOnLAN>
</Configuration>
auf der Konsole dann wieder den unten genannten Befehl eingeben und mit dem Passwort von oben anmelden
mysql -u mythtv -p mythconverg

Und dann sag mal was das Für ein Ergebnis liefert

Grüße Beppo
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:Gut gut.
Und dann sag mal was das Für ein Ergebnis liefert
Grüße Beppo

Code: Select all

mysql -u mythtv -p mythconverg
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 157
Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Klaus,

kannst du mal in der mysql konsole

mysql>status

mysql>use mythconverg

eingeben und den Output posten?

Grüße Beppo
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

Mist!!!
Ich hatte das Passwort doch nicht notiert! :-( Ich Idiot!!!
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Dann holst du es dir einfach wieder.

cat /etc/mythtv/config.xml
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:Klaus,
kannst du mal in der mysql konsole
mysql>status
mysql>use mythconverg
eingeben und den Output posten?
Grüße Beppo
Ähm......
Wie macht man denn das jetzt genau?
Gruß Klaus
aus Berlin
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote:Klaus,
kannst du mal in der mysql konsole
mysql>status

Code: Select all

mysql> status
--------------
mysql  Ver 14.14 Distrib 5.5.43, for debian-linux-gnu (i686) using readline 6.3

Connection id:		153
Current database:	mythconverg
Current user:		mythtv@localhost
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server version:		5.5.43-0ubuntu0.14.04.1 (Ubuntu)
Protocol version:	10
Connection:		Localhost via UNIX socket
Server characterset:	latin1
Db     characterset:	latin1
Client characterset:	utf8
Conn.  characterset:	utf8
UNIX socket:		/var/run/mysqld/mysqld.sock
Uptime:			45 min 27 sec

Threads: 6  Questions: 1746  Slow queries: 0  Opens: 162  Flush tables: 1  Open tables: 153  Queries per second avg: 0.640
--------------
mysql>use mythconverg
eingeben und den Output posten?
Grüße Beppo
Bei Letzterem kommt gar nichts...
Gruß Klaus
aus Berlin
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Komplette Installationshilfe?

Post by beppo »

Bei Letzterem kommt gar nichts...
ist nicht schlimm, ich hab schon alle Infos.

Es kann sein das du noch Konfigurations-Überreste deiner vorher gegangenen Versuche rumliegen hast.

in der Konsole ( du löscht damit das versteckte Konfigurationsverzeichnis von Mythtv nicht verschreiben der fragt nicht der löscht!)

rm ~/.mythtv -rf && rm /home/mythtv/.mythtv -rf

dann noch mal in der Konsole

mythtv-setup --loglevel debug

und dann bitte die ganze Ausgabe posten.

Grüße Beppo
Viele Grüße Beppo
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

beppo wrote: und dann bitte die ganze Ausgabe posten.
Grüße Beppo
Okay. :-)

Code: Select all

mysql -u mythtv -p mythconverg
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 156
Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> rm ~/.mythtv -rf && rm /home/mythtv/.mythtv -rf
    -> mythtv-setup --loglevel debug
    -> 
Gruß Klaus
aus Berlin
Hupfelgruber
Junior
Posts: 75
Joined: Wed Mar 25, 2015 9:36 am
Germany

Re: Komplette Installationshilfe?

Post by Hupfelgruber »

Oha!!
Beppo! :-)
Jetzt bin ich schon mal reingekommen in das Desktop-Programm von Mythtv.
Da werde ich wohl die nächsten Tipps von dir ausdrucken müssen, um da weitere Einstellungen vornehmen zu können!?
Bildschirmreduzierung und Mauseinsatz gehen da wohl nicht?
Gruß Klaus
aus Berlin
Post Reply