DB_File Error When Installing MovableType

I got ROSS’s email on DB_File Error this morning.

Hi Jian Shuo,

I have seen your instructions for installing Moveable Type on Windows XP and have come across a problem. I have followed the instructions exactly but when I try and install DB_File, I get the error:

PPM> Install DB_File

Install package ‘DB_File?’ (y/N): Y

Installing package ‘DB_File’…

Error installing package ‘DB_File’: Read a PPD for ‘DB_File’, but it is not inte

nded for this build of Perl (MSWin32-x86-multi-thread)

PPM> QUIT

when I run /mt/mt-check.cgi it tells me

DB_File…

Your server does not have DB_File 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.

and when I run /mt/mt-load.cgi it says:

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: c:\inetpub\wwwroot\mt\extlib c:\inetpub\wwwroot\mt\lib C:/perl/lib C:/perl/site/lib .) at c:\inetpub\wwwroot\mt\lib/MT/ObjectDriver/DBM.pm line 9.

BEGIN failed–compilation aborted at c:\inetpub\wwwroot\mt\lib/MT/ObjectDriver/DBM.pm line 9.

Compilation failed in require at (eval 3) line 1.

BEGIN failed–compilation aborted at (eval 3) line 1.

I was wondering whether you would be able to try and help me?

many thanks

Ross

(United Kingdom)

It is a frequently asked question. I have described the steps to install MovableType in this blog: MovableType Successfully Installed on Windows XP, but it seems the DB_File is the place where most of the problems happen. This can be seen from the threads listed below. I even met the same problem when I worked with my technical professional on ISP side to move my host to another machine.

At that time, I feel lucky that I have posted the steps on the web, so others like Samuel Wan have posted his solution to the page. I used the resource and steps he listed and successfully solved the problem. I’d like to thank Mr. Wan to share the tips and would like to summarize the steps.

Steps to install DB_File on ActivePerl 5.6.0

If you see this error message when installing DB_File

PPM> Install DB_File

Install package ‘DB_File?’ (y/N): Y

Installing package ‘DB_File’…

Error installing package ‘DB_File’: Read a PPD for ‘DB_File’, but it is not inte

nded for this build of Perl (MSWin32-x86-multi-thread)

It means the default repository of perl modules does not exist – this may be caused by the upgrade of the website or the perl module. You need to manually install the DB_File.

The installation should be successful. Please post after this thread if you find it work or does not work.

Luoyang, Henan Tour

Now I am sitting on my bed in the city of Luoyang, and attempting to show you the city where I was born and grew up. I hope this page can also reach the first page of search result of key word Luoyang. The reason I think of writing this article to introduce Luoyang is, I am very disappointed to the existing pages on Internet about this wonderful city.

Sight Seeing

I have seen a Luoyang 3-day tour. It includes Luoyang Museum, White Horse Temple, Longmen Caves, and the Shaolin Monastery. This list should be almost complete for must-sees in Luoyang.

If you ask me to be your guide, I will rank the Longmen Caves to be the most attractive spot of scene. Longmen means Dragon Gate in Chinese. There are more than 5000 caves on the maintain and you will be impressed by the trenedous work paid to create such a wonder.

You can also visit White Horse Temple, which is the first buddish temple in China. However, it is not as famous or large as Shaolin Monastery (temple). You can get there very easy by lots of bus lines.

Luoyang has a long and rich history as the captial of 13 dynasties. Therefore, the Luoyang Musuem is very interesting to visit.

Hotel

The best hotel in Luoyang is Luoyang Penney Plaza (4-star). But do set your expectation lower, since I don’t think it met the standard of a 4-star hotel yet. The building was transformed from a office building. Since the building faced leasing challenges in the year of 1995 (or years around it), it is re-positioned as a 4-star hotel. That is the reason you may think it does not look like a hotel.

The second tier of good hotels are New Friendship Hotel, Friendship Hotel. They are the national guest hotel for leaders. You can have a try.

As I know, most visitors will choose the Penney Hotel. It is among the oldest and best hotels before the Penny Plaza opened. It was a 3-star hotel and was upgrated to 4-star in the year of 2000. Here is a nice introduction.

