Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 06:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MySQL Datenbank erstellt, unbekannter Fehler?!

Discussion on MySQL Datenbank erstellt, unbekannter Fehler?! within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
Question MySQL Datenbank erstellt, unbekannter Fehler?!

Hey Leute ich brauche für meinen Minecraft vServer eine MySQL Datenbank und beim erstellen trat 1 Fehler auf. Meine Vorgehensweise:

PHP Code:
apt-get update
apt
-get upgrade
apt
-get install apache2 php5 libapache2-mod-php5 
Nachdem ich nicht raus gefunden habe was genau der Fehler ist (durch googlen etc.) habe ich probiert den Fehler einfach zu ignorieren, und weiter zu machen:

PHP Code:
apt-get install mysql-server mysql-client php5-mysql 
Und dann phpmyadmin

PHP Code:
apt-get install phpmyadmin 
Als Fehler bei /phpmyadmin stand: Verbindung für den controluser, wie er in Ihrer Konfiguration angegeben ist, ist fehlgeschlagen.

In der Konsole bekomme ich immer das gleiche als Fehler:

PHP Code:
140503 23:23:28  InnoDBWarningio_setup() failed with EAGAINWill make 5 attempts before giving up.
InnoDBWarningio_setup() attempt 1 failed.
InnoDBWarningio_setup() attempt 2 failed.
InnoDBWarningio_setup() attempt 3 failed.
InnoDBWarningio_setup() attempt 4 failed.
InnoDBWarningio_setup() attempt 5 failed.
140503 23:23:31  InnoDBErrorio_setup() failed with EAGAIN after 5 attempts.
InnoDBYou can disable Linux Native AIO by setting innodb_use_native_aio 0 in my.cnf
140503 23
:23:31 InnoDBFatal errorcannot initialize AIO sub-system
140503 23
:23:31 [ERRORPlugin 'InnoDB' init function returned error.
140503 23:23:31 [ERRORPlugin 'InnoDB' registration as a STORAGE ENGINE failed.
140503 23:23:31 [ERRORUnknown/unsupported storage engineInnoDB
140503 23
:23:31 [ERRORAborting

140503 23
:23:31 [Note] /usr/sbin/mysqldShutdown complete

[FAILStarting MySQL database servermysqld . . . . . . . . . . . . . . failed      !
invoke-rc.dinitscript mysqlaction "start" failed.
dpkgerror processing mysql-server-5.5 (--configure):
 
subprocess installed post-installation script returned error exit status 1
dpkg
dependency problems prevent configuration of mysql-server:
 
mysql-server depends on mysql-server-5.5however:
  
Package mysql-server-5.5 is not configured yet
Please Help!
Death~Light is offline  
Old 06/01/2014, 17:16   #2
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
Hilfe..
Death~Light is offline  
Old 06/01/2014, 18:16   #3
 
XxharCs's Avatar
 
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,228
Was für ein Fehler trat bei der Installtion von PHP5 auf?
Installiere das ganze neu und falls der Fehler bei der Installation wieder kommt dann bitte hier posten bevor du weiter machst.
Sollte die Installation erfolgreich sein, aber der oben angeführte Fehler wieder auftauchen, dann hier melden.


Du kannst es auch kurz machen und die Datei /etc/my.cnf verändern, indem du diese Zeile hinzufügst:
Code:
innodb_use_native_aio = 0
Jedoch kann ich dir dann nicht garantieren ob dann MySQL richtig funktionieren wird, da du schon Fehler bei der Installation hattest. Was mich aber wundert, laut deinem Post hattest du bei der PHP5 Installation den Fehler und nicht bei der MySQL Installation, also solltest du keinen Fehler bekommen wenn du MySQL startest..
XxharCs is offline  
Old 06/07/2014, 11:12   #4
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
@XxharCs Der Fehler bei PHP5 war wegen des Root Passworts: Unable to set password for the MySQL "root" user x
x x
x An error occurred while setting the password for the MySQL x
x administrative user. This may have happened because the account already x
x has a password, or because of a communication problem with the MySQL x
x server. x
x x
x You should check the account's password after the package installation. x
x x
x Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for x
x more information.

Bei dem z.B. dem restart des MySQL Servers kommt folgender Fehler:

140503 23:23:28 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
140503 23:23:31 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
140503 23:23:31 InnoDB: Fatal error: cannot initialize AIO sub-system
140503 23:23:31 [ERROR] Plugin 'InnoDB' init function returned error.
140503 23:23:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140503 23:23:31 [ERROR] Unknown/unsupported storage engine: InnoDB
140503 23:23:31 [ERROR] Aborting

140503 23:23:31 [Note] /usr/sbin/mysqld: Shutdown complete

[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed !
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet

#Edit
Wenn ich den Code von dir in die my.cnf eintrage und die mysql neustarten will kommt:

[ ok ] Stopping MySQL database server: mysqld.
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Setting up libssl1.0.0:amd64 (1.0.1e-2+deb7u10) ...
Setting up openssl (1.0.1e-2+deb7u10) ...
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Death~Light is offline  
Old 06/08/2014, 13:02   #5
 
elite*gold: 0
Join Date: Apr 2007
Posts: 156
Received Thanks: 22
Ich arbeite schon knapp 10 Jahre mit linux systemen, aber diese Fehlermeldung hatte ich noch nie. Um welches System handelt es? Ubuntu? Debian? & Version?

Du könntest mal auch versuchen, alles wieder runterzuhauen und nach einander wieder zu installieren.

Kam beim "apt-get upgrade" eine Fehlermeldung?
NixIs is offline  
Old 06/08/2014, 20:35   #6
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
Debian. Habe es schon etwa 3 mal neu installiert, und wirklich deutlich darauf geachtet alles richtig ein zu geben etc. pp.

Bei apt-get upgrade gibt es momentan kein Fehler (war allerdings vor einiger zeit so, jetzt hat er anscheinend die dpkg neu aufgesetzt, deshalb kommt da kein Fehler mehr).

Kleines Update, ich hab gerade versucht PhpMyAdmin aufzusetzen, da kam dann folgender Fehler:

lqqqqqqqqqqqqqqqqqqqqqqqqu Configuring phpmyadmin tqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x An error occurred while installing the database: x
x x
x ERROR 2002 (HY000): Can't connect to local MySQL server through socket x
x '/var/run/mysqld/mysqld.sock' (2) x
x x
x If at this point you choose "retry", you will be prompted with all the x
x configuration questions once more and another attempt will be made at x
x performing the operation. "retry (skip questions)" will immediately x
x attempt the operation again, skipping all questions. If you choose x
x "abort", the operation will fail and you will need to downgrade, x
x reinstall, reconfigure this package, or otherwise manually intervene to x
x continue using it. If you choose "ignore", the operation will continue, x
x ignoring further errors from dbconfig-common. x
Death~Light is offline  
Old 06/17/2014, 14:59   #7
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
Help.. y.y
Death~Light is offline  
Old 06/25/2014, 10:19   #8
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
Help
Death~Light is offline  
Old 06/25/2014, 12:35   #9
 
XxharCs's Avatar
 
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,228
Wegen MySQL:

Führe bitte diesen Befehl aus:
Code:
dpkg -S etc/mysql
Was für einen Output bekommst du?
XxharCs is offline  
Old 06/28/2014, 23:17   #10
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
mysql-common: /etc/mysql/conf.d/.keepme
mysql-common: /etc/mysql/my.cnf
mysql-server-5.5: /etc/mysql/debian-start
mysql-common, mysql-server-5.5: /etc/mysql/conf.d
mysql-server-5.5: /etc/mysql/conf.d/mysqld_safe_syslog.cnf
mysql-common, mysql-server-5.5: /etc/mysql
Death~Light is offline  
Old 07/03/2014, 23:44   #11
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
help
Death~Light is offline  
Old 07/09/2014, 14:19   #12
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
help
Death~Light is offline  
Old 07/09/2014, 17:16   #13
 
XxharCs's Avatar
 
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,228
Quote:
Originally Posted by Death~Light View Post
mysql-common: /etc/mysql/conf.d/.keepme
mysql-common: /etc/mysql/my.cnf
mysql-server-5.5: /etc/mysql/debian-start
mysql-common, mysql-server-5.5: /etc/mysql/conf.d
mysql-server-5.5: /etc/mysql/conf.d/mysqld_safe_syslog.cnf
mysql-common, mysql-server-5.5: /etc/mysql
Sry das ich mich so spät melde.
Du musst eine komplette Deinstallation & Neuinstallation ausführen.

Code:
sudo apt-get remove --purge mysql-server-5.5 mysql-client mysql-common
rm /etc/mysql/ -R
rm /var/lib/mysql/ -R
sudo apt-get autoremove
sudo apt-get autoclean
Dann wieder installieren.
Code:
apt-get install mysql-server
etc….

Wenn das hier nicht funktioniert, dann weiß ich selber nicht weiter. Entweder sind deine Packages Korrupt und somit ladest dir ne Korrupte MySQL Version, oder was anderes ist das Problem, wobei du dann den MySQL Support selbst kontaktieren musst, damit sie dir weiterhelfen.
XxharCs is offline  
Old 07/09/2014, 19:49   #14
 
Death~Light's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,584
Received Thanks: 295
@xxharcs Habe es schon oft probiert, vergeblich.. Aber ich habe herausgefunden dass es irgendwas zu tun hat mit der Version von Wheezy und MySQL oder so?
Death~Light is offline  
Old 07/16/2014, 17:49   #15
 
elite*gold: 0
Join Date: Jun 2011
Posts: 96
Received Thanks: 21
Start mal bitte den MySql client, also mysql ins Terminal eintippen und führe dann diesen Befehl aus: show engine innodb status;

Was bekommst du zurück?
kurrbis is offline  
Reply


Similar Threads Similar Threads
Unbekannter Mysql fehler :D
12/01/2012 - Metin2 Private Server - 3 Replies
Hallo! ich mache schon seit knappen 3 Jahren servern, aber das was ich bei einen Freund gefunden habe, hatte ich noch nie. Hier: http://img195.imageshack.us/img195/8252/unbenannt tx.jpg wie behebt man diesen?
MySQL installieren unbekannter fehler
09/08/2011 - Metin2 Private Server - 14 Replies
===> Extracting for mysql-server-5.0.92 => SHA256 Checksum OK for mysql-5.0.92.tar.gz. ===> Patching for mysql-server-5.0.92 ===> Applying FreeBSD patches for mysql-server-5.0.92 Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to client/mysql.cc.rej => Patch patch-client_mysql.cc failed to apply cleanly. => Patch(es) patch-Docs::Makefile.in patch-Makefile.in applied cleanly. *** Error code 1
Mysql / Datenbank fehler
06/15/2011 - Metin2 Private Server - 5 Replies
Hallo Com.. Ich bräuchte mal eine kleine Hilfe... Ich habe gester Mysql5.0 neuinstalliert auf dem Root, doch nun besteht ein problem dass ich nicht alle Tabellen öffnen kann. Bei viele Tabellen kommt der Fehler mit "Unknown collation 'big5_chinese_ci' in table wer könnte mir da helfen ? Danke
e*pvp mysql datenbank fehler
04/21/2006 - Main - 9 Replies
Ladet das forum heute bei euch auch so larm und kriegt ihr auch manchmal so ne dumme message



All times are GMT +1. The time now is 06:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.