[Mediawiki-l] "Error in fetchObject(): Got error 1 from storage engine"

Brion Vibber brion at pobox.com
Mon Jan 8 01:10:34 UTC 2007

Hash: SHA1

Rich Morin wrote:
> We're running a Mac mini with Mac OS X Tiger (home, not "server")
> as (among other things) our web server.  It runs PHP 4.4.4 and
> we have upgraded to MediaWiki 1.6.8.  We migrated from FreeBSD 4.7,
> where MediaWiki ran fine.
> Unfortunately, we're having problems in migrating MediaWiki.  If we
> load in a fresh copy of MW, we get no errors.  However, if we shut
> things down, copy over the MySQL database directories from the old
> box, and restart things, we get:
>   Error in fetchObject(): Got error 1 from storage engine

$ perror 1
OS error code   1:  Operation not permitted

Check permissions on the directories and files... the data dir and its
contents should be owned by user 'mysql'.

Something like this should fix you up:
chown -R mysql:wheel /usr/local/mysql/data

Also make sure that you're copying *all* the files; MediaWiki prefers to
live in InnoDB tables, which by default carry most of their data in the
big ibdata* files, not in the tiny table description files in the
individual subdirectories.

- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the MediaWiki-l mailing list