Page 1 of 1

große mysql Probleme

Posted: 2007-04-24 21:01
by mcfly
Hi an alle

ich habe leider Große Probleme mit mysql. Nach ungefähr zwei Tagen laufzeit von mysql ist stänig der Server nicht zu erreichen obwohl mysql läuft.

Wenn ich dann die Plesk Hauptseite aufrufe kriege ich als Fehlermeldung
ERROR: PleskFatalException
Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

0: /usr/local/psa/admin/plib/common_func.php3:151
psaerror(string 'Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)')
1: /usr/local/psa/admin/auto_prepend/auth.php3:90

Was kannich gegen dieses Problem machen?

Wäre sehr schön wenn Ihr mir helfen könntet da ich in mysql noch nicht so erfahren bin und bisher auch keine Probleme hatte.

Re: große mysql Probleme

Posted: 2007-04-24 22:54
by elch_mg
Um in Logdateien zu gucken muss man nicht sonderlich erfahren sein.. :P
Schau doch mal, ob sich unter /var/log/(mysql/) etwas brauchbares findest und poste die relevanten Bestandteile hier.

Re: große mysql Probleme

Posted: 2007-04-25 20:40
by mcfly
Würde ich gerne aber ich finde auf dem ganzen Server keine log für mysql.

Habe einen SuSe 9.3 Server mit Plesk 8.1.1

Re: große mysql Probleme

Posted: 2007-04-25 20:53
by Roger Wilco
Das Log sollte unter /var/lib/mysql/mysqld.log liegen. Ein Blick in die /etc/my.cnf sollte ebenfalls helfen.

Re: große mysql Probleme

Posted: 2007-04-25 21:36
by mcfly
Sorry an die my.cnf hat ich überhauptned gedacht.

Also dies wäre der einzige Eintrag der nichts mit Shutdown oder Start zu schaffen hat.

Code: Select all

070425 18:59:07  mysqld started
070425 18:59:07  InnoDB: Started; log sequence number 0 1105333582
/usr/sbin/mysqld: ready for connections.
Version: '4.1.10a'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  SUSE MySQL RPM
070425 20:24:54  mysqld started
070425 20:24:56  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...
070425 20:24:57  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 1105404822.
InnoDB: Doing recovery: scanned up to log sequence number 0 1105406419
070425 20:24:58  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
070425 20:24:59  InnoDB: Flushing modified pages from the buffer pool...
070425 20:24:59  InnoDB: Started; log sequence number 0 1105406419
/usr/sbin/mysqld: ready for connections.
Version: '4.1.10a'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  SUSE MySQL RPM
070425 20:31:54 [Note] /usr/sbin/mysqld: Normal shutdown