PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : MySQL-Server will nicht.



LordDarkmage
22.02.06, 05:38
Hallo,

habe einen vServer von einem Bekannten bekommen, der mich gebeten hat seine Website darauf zu "installieren". Da PHPNuke ja MySQL benötigt musste ich dafür mittels apt den MySQL-Server installieren. Kurzerhand ein "apt-get install mysql-server" wie ich es immer mache, aber dann kam es. Er wollte nicht starten. Es kam folgende Meldung:
rds01:~# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
rds01:~#


Dachte ich ich geb mal "mysqld" in die Console ein und dann kam das hier:
rds01:~# mysqld
060222 6:31:58 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060222 6:31:58 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43777.
InnoDB: Doing recovery: scanned up to log sequence number 0 43823
InnoDB: Last MySQL binlog file position 0 79, file name /var/log/mysql/mysql-bin.000011
060222 6:31:58 InnoDB: Flushing modified pages from the buffer pool...
060222 6:31:58 InnoDB: Started; log sequence number 0 43823
060222 6:31:58 [ERROR] mysqld: Incorrect information in file: './mysql/user.frm'
060222 6:31:58 [ERROR] Fatal error: Can't open privilege tables: Incorrect information in file: './mysql/user.frm'
rds01:~#

Kann mir jemand da weiterhelfen?

Danke im Voraus

LordDarkmage

marce
22.02.06, 06:04
hast Du eine mysql_dreatetables gemacht vorher? ... es gibt auch 'ne repair-Funktion (-> man-Page) - ansonsten - steht noch zusätzlich was im Log? Haben die DB-Files und VZ die richtigen Rechte?