Announcement

Collapse
No announcement yet.

MySQL Server startet nicht mehr

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • MySQL Server startet nicht mehr

    Guten Abend,

    auf einem WIN7 lief bislang MySql 5.6
    Seit ein paar Tagen haben wir eine Störung. Mein Schwiegersohn, der das eingerichtet hat, ist z.Zt. leider im Ausland und wir müssen uns selbst behelfen. Mit MySql habe ich nicht allzuviel am Hut. Der betr. Rechner steht ein paar Kilometer von mir entfernt und ich bin mit nem Teamviewer drauf. Es fällt mir auf, dass der MySQL56-Dienst gar nicht gestartet ist. Und jeder Versuch, ihn per Hand zu starten, scheitert mit der Fehlermeldung 1067.

    Auf dem Rechner ist eine Replikation (sowohl Master-Slave als auch Slave-Master) eingerichtet. Scheinbar ist da mal was aus dem Ruder gelaufen. Wenn bei einem Replikationsvorgang eine Störung im Netz auftritt (Internet weg, Stromausfall ...) dann hatten wir immer mal ein Problem. Schwiegersohn hat es dann immer schnell wieder gerichtet. Aber dass der Server überhaupt nicht hochfährt - das hatten wir glaub ich noch nie.

    Ich könnte beide Master resetten und die Replikation nach manuellem Datenabgleich neu starten. Ich wüßte vielleicht, wie das geht (RESET MASTER, CHANGE MASTER TO ...) Aber wie bekomme ich den Server erst mal wieder zum Laufen???

    Viele Grüße
    Norbert

    Hier das Log:
    2018-12-09 09:34:36 3800 [Note] Plugin 'FEDERATED' is disabled.
    2018-12-09 09:34:36 3800 [ERROR] Function 'innodb' already exists
    2018-12-09 09:34:36 3800 [Warning] Couldn't load plugin named 'innodb' with soname 'ha_innodb.so'.
    2018-12-09 09:34:36 3800 [ERROR] Function 'federated' already exists
    2018-12-09 09:34:36 3800 [Warning] Couldn't load plugin named 'federated' with soname 'ha_federated.so'.
    2018-12-09 09:34:36 3800 [ERROR] Function 'blackhole' already exists
    2018-12-09 09:34:36 3800 [Warning] Couldn't load plugin named 'blackhole' with soname 'ha_blackhole.so'.
    2018-12-09 09:34:36 3800 [ERROR] Function 'archive' already exists
    2018-12-09 09:34:36 3800 [Warning] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
    2018-12-09 09:34:36 ee0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
    2018-12-09 09:34:36 3800 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2018-12-09 09:34:36 3800 [Note] InnoDB: The InnoDB memory heap is disabled
    2018-12-09 09:34:36 3800 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2018-12-09 09:34:36 3800 [Note] InnoDB: Memory barrier is not used
    2018-12-09 09:34:36 3800 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2018-12-09 09:34:36 3800 [Note] InnoDB: Not using CPU crc32 instructions
    2018-12-09 09:34:36 3800 [Note] InnoDB: Initializing buffer pool, size = 688.0M
    2018-12-09 09:34:36 3800 [Note] InnoDB: Completed initialization of buffer pool
    2018-12-09 09:34:36 3800 [Note] InnoDB: Highest supported file format is Barracuda.
    2018-12-09 09:34:44 3800 [Note] InnoDB: 128 rollback segment(s) are active.
    2018-12-09 09:34:44 3800 [Note] InnoDB: Waiting for purge to start
    2018-12-09 09:34:44 3800 [Note] InnoDB: 5.6.23 started; log sequence number 7431653274


    C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin\mysqld.exe: File '.\mysql-bin.001120' not found (Errcode: 2 - No such file or directory)
    2018-12-09 09:34:44 3800 [ERROR] Failed to open log (file '.\mysql-bin.001120', errno 2)
    2018-12-09 09:34:44 3800 [ERROR] Could not open log file
    2018-12-09 09:34:44 3800 [ERROR] Can't init tc log
    2018-12-09 09:34:44 3800 [ERROR] Aborting

  • #2
    Im Netz habe ich gelesen, dass man die binäre Protokollindexdatei mysql-bin.index löschen soll, um das Problem zu beheben. Ich habe eine Kopie davon gemacht und den letzten Eintrag .\mysql-bin.001120 entfernt. Dann habe ich versucht den mySQL Dienst zu starten. Das schlug wieder fehl. Daraufhin habe ich die Indexdatei zurückgeschrieben. Jetzt ist wahrscheinlich InnoDB zerschossen. Ohne eure Hilfe wage ich mich nun an gar nichts mehr.

    2018-12-09 18:46:06 3068 [Note] Plugin 'FEDERATED' is disabled.
    2018-12-09 18:46:06 3068 [ERROR] Function 'innodb' already exists
    2018-12-09 18:46:06 3068 [Warning] Couldn't load plugin named 'innodb' with soname 'ha_innodb.so'.
    2018-12-09 18:46:06 3068 [ERROR] Function 'federated' already exists
    2018-12-09 18:46:06 3068 [Warning] Couldn't load plugin named 'federated' with soname 'ha_federated.so'.
    2018-12-09 18:46:06 3068 [ERROR] Function 'blackhole' already exists
    2018-12-09 18:46:06 3068 [Warning] Couldn't load plugin named 'blackhole' with soname 'ha_blackhole.so'.
    2018-12-09 18:46:06 3068 [ERROR] Function 'archive' already exists
    2018-12-09 18:46:06 3068 [Warning] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
    2018-12-09 18:46:06 fcc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
    2018-12-09 18:46:06 3068 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2018-12-09 18:46:06 3068 [Note] InnoDB: The InnoDB memory heap is disabled
    2018-12-09 18:46:06 3068 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2018-12-09 18:46:06 3068 [Note] InnoDB: Memory barrier is not used
    2018-12-09 18:46:06 3068 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2018-12-09 18:46:06 3068 [Note] InnoDB: Not using CPU crc32 instructions
    2018-12-09 18:46:06 3068 [Note] InnoDB: Initializing buffer pool, size = 688.0M
    2018-12-09 18:46:06 3068 [Note] InnoDB: Completed initialization of buffer pool
    2018-12-09 18:46:07 3068 [Note] InnoDB: Restoring page 0 of tablespace 0
    2018-12-09 18:46:07 3068 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
    2018-12-09 18:46:07 3068 [ERROR] InnoDB: space header page consists of zero bytes in data file .\ibdata1
    2018-12-09 18:46:07 3068 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
    2018-12-09 18:46:07 3068 [ERROR] Plugin 'InnoDB' init function returned error.
    2018-12-09 18:46:07 3068 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    2018-12-09 18:46:07 3068 [ERROR] Unknown/unsupported storage engine: INNODB
    2018-12-09 18:46:07 3068 [ERROR] Aborting


    Comment


    • #3
      Danke. Hat sich erledigt. Habs hinbekommen.

      Comment

      Working...
      X