[opencms-dev] Error switching to Offline mode

Laurent Gauthier lgauthier at opnworks.com
Fri Sep 26 06:19:01 CEST 2003


I seem to have a corrupt OpenCMS database (MySQL).

I have been working (developing) all day with OpenCMS and now, I
suddenly get this error whenever I try to switch to Offline mode after a
login:

[25.09.2003 22:57:49] <opencms_critical> [CmsXmlWpTemplateFile] Error
while building workplace element "button":
com.opencms.core.CmsException: 4 Sql exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] General error: Can't open file:
'cms_resources.MYD'. (errno: 145). 
root cause was java.sql.SQLException: General error: Can't open file:
'cms_resources.MYD'. (errno: 145)

If I try accessing the cms_resources table using any database tool, I
get the same error message which leads me to think that the MySQL table
IS indeed corrupt.

Somebody else reported pretty uch the same behavior on the list archive
(http://mail.opencms.org/pipermail/opencms-dev/2003q3/006922.html) but I
did not see any follow-up.

Did I really loose my work that was not backed up?

Do I need to completely reinitialize the MySQL OpenCMS database ?

Not a very pleasing perspective...

I could not find anything relating to this in the bug archive.


Laurent




More information about the opencms-dev mailing list