<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:352609087;
mso-list-type:hybrid;
mso-list-template-ids:-1285495690 1550589442 201785347 201785349 201785345 201785347 201785349 201785345 201785347 201785349;}
@list l0:level1
{mso-level-start-at:3;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hallo Andreas,<o:p></o:p></span></p><p class=MsoNormal>1. läuft mysql nach reboot? Ja?<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Ja:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pi@raspberrypi ~ $ sudo service mysql restart<o:p></o:p></span></p><p class=MsoNormal><i><span lang=EN-US>[ ok ] Stopping MySQL database server: mysqld.<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>[ ok ] Starting MySQL database server: mysqld . ..<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>[info] Checking for tables which need an upgrade, are corrupt or were<o:p></o:p></span></i></p><p class=MsoNormal><i>not closed cleanly..<o:p></o:p></i></p><p class=MsoNormal><i>pi@raspberrypi ~ $<o:p></o:p></i></p><p class=MsoNormal><i><o:p> </o:p></i></p><p class=MsoNormal>2. kannst Du Dich per mysql Kommando anmelden?<o:p></o:p></p><p class=MsoNormal>Ja – allerdings nur mit root und password raspberry, mit user pi funktioniert password raspberry nicht:<o:p></o:p></p><p class=MsoNormal><i><span lang=EN-US>pi@raspberrypi ~ $ sudo mysql -p<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Enter password:<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Welcome to the MySQL monitor. Commands end with ; or \g.<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Your MySQL connection id is 52<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Server version: 5.5.43-0+deb7u1 (Debian)<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Oracle is a registered trademark of Oracle Corporation and/or its<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>affiliates. Other names may be trademarks of their respective<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>owners.<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US>Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoNormal><i>mysql><o:p></o:p></i></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>3. zeigt die Middleware dann immer noch die Fehler?<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Die Middleware bringt wie beschrieben den fehlerhaften Logeintrag nur nach einem reboot. <o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Wenn ich über das Frontend Kanäle anlege sehe ich diese über das Frontend ohne Fehlermeldung – auch nach Aufbau einer neuen Session im Browser. <o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Wenn ich reboote bekomme ich den Eintrag in vzlogger.log :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn4] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn0] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn3] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn1] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn2] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>[Oct 01 18:16:52][chn5] CURL Error from middleware: 'ConnectionException': 'An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Und im Frontend sind die angelegten Kanäle nach dem reboot nicht mehr da – mysql läuft.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Gruß<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Christian<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'> volkszaehler-users [mailto:volkszaehler-users-bounces@demo.volkszaehler.org] <b>Im Auftrag von </b>Andreas Götz<br><b>Gesendet:</b> Donnerstag, 1. Oktober 2015 19:36<br><b>An:</b> volkszaehler.org - users <volkszaehler-users@demo.volkszaehler.org><br><b>Betreff:</b> Re: [vz-users] Probleme mit MySQL bei der Einrichtung von volkszaehler auf meinem Raspi<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hallo Christian,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Das ist alles ein bisschen wild. Dass Du Kanäle speicherst die dann plötzlich weg sind schließe ich aus.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>1. läuft mysql nach reboot? Ja?<o:p></o:p></p></div><div><p class=MsoNormal>2. kannst Du Dich per mysql Kommando anmelden?<o:p></o:p></p></div><div><p class=MsoNormal>3. zeigt die Middleware dann immer noch die Fehler?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Bitte in der Reihenfolge, Schritt für Schritt.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Viele Grüße, Andreas <o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>Am 01.10.2015 um 18:34 schrieb Christian Schieb <<a href="mailto:christian.schieb@speed.at">christian.schieb@speed.at</a>>:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Ja klar. Das Problem tritt bei jedem reboot auf – dann wenn vzlogger gestartet wird, so gesehen hilft auch ein restart nicht – bzw. habe ich es natürlich probiert, ohne Erfolg - meine ursprünglich gespeicherten Kanäle waren nicht mehr da. Sudo service mysql restart funktioniert ohne Fehlermeldung – d.h. die DB läuft. Eine /etc/volkszaehler.conf.php gibt es nicht nach aufspielen des images (zumindest bei mir nicht) – es gibt nur eine /etc/volkszaehler.conf – darin kann ich keine DB Zugangsdaten finden. Habe mittlerweile das 4. image aufgespielt – mit mittlerweile 2 verschiedenen SD Cards (SanDisk 32 GB Class 10). Gibt es jemanden der erfolgreich das Image vom August erfolgreich in Verwendung hat?</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Gruß</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Christian</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif'> volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>] <b>Im Auftrag von </b>Andreas Goetz<br><b>Gesendet:</b> Mittwoch, 30. September 2015 11:49<br><b>An:</b> <a href="http://volkszaehler.org">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org">volkszaehler-users@demo.volkszaehler.org</a>><br><b>Betreff:</b> Re: [vz-users] Probleme mit MySQL bei der Einrichtung von volkszaehler auf meinem Raspi</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>Moin,<o:p></o:p></p><div><div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>On Tue, Sep 29, 2015 at 8:25 PM, Udo1 <<a href="mailto:udo1@gmx.net" target="_blank">udo1@gmx.net</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal>Am 29.09.2015 um 20:10 schrieb Christian Schieb:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal>pi@raspberrypi ~ $ sudo mysql restart<o:p></o:p></p></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'>Was sagt er denn bei: 'mysql restart' ?<o:p></o:p></p></blockquote><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Das scheint mir falsch. Bei Debian muss es eigentlich heissen:<br><br>sudo service mysql restart <o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Ansonsten: hattest Du bei der Installation einen Datenbankuser/passwort vergeben? Was steht in der etc/volkszaehler.conf.php?<o:p></o:p></p></div><div><p class=MsoNormal>Viele Grüße,<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Andreas<o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p></div></div></div></div></blockquote></div></body></html>