12 December 2003

Weblog Active Again

Well, this weblog has been inactive since April 2003 now it is active again. You may be glad to know that I didn't drown in a terrible Kayak accident off the south coast of Ireland (as the last entry might indicate). The lack of postings were due to the much more posaic issue of a server migration problem and a lack of time to address this problem. The TSSG external Linux server was re-located to a new server (from Texas to the UK) and as a result MT broke (a Berkeley DB problem). It has taken me this long to fix it, which turned out to be relatively easy. The version of DB on the new machine was 4.0.14, which meant that the .db files it needed (for Perl's DB_File in MT) were Btree (version 8). The files I had were Btree (version 6). Unfortunately, the binary rpm of db on the server did not come with the conversion tools needed to upgrade these files, so this is procedure I used in the end.
  • Find out what version of db is running
    rpm -qa | grep db
  • Download the full source package for that version from sleepycat.org
  • Compile it following instructions in README and INSTALL
  • Use the binary db_upgrade tool to upgrade the .db and .idx files
The problem is that if you cannot access the DB files, everything is broken. For example you cannot login, as your username and password are stored in author.db which cannot be accessed. So expect more postings once I get things tidied up. For good measure I have also upgraded to using an MySQL backend rather than DB. Posted by mofoghlu at December 12, 2003 10:48 AM | TrackBack