Movable Type Installation Error
March 15, 2005 8:50 AM   Subscribe

I managed to install movable type to my server without a hitch, but on the mt-load.cgi page I got a long error...

Loading initial data into system...

An error occurred while loading data:

Unsupported driver MT::ObjectDriver::DBM: Can't locate DB_File.pm in @INC (@INC contains: ./extlib ./lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at lib/MT/ObjectDriver/DBM.pm line 9. BEGIN failed--compilation aborted at lib/MT/ObjectDriver/DBM.pm line 9. Compilation failed in require at (eval 4) line 1. BEGIN failed--compilation aborted at (eval 4) line 1.

Does anyone know what this means? How to fix it?
posted by hautenegro to Computers & Internet (9 answers total)
 
You're missing a Perl module. Either have the sysadmin install it sitewide, or download it from here and follow the INSTALL document for installing it in your home directory.

It is rather odd that your server would be missing that, though.
posted by cmonkey at 8:59 AM on March 15, 2005


Oh, or I guess you could also install a binary package using BSD ports or Yast or aptget or whatever, depending on what OS you're running.
posted by cmonkey at 9:00 AM on March 15, 2005


Response by poster: thanks, I will try that. BTW, I'm using Mac OS 10.3.7 and my web hosting provider has MySQL. Sorry if this seems rudimentary, but I'm trying to learn.
posted by hautenegro at 9:02 AM on March 15, 2005


Have you tried opening a MT help ticket (if you paid for a license) or checking the community forums? Both are very good at answering MT questions, perhaps even better than AskMe.
posted by rhapsodie at 11:22 AM on March 15, 2005


Have you tried running mt-check.cgi to see which module is not installed? Go to www.yoursite.com/cgi-bin/mt/mt-check.cgi (assuming it's installed in cgi-bin)

That should tell you a bit more about what needs to be installed.
posted by madman at 1:38 PM on March 15, 2005


Crap, leave the "mt" out of the path in that one.
posted by madman at 1:38 PM on March 15, 2005


Response by poster: Here's what it says in my mt-check.cgi:

* Operating system: linux
* Perl version: 5.8.0
* (Probably) Running under cgiwrap or suexec

Checking for Required Modules:
HTML::Template (version >= 2)

Your server has HTML::Template installed (version 2.4).
Image::Size

Your server has Image::Size installed (version 2.93).
File::Spec (version >= 0.8)

Your server has File::Spec installed (version 0.82).
CGI::Cookie

Your server has CGI::Cookie installed (version 1.20).
Checking for Data Storage Modules:

The following modules are used by the different data storage options in Movable Type. In order run the system, your server needs to have at least one of these modules installed.
DB_File

Your server does not have DB_File installed, or DB_File requires another module that is not installed. DB_File is required if you want to use the Berkeley DB/DB_File backend. Please consult the installation instructions for help in installing DB_File.
DBD::mysql

Your server has DBD::mysql installed (version 2.9004).
DBD::Pg


Your server does not have DBD::Pg installed, or DBD::Pg requires another module that is not installed. DBI and DBD::Pg are required if you want to use the PostgreSQL database backend. Please consult the installation instructions for help in installing DBD::Pg.
DBD::SQLite

Your server does not have DBD::SQLite installed, or DBD::SQLite requires another module that is not installed. DBI and DBD::SQLite are required if you want to use the SQLite database backend. Please consult the installation instructions for help in installing DBD::SQLite.
Checking for Optional Modules:

The following modules are optional; If your server does not have these modules installed, you only need to install them if you require the functionality that the module provides.
HTML::Entities

Your server has HTML::Entities installed (version 1.29).
LWP::UserAgent

Your server has LWP::UserAgent installed (version 2.001).
SOAP::Lite (version >= 0.5)

Your server has SOAP::Lite installed (version 0.52).
File::Temp

Your server has File::Temp installed (version 0.12).
Image::Magick

Your server has Image::Magick installed (version 5.56).
Storable

Your server has Storable installed (version 2.13).
Crypt::DSA

Your server does not have Crypt::DSA installed, or Crypt::DSA requires another module that is not installed. Crypt::DSA is optional; if it is installed, comment registration sign-ins will be accelerated. Please consult the installation instructions for help in installing Crypt::DSA.
MIME::Base64

Your server has MIME::Base64 installed (version 3.05).
XML::Atom

Your server does not have XML::Atom installed, or XML::Atom requires another module that is not installed. XML::Atom is required in order to use the Atom API. Please consult the installation instructions for help in installing XML::Atom.
Movable Type System Check Successful

You're ready to go! Your server has all of the required modules installed; you do not need to perform any additional module installations. Continue with the installation instructions.
posted by hautenegro at 2:07 PM on March 15, 2005


Are you trying to use the default (Berkeley) database structure? The Berkeley DB module is not installed, you'll have to use MySQL.
posted by kickerofelves at 7:56 PM on March 15, 2005


Yeah, seems like Berkeley DB (db_file) isn't supported, so you'll want to find out what the MySQL connection info is for your account, and enter that into mt.cfg.
posted by anildash at 3:04 PM on March 19, 2005


« Older T-shirt cotton conundrum   |   MFA-filter: photography or writing? Newer »
This thread is closed to new comments.