TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Defekte Datenbank: is marked as crashed and should be repair

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> SSR/525
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
hne



Joined: 11 Jul 2008
Posts: 210
Location: Hannover

PostPosted: 10.02.2016, 17:30    Post subject: Defekte Datenbank: is marked as crashed and should be repair Reply with quote

Im Syslog erscheinen Fehler wie z.B.:
Code:
Feb  9 06:35:05 SSR525 mysqld: 160209  6:35:05 [ERROR] /usr/sbin/mysqld: Table './dbvpnbox/clients' is marked as crashed and should be repaired


Das System wurde vermutlich unsanft beendet, indem der Strom einfach ausgeschaltet wurde, ohne das System sauber runter zu fahren.

Man kann versuchen die Datenbank zu reparieren, indem man die fehlerhafte Tabelle (hier: clients) reparieren läßt:
Code:
mysql dbvpnbox -v -e 'REPAIR TABLE clients'

Wenn es nichst zu reparieren gibt, erscheint folgende Antwort:
Code:
--------------
REPAIR TABLE clients
--------------

+------------------+--------+----------+----------+
| Table            | Op     | Msg_type | Msg_text |
+------------------+--------+----------+----------+
| dbvpnbox.clients | repair | status   | OK       |
+------------------+--------+----------+----------+


Auch wenn die Datenbank nach dieser Reparatur wieder korrekt ist, könnten trotzdem Datensätze fehlen oder mit den anderen Tabellen nicht passent sein.

Es sollte deshalb unbedingt das letzte korrete Update eingespielt werden.
_________________
Henry Nestler
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> SSR/525 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015