Hallo,
ich habe hier einen Server, den ich aber nicht aufgesetzt habe und es gibt auch leider keine Dokumentation. Es handelt sich um ein Debian 7 (wheezy), auf dem läuft eine Virtuelle Maschine (VirtualBox, soweit ich das rausfinden konnte). In der Virtuellen Maschine läuft nochmal ein Debian 7.
Darauf ist ein Apache, PHP5 und Mysql installiert. Der Apache und PHP scheinen zu laufen, ich sehe zumindest eine Ausgabe im Browser. Mit Mysql habe ich erhebliche Problem - wobei am Freitag alles noch lief.
Beim starten mit `sudo mysqld --verbose` bekomme ich folgende Meldung:
[src=bash]
171113 10:03:08 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
171113 10:03:08 [Note] mysqld (mysqld 5.5.43-0+deb7u1) starting as process 7602 ...
171113 10:03:08 [Warning] Can't create test file /var/lib/mysql/wawision.lower-test
171113 10:03:08 [Warning] Can't create test file /var/lib/mysql/wawision.lower-test
171113 10:03:08 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
171113 10:03:08 [Note] Plugin 'FEDERATED' is disabled.
171113 10:03:08 InnoDB: The InnoDB memory heap is disabled
171113 10:03:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
171113 10:03:08 InnoDB: Compressed tables use zlib 1.2.7
171113 10:03:08 InnoDB: Using Linux native AIO
mysqld: Can't create/write to file '/tmp/ibWZMZFO' (Errcode: 30)
171113 10:03:08 InnoDB: Error: unable to create temporary file; errno: 30
171113 10:03:08 [ERROR] Plugin 'InnoDB' init function returned error.
171113 10:03:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
171113 10:03:08 [ERROR] Unknown/unsupported storage engine: InnoDB
171113 10:03:08 [ERROR] Aborting
[/src]
Soweit ich das verstehe scheitert er also am anlegen einer Datei in /tmp/. Danach scheitert InnoDB. Ich habe gelesen das ich im Ordner `/var/lib/mysql` die Logfiles mal löschen oder umbenennen soll `find /var/lib/mysql -type f -name "ib_logfile?" -exec mv {} {}.bak \;` Dabei bekomme ich aber die Meldung
[src=bash] Verschieben von „/var/lib/mysql/ib_logfile0“ nach „/var/lib/mysql/ib_logfile0.bak“ nicht möglich: Das Dateisystem ist nur lesbar
[/src].
Was ist denn hier bitte kaputt? Es wäre nur wichtig, das mysql erstmal wieder startet.
ich habe hier einen Server, den ich aber nicht aufgesetzt habe und es gibt auch leider keine Dokumentation. Es handelt sich um ein Debian 7 (wheezy), auf dem läuft eine Virtuelle Maschine (VirtualBox, soweit ich das rausfinden konnte). In der Virtuellen Maschine läuft nochmal ein Debian 7.
Darauf ist ein Apache, PHP5 und Mysql installiert. Der Apache und PHP scheinen zu laufen, ich sehe zumindest eine Ausgabe im Browser. Mit Mysql habe ich erhebliche Problem - wobei am Freitag alles noch lief.
Beim starten mit `sudo mysqld --verbose` bekomme ich folgende Meldung:
[src=bash]
171113 10:03:08 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
171113 10:03:08 [Note] mysqld (mysqld 5.5.43-0+deb7u1) starting as process 7602 ...
171113 10:03:08 [Warning] Can't create test file /var/lib/mysql/wawision.lower-test
171113 10:03:08 [Warning] Can't create test file /var/lib/mysql/wawision.lower-test
171113 10:03:08 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
171113 10:03:08 [Note] Plugin 'FEDERATED' is disabled.
171113 10:03:08 InnoDB: The InnoDB memory heap is disabled
171113 10:03:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
171113 10:03:08 InnoDB: Compressed tables use zlib 1.2.7
171113 10:03:08 InnoDB: Using Linux native AIO
mysqld: Can't create/write to file '/tmp/ibWZMZFO' (Errcode: 30)
171113 10:03:08 InnoDB: Error: unable to create temporary file; errno: 30
171113 10:03:08 [ERROR] Plugin 'InnoDB' init function returned error.
171113 10:03:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
171113 10:03:08 [ERROR] Unknown/unsupported storage engine: InnoDB
171113 10:03:08 [ERROR] Aborting
[/src]
Soweit ich das verstehe scheitert er also am anlegen einer Datei in /tmp/. Danach scheitert InnoDB. Ich habe gelesen das ich im Ordner `/var/lib/mysql` die Logfiles mal löschen oder umbenennen soll `find /var/lib/mysql -type f -name "ib_logfile?" -exec mv {} {}.bak \;` Dabei bekomme ich aber die Meldung
[src=bash] Verschieben von „/var/lib/mysql/ib_logfile0“ nach „/var/lib/mysql/ib_logfile0.bak“ nicht möglich: Das Dateisystem ist nur lesbar
[/src].
Was ist denn hier bitte kaputt? Es wäre nur wichtig, das mysql erstmal wieder startet.