Hallo zusammen,
ich hab da ein Problem mit dem MySQL-Server. Er lässt dich leider nicht installieren bzw. im Zuge der Installation nicht starten....
Gleich mal vorab, ich hab natürlich schon sämtliche vorhanden Threads gelesen und probiert. Sämtliche Arten der Neuinstallation haben nichts genützt, auch alle anderen Vorschläge waren bei mir nutzlos... Da ich seit vielen, vielen Stunden sitze und mit meiner Weisheit am Ende bin bitte ich euch im Hilfe...
Auf meinem Pi läuft Debian Wheezy.
Bitte nicht nur auf Fehler hinweisen, sonder auch wie ich sie lösen kann....
Danke für eure Hilfe!!
Zuletzt habe ich probiert:
ZitatAlles anzeigen
root@raspberrypi:~# apt-get install mysql-server-5.5 mysql-client-5.5 --fix-missing --fix-broken
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libdbd-mysql-perl libmysqlclient18 mysql-common
Vorgeschlagene Pakete:
libterm-readkey-perl tinyca
Die folgenden NEUEN Pakete werden installiert:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-common mysql-server-5.5
0 aktualisiert, 5 neu installiert, 0 zu entfernen und 497 nicht aktualisiert.
Es müssen 3.922 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 66,9 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? j
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
mysql-common libmysqlclient18 libdbd-mysql-perl mysql-client-5.5 mysql-server-5.5
Diese Pakete ohne Überprüfung installieren [j/N]? j
Holen: 1 http://ftp.at.debian.org/debian/ stable/main mysql-common all 5.5.40-0+wheezy1 [75,5 kB]
Holen: 2 http://ftp.at.debian.org/debian/ stable/main libmysqlclient18 armhf 5.5.40-0+wheezy1 [627 kB]
Holen: 3 http://ftp.at.debian.org/debian/ stable/main libdbd-mysql-perl armhf 4.021-1+b1 [120 kB]
Holen: 4 http://ftp.at.debian.org/debian/ stable/main mysql-client-5.5 armhf 5.5.40-0+wheezy1 [1.463 kB]
Holen: 5 http://ftp.at.debian.org/debian/ stable/main mysql-server-5.5 armhf 5.5.40-0+wheezy1 [1.636 kB]
Es wurden 3.922 kB in 2 s geholt (1.515 kB/s).
Vorkonfiguration der Pakete ...
Vormals nicht ausgewähltes Paket mysql-common wird gewählt.
(Lese Datenbank ... 75944 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von mysql-common (aus .../mysql-common_5.5.40-0+wheezy1_all.deb) ...
Vormals nicht ausgewähltes Paket libmysqlclient18:armhf wird gewählt.
Entpacken von libmysqlclient18:armhf (aus .../libmysqlclient18_5.5.40-0+wheezy1_armhf.deb) ...
Vormals nicht ausgewähltes Paket libdbd-mysql-perl wird gewählt.
Entpacken von libdbd-mysql-perl (aus .../libdbd-mysql-perl_4.021-1+b1_armhf.deb) ...
Vormals nicht ausgewähltes Paket mysql-client-5.5 wird gewählt.
Entpacken von mysql-client-5.5 (aus .../mysql-client-5.5_5.5.40-0+wheezy1_armhf.deb) ...
Trigger für man-db werden verarbeitet ...
mysql-common (5.5.40-0+wheezy1) wird eingerichtet ...
Vormals nicht ausgewähltes Paket mysql-server-5.5 wird gewählt.
(Lese Datenbank ... 76044 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von mysql-server-5.5 (aus .../mysql-server-5.5_5.5.40-0+wheezy1_armhf.deb) ...
Trigger für man-db werden verarbeitet ...
libmysqlclient18:armhf (5.5.40-0+wheezy1) wird eingerichtet ...
libdbd-mysql-perl (4.021-1+b1) wird eingerichtet ...
mysql-client-5.5 (5.5.40-0+wheezy1) wird eingerichtet ...
mysql-server-5.5 (5.5.40-0+wheezy1) wird eingerichtet ...
Stopping MySQL database server: mysqld.
150201 22:19:03 [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.
150201 22:19:03 [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.
150201 22:19:03 [Note] Plugin 'FEDERATED' is disabled.
150201 22:19:03 InnoDB: The InnoDB memory heap is disabled
150201 22:19:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150201 22:19:03 InnoDB: Compressed tables use zlib 1.2.7
150201 22:19:03 InnoDB: Using Linux native AIO
150201 22:19:03 InnoDB: Initializing buffer pool, size = 128.0M
150201 22:19:03 InnoDB: Completed initialization of buffer pool
150201 22:19:03 InnoDB: highest supported file format is Barracuda.
150201 22:19:03 InnoDB: Waiting for the background threads to start
150201 22:19:04 InnoDB: 5.5.41 started; log sequence number 1595685
150201 22:19:04 InnoDB: Starting shutdown...
150201 22:19:05 InnoDB: Shutdown completed; log sequence number 1595685
/var/lib/dpkg/info/mysql-server-5.5.postinst: Zeile 25: 23125 Speicherzugriffsfehler mysql --no-defaults -u root -h localhost < /dev/null > /dev/null 2>&1
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: Fehler beim Bearbeiten von mysql-server-5.5 (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:~#
dpkg --configure -a ergibt:
ZitatAlles anzeigen
root@raspberrypi:~# dpkg --configure -a
mysql-server-5.5 (5.5.40-0+wheezy1) wird eingerichtet ...
Stopping MySQL database server: mysqld.
150201 22:24:46 [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.
150201 22:24:46 [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.
150201 22:24:46 [Note] Plugin 'FEDERATED' is disabled.
150201 22:24:46 InnoDB: The InnoDB memory heap is disabled
150201 22:24:46 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150201 22:24:46 InnoDB: Compressed tables use zlib 1.2.7
150201 22:24:46 InnoDB: Using Linux native AIO
150201 22:24:46 InnoDB: Initializing buffer pool, size = 128.0M
150201 22:24:46 InnoDB: Completed initialization of buffer pool
150201 22:24:47 InnoDB: highest supported file format is Barracuda.
150201 22:24:47 InnoDB: Waiting for the background threads to start
150201 22:24:48 InnoDB: 5.5.41 started; log sequence number 1595685
150201 22:24:48 InnoDB: Starting shutdown...
150201 22:24:49 InnoDB: Shutdown completed; log sequence number 1595685
/var/lib/dpkg/info/mysql-server-5.5.postinst: Zeile 25: 27859 Speicherzugriffsfehler mysql --no-defaults -u root -h localhost < /dev/null > /dev/null 2>&1
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: Fehler beim Bearbeiten von mysql-server-5.5 (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
mysql-server-5.5
root@raspberrypi:~#
syslog:
ZitatAlles anzeigen
Feb 1 22:24:58 raspberrypi mysqld_safe[27804]: 150201 22:24:58 InnoDB: Starting shutdown...
Feb 1 22:24:59 raspberrypi mysqld_safe[27804]: 150201 22:24:59 InnoDB: Shutdown completed; log sequence number 1595685
Feb 1 22:24:59 raspberrypi mysqld_safe[27804]: 150201 22:24:59 [Note] /usr/sbin/mysqld: Shutdown complete
Feb 1 22:24:59 raspberrypi mysqld_safe[27804]:
Feb 1 22:25:03 raspberrypi mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 [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.
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated a nd will be removed in a future release. Please use the full name instead.
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 [Note] Plugin 'FEDERATED' is disabled.
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: The InnoDB memory heap is disabled
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Compressed tables use zlib 1.2.7
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Using Linux native AIO
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Initializing buffer pool, size = 128.0M
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Completed initialization of buffer pool
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: highest supported file format is Barracuda.
Feb 1 22:25:03 raspberrypi mysqld: 150201 22:25:03 InnoDB: Waiting for the background threads to start
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 InnoDB: 5.5.41 started; log sequence number 1595685
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [Note] Server socket created on IP: '127.0.0.1'.
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 [ERROR] Aborting
Feb 1 22:25:04 raspberrypi mysqld:
Feb 1 22:25:04 raspberrypi mysqld: 150201 22:25:04 InnoDB: Starting shutdown...
Feb 1 22:25:05 raspberrypi mysqld: 150201 22:25:05 InnoDB: Shutdown completed; log sequence number 1595685
Feb 1 22:25:05 raspberrypi mysqld: 150201 22:25:05 [Note] /usr/sbin/mysqld: Shutdown complete
Feb 1 22:25:05 raspberrypi mysqld:
Feb 1 22:25:06 raspberrypi mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Feb 1 22:25:19 raspberrypi /etc/init.d/mysql[28580]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 1 22:25:19 raspberrypi /etc/init.d/mysql[28580]:
Feb 1 22:25:19 raspberrypi /etc/init.d/mysql[28580]:
Es läuft auch kein weiterer MySQL-Server:
ZitatAlles anzeigen
root@raspberrypi:~# netstat -tan
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 144 192.168.1.6:22 192.168.1.4:55166 VERBUNDEN
root@raspberrypi:~#