The the newly built Luoyang Grant Hotel (4-star) is also a good choice. It is new and as the introduction said, a foreign-oriented hotel. Its phone is 86-379-4327408.

Again, set your expection low if you come from big cities like Shanghai, New York and London. The hotels are merely somewhere to stay.

Transportation

If you are rich, or you are just a traveller, the best way to go to Luoyang is by air. There is a small airport in Luoyang. By small, I do mean small. There are only 4 flights available in this airport, connecting Luoyang and Shanghai, Guangzhou, Chengdu and Shenzhen.

I do suggest you to fly to Zhenzhou airport first for both facilities and flight availabilities. You can get to Luoyang via Highway in 2 hours. See this blog for my experience to go back from SHanghai to Luoyang via Zhengzhou.

In the city, please go ahead to take taxi. The starting price is 5 RMB. The longest possible distance in the city is 10 – 15 RMB and shouldn’t be higher. So whereever you go, hire a taxi – it is cheap.

Resources

  1. My site of Luoyang

  2. Ctrip’s Luoyang Page
  3. Luoyang airlines

Shanghai – Zhengzhou – Luoyang

There seems hard for move between Luoyang and Shanghai. There is only one airline connecting to two cities. According to my friends, it is a small plane with only 18 seats. I am not sure if it is true or not. But this time, I took the plane from Shanghai to Zhengzhou and then take buses. The reason is that the price of the ticket between Shanghai and Zhengzhou is super low. It was around 800 RMB but this time, I got the price of 430 RMB (Shanghai -> Zhengzhou) and 380 RMB (Zhengzhou -> Shanghai). That is almost 70% off.

It takes 1 hour and 15 minutes from Shanghai to Zhengzhou. There is airport bus line just outside the arrival hall. The price is 15 RMB. After about 40 minute, I arrived in the train station.

At the station, I take the bus from Zhengzhou to Luoyang. It is a luxury bus with tea, W.C. and bus attendants. The drive even dressed up with a tie.

After 2 hours and 30 minutes, I finally arrived in Luoyang. The trip is nice. I forgot to mention that it snowed on the way home.

Going Home

I will go back to my home at Luoyang from tomorrow for the Spring Festival. I am very excited to be back home. It takes about 2 hours to take plane to Zhengzhou, and there are still 2 hours from the airport to home.

I’d like to say “Happy New Year” to all my families and friends. Your care and love makes my life so beautiful. I’d also like to thank all my readers. Hope you have a wonderful new year!

Server Change Caused Site Problems

Below is the traffic graph of the previous days on Jan 24, 25, 26, 27 and 28 (today)

traffic2003Jan.JPG

I can clearly see the decline of visitors to the site from Jan 24 to Jan 25 and it resumed on Jan 28. Why?

The Service Provider Changed IP Address AND Server

The hosting company changed the IP address AND the server of http://home.wangjianshuo.com. It was originally hosted on a server xx.xx.xx.123, and now the server is changed. This caused the domain name and the server not in synch. I am very interested why there is still some hits to my server during that time (Jan 26 – Jan 27).

Best News Photos of 2003

A friend of mine sent me the links to some photos. They called it the Best News Photos of the Year 2003. Yes, they are. The images are beautiful and inspiring. The pictures themselves are better than thousands of words.

Copies used with out explict permission – but news photos and articles are OK to be copied and referenced, I thought. Did I make any legel mistake here?

My Life Begins to be Busy

I am very busy recently. It is the first time I can clearly see what I will be doing in every hour for more than one week. My schedule has been filled till 9:00 AM, Jan 30, 2003.

It is amazing to see how Outlook calendar can help me. My life must be completely in a mass without a calender. Actually, I didn’t use calendar or to-do-list before, but now, it is a must and an essential part of my life. Without a calendar, first, I don’t know what to do, second, I will miss meetings and appoints.

This is a normal Monday. I have created a very nice PPT with my own template. I love the style. It is a horizontal large box on the top, with 20% of it are completely filled with pure red (R255,G51,B0, actually). The rest of completely filled with black. The title is in Tahama size 24 in the black box and with white color. I hope I can share the template with you soon.