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
Backtrace:
* GlobalFunctions.php line 451 calls wfbacktrace() * Database.php line 520 calls wfdebugdiebacktrace() ... * GlobalFunctions.php line 322 calls wfmsggetkey() * GlobalFunctions.php line 288 calls wfmsgreal() * index.php line 77 calls wfmsgforcontent()
Suggestions?
-r
-----BEGIN PGP SIGNED MESSAGE----- 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)
mediawiki-l@lists.wikimedia.org