Ankündigung

Einklappen
Keine Ankündigung bisher.

Error ... | 1.52

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Error ... | 1.52

    Hallo zusammen,

    kann mir jemand helfen, auf einmal bekomme ich folgende Fehlermeldungen (nein, ich habe nichts gemacht, auch nicht geupdated ...)

    Code:
    2017-10-09 23:00:00    722378    ?    29861    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 39 | mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO)    ERROR
    2017-10-09 23:00:00    723648    ?    29861    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    724354    ?    29861    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    725219    ?    29861    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    725783    ?    29861    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 49 | mysqli_close() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    797060    ?    29867    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 39 | mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO)    ERROR
    2017-10-09 23:00:00    798280    ?    29867    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    799400    ?    29867    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    799998    ?    29867    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:00:00    800528    ?    29867    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 49 | mysqli_close() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:06:24    196464    MAIN    8678    mySQL: Verbindung verloren!!!    FATALERROR
    2017-10-09 23:06:27    144072    ?    8780    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 100 | mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given    ERROR
    2017-10-09 23:08:04    887367    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 39 | mysqli_connect(): (28000/1045): Access denied for user 'root'@'localhost' (using password: NO)    ERROR
    2017-10-09 23:08:04    888943    MAIN    1978    mySQL: Connect    FATALERROR
    2017-10-09 23:08:04    890542    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    891431    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    892188    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    892699    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    894922    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    895461    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    896004    MAIN    1978    db.RAMsysInfo löschen    ERROR
    2017-10-09 23:08:07    896821    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    897253    MAIN    1978    db.RAMcmdQueue löschen    ERROR
    2017-10-09 23:08:07    898174    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    898571    MAIN    1978    db.RAMko löschen    ERROR
    2017-10-09 23:08:07    899501    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    900041    MAIN    1978    db.RAMlogicElement löschen    ERROR
    2017-10-09 23:08:07    900789    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    901248    MAIN    1978    db.RAMlogicElementVar löschen    ERROR
    2017-10-09 23:08:07    901905    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    902385    MAIN    1978    db.RAMlogicLink löschen    ERROR
    2017-10-09 23:08:07    903130    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    903712    MAIN    1978    db.RAMlogicCmdList löschen    ERROR
    2017-10-09 23:08:07    904556    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    905015    MAIN    1978    db.RAMknxRead löschen    ERROR
    2017-10-09 23:08:07    905931    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    906342    MAIN    1978    db.RAMknxWrite löschen    ERROR
    2017-10-09 23:08:07    907152    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:07    907572    MAIN    1978    db.RAMsysProc löschen    ERROR
    2017-10-09 23:08:07    908354    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 59 | mysqli_query() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:10    909168    ?    1978    Datei: /var/edomi-backups/_public/www/shared/php/base.php | Fehlercode: 2 | Zeile: 49 | mysqli_close() expects parameter 1 to be mysqli, boolean given    ERROR
    2017-10-09 23:08:10    909867    MAIN    1978    mySQL disconnect    ERROR
    Danke und LG, Dariusz
    GIRA | ENERTEX | MDT | MEANWELL | 24VDC LED | iBEMI | EDOMI | ETS5 | DS214+ | KNX/RS232-GW-ROTEL

    #2
    Sieht so aus als hättest du dem mysql root User ein Passwort verpasst.

    was sagt ein

    Code:
    mysql -u root

    Kommentar


      #3
      Er schreibt aber "ich hab nix gemacht" *hihi*

      Kommentar


        #4
        Genau, das sagt die Schwiegermutter auch immer und dann sind die Bookmarks gelöscht...
        Kind regards,
        Yves

        Kommentar


          #5
          Danke mal für das Feedback !

          Ich werde es zuhause prüfen, leider muss ich über die Konsole ran, weil EDOMI kontinuierlich re-bootet und ich den Stecker - leider - ziehen musste, da ich mich via SSH nicht wirklich verbinden kann :-(

          Falls ich etwas gemacht habe, dann unwissentlich. Ein Passwort an dieser Stelle war für mich - "bis jetzt" - nie eine Option ...
          Danke und LG, Dariusz
          GIRA | ENERTEX | MDT | MEANWELL | 24VDC LED | iBEMI | EDOMI | ETS5 | DS214+ | KNX/RS232-GW-ROTEL

          Kommentar


            #6
            Hier ist das was ich nicht gemacht habe

            Code:
            [root@edomi ~]# mysql -u root
            ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
            OK, ich habe gestern meinen Leppi neu aufgesetzt und musste die ganzen Apps nachinstallierten und kontrollieren ob sie „funktionieren“ … da war auch SequelPro dabei

            Was kann ich jetzt machen, kann man das Passwort löschen, falls gesetzt, oder …?
            DANKE vorab
            Danke und LG, Dariusz
            GIRA | ENERTEX | MDT | MEANWELL | 24VDC LED | iBEMI | EDOMI | ETS5 | DS214+ | KNX/RS232-GW-ROTEL

            Kommentar


              #7
              Denke damit solltest du zum Ziel kommen

              https://dev.mysql.com/doc/refman/5.7...rmissions.html


              Kommentar


                #8
                Danke !

                Vielleicht habe ich es überlesen, ich möchte den ursprünglichen Zustand haben - ohne ein Passwort ... oder kann man Edomi (mysql) beibringen mit einem Passwort zu starten ?
                Derzeit scheint es 123456 zu sein - wie auch immer das reingekommen ist :-(
                Danke und LG, Dariusz
                GIRA | ENERTEX | MDT | MEANWELL | 24VDC LED | iBEMI | EDOMI | ETS5 | DS214+ | KNX/RS232-GW-ROTEL

                Kommentar


                  #9
                  Zitat von coliflower Beitrag anzeigen
                  Derzeit scheint es 123456 zu sein - wie auch immer das reingekommen ist :-(
                  Stimmt, du hast ja nichts gemacht ...

                  Code:
                  mysqladmin -u root -p 123456 password ''
                  oder als root mit mysql verbinden und dann

                  Code:
                    
                   SET PASSWORD FOR root@localhost=PASSWORD('');

                  Kommentar


                    #10
                    DANKE, leider ging es nicht :-(

                    Der erste Lösungsversuch:
                    Code:
                    [root@edomi ~]# mysqladmin -u root -p 123456 password ''
                    Enter password: 
                    mysqladmin: Unknown command: '123456'

                    Ohne 123456, nur mit ENTER:
                    Code:
                    [root@edomi ~]# mysqladmin -u root -p 123456 password ''
                    Enter password: 
                    mysqladmin: connect to server at 'localhost' failed
                    error: 'Access denied for user 'root'@'localhost' (using password: NO)'

                    Ich habe dann folgendes gemacht:
                    Code:
                    [root@edomi ~]# service mysqld stop
                    Code:
                    [root@edomi ~]# mysqld_safe --skip-grant-tables --user=root & 
                    [1] 2542
                    [root@edomi ~]# 171010 10:18:36 mysqld_safe Logging to '/var/log/log_mysql.err'.
                    171010 10:18:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
                    Code:
                    [root@edomi ~]# mysql -u root
                    Welcome to the MySQL monitor.  Commands end with ; or \g.
                    Your MySQL connection id is 1
                    Server version: 5.1.73 Source distribution
                    Copyright (c) 2000, 2013, 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>
                    Code:
                    mysql> update user set password=password ("") where user="root";
                    Query OK, 3 rows affected (0.00 sec)
                    Rows matched: 3  Changed: 3  Warnings: 0
                    
                    mysql> quit
                    Code:
                    [root@edomi ~]# service mysqld status
                    mysqld (PID  2668) wird ausgeführt ...
                    
                    [root@edomi ~]# kill 2668
                    [root@edomi ~]# 171010 10:23:36 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
                    
                    [1]+  Fertig                  mysqld_safe --skip-grant-tables --user=root
                    
                    [root@edomi ~]# service mysqld start

                    Nun scheint es zu funktionieren obwohl ich noch immer nicht weiß, was ich nicht gemacht habe weil es nicht mehr ging ...
                    Ich werde mal ein manuelles Backup ziehen ;-)

                    Code:
                    [root@edomi ~]# mysql -u root
                    Welcome to the MySQL monitor.  Commands end with ; or \g.
                    Your MySQL connection id is 2
                    
                    Server version: 5.1.73 Source distribution
                    Copyright (c) 2000, 2013, 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> quit

                    Code:
                    [root@edomi main]# sh start.sh
                    --------------------------------------------------------------------------------
                    
                                           EDOMI - (c) Dr. Christian Gärtner                        
                    
                    --------------------------------------------------------------------------------
                    kann Stromsparmodus nicht (zurück)setzen
                    mysqld beenden:                                            [  OK  ]
                    mysqld starten:                                            [  OK  ]
                    ntpd beenden:                                              [  OK  ]
                    ntpd: time slew -0.001136s
                    ntpd starten:                                              [  OK  ]
                    
                    >>> EDOMI startet in 3 Sekunden (Abbrechen mit ENTER) <<<            
                    
                    EDOMI-Konfiguration
                    MAIN START======================================================================
                    php: Kein Prozess abgebrochen
                    EDOMI starten...
                    2017-10-10 10:40:26 Prozess MAIN gestartet
                    2017-10-10 10:40:26 EDOMI: Version 1.52
                    2017-10-10 10:40:26 EDOMI: ClientId=123x1234567890123456789012345678901234567890
                    2017-10-10 10:40:26 EDOMI wurde rebootet
                    2017-10-10 10:40:26 Check: 64-Bit-System?
                    2017-10-10 10:40:26 PHP-Zeitzone: Europe/Vienna (Sommerzeit)
                    2017-10-10 10:40:26 mySQL: Connect
                    2017-10-10 10:40:26 Check: 106 Datenbanken überprüft (0 Fehler)
                    2017-10-10 10:40:26 mySQL: RAM reservieren (100 MB pro RAM-DB)
                    2017-10-10 10:40:27 db.edomiLive erstellen
                    2017-10-10 10:40:27 Queue löschen
                    2017-10-10 10:40:27 Queue erstellen
                    2017-10-10 10:40:27 Prozess QUEUE starten
                    2017-10-10 10:40:27 Prozess SYSINFO starten
                    2017-10-10 10:40:27 Visualisierungen inititalisieren
                    2017-10-10 10:40:27 Queue leeren
                    2017-10-10 10:40:27 db.RAMko löschen
                    2017-10-10 10:40:27 db.RAMko erstellen
                    2017-10-10 10:40:27 db.RAMko befüllen
                    2017-10-10 10:40:27 db.RAMko modifizieren
                    2017-10-10 10:40:27 db.RAMko Index erstellen
                    2017-10-10 10:40:27 db.RAMlogicElement löschen
                    2017-10-10 10:40:27 db.RAMlogicElement kopieren
                    2017-10-10 10:40:27 db.RAMlogicElement Index erstellen
                    2017-10-10 10:40:27 db.RAMlogicElementVar löschen
                    2017-10-10 10:40:27 db.RAMlogicElementVar erstellen
                    2017-10-10 10:40:27 db.RAMlogicElementVar befüllen
                    2017-10-10 10:40:27 db.RAMlogicLink löschen
                    2017-10-10 10:40:27 db.RAMlogicLink erstellen
                    2017-10-10 10:40:27 db.RAMlogicLink befüllen
                    2017-10-10 10:40:27 db.RAMlogicLink Index erstellen
                    2017-10-10 10:40:27 db.RAMlogicCmdList löschen
                    2017-10-10 10:40:27 db.RAMlogicCmdList erstellen
                    2017-10-10 10:40:27 db.RAMlogicCmdList befüllen
                    2017-10-10 10:40:27 db.RAMknxRead löschen
                    2017-10-10 10:40:27 db.RAMknxRead erstellen
                    2017-10-10 10:40:27 db.RAMknxWrite löschen
                    2017-10-10 10:40:27 db.RAMknxWrite erstellen
                    2017-10-10 10:40:27 Prozess KNX starten
                    2017-10-10 10:40:27 Prozess LOGIC starten
                    2017-10-10 10:40:27 Prozess VISU starten
                    2017-10-10 10:40:28 KNX-Verbindung abwarten
                    2017-10-10 10:40:28 INIT
                    2017-10-10 10:40:29 InitSend (0 GAs)
                    2017-10-10 10:40:29 InitScan: Abfrage 1...
                    2017-10-10 10:40:31 InitScan: Check (max. 30 Zyklen)...
                    2017-10-10 10:40:32 InitScan (41 GAs / 1 Abfragen / 2 Checks)
                    2017-10-10 10:40:32 Logik-Bausteine initialisieren...
                    2017-10-10 10:40:33 START
                    --------------------------------------------------------------------------------
                    10.10.2017 10:40:28 [EDOMI 1.52 - (c) Dr. Christian Gärtner] 10.10.2017 10:41:37
                    Danke und LG, Dariusz
                    GIRA | ENERTEX | MDT | MEANWELL | 24VDC LED | iBEMI | EDOMI | ETS5 | DS214+ | KNX/RS232-GW-ROTEL

                    Kommentar

                    Lädt...
                    X