| FAQ/MovableType |
UserPreferences |
| cornerhost wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
/usr/bin/perl
You need to set the "DBHost" line in the mt.cfg to db.sabren.com, otherwise it'll try to connect to a local MySQL server.
This can happen if the database gets corrupted or if you're moving from a new host.
If you don't have a shell account, you probably can't fix this yourself, so email for help. Here's how I fix it:
# to find the broken db's:
cd mt-db-directory
find . -name '*.db' -exec 'db_verify' '{}' ';'
# how to recover, assuming the broken file is comment.db db_dump -r -f comment.data comment.db mv comment.db comment.db.old db_load -f comment.data comment.db chown apache:apache comment.data chown apache:apache comment.db chmod 666 comment.db db_verify comment.db db_verify comment.db.old
Unfortunately, renaming mt-comment.cgi only works for a short while. Jay Allen's
Blacklist is a good tool. If you use a MySQL backend for MT, you can use
Close Comments plugin to close comments on old entries. This is probably the most effective strategy. If you cannot use the plugin, closing comments on old entries manually is highly recommended.