Movable Type and DreamHost

Movable Type and DreamHost

Posted by: Muhajabah
Posted on: 2002-09-03 11:45:00

I know that there are a fair number of people here who use Movable Type. Has anybody else been having problems with a lot of Internal Server Error (500) messages while running MT recently? I've been getting a lot of them and I know of two other people who are using MT on DreamHost that are having the same problem. Any ideas on what the cause of the problem could be?

http://www.muhajabah.com

Re: Movable Type and DreamHost

Posted by: cwodtke
Posted on: 2002-09-08 09:49:00

I'm seeing the same problem, and they've gotten quite more extreme since I've added plug-ins.

Re: Movable Type and DreamHost

Posted by: nate
Posted on: 2002-09-09 16:49:00


If anybody has these problems, please contact support and PLEASE provide a URL (with any admin usernames/passwords to make it work) that is breaking!

It's really hard for us to figure out what's wrong when you just tell us Movable Type isn't working...it'll save everybody time to send a URL that reproduces the problem!


Re: Movable Type and DreamHost

Posted by: postpose
Posted on: 2002-09-09 17:36:00

I've been working on a new install of Movable Type. Dreamhost is missing a couple of necessary perl modules.

Specifically -- File::Temp is not available at all (though it's optional), and File::Spec is outdated (mt needs 0.8 or later).

I don't know if that's related to the problem in this thread, but it does seem to be an issue with new installs.





Re: Movable Type and DreamHost

Posted by: Muhajabah
Posted on: 2002-09-09 18:45:00

Yes, I had to install those modules myself when I set up MT; however I haven't had any problems with it and I don't think it's related to the current problem.

http://www.muhajabah.com

Re: Movable Type and DreamHost

Posted by: Muhajabah
Posted on: 2002-09-09 18:47:00

I have already been working with DreamHost tech support for sometime. I posted this thread mostly to see if there was anybody else who is having the same problem or if it is just me. I do encourage everybody who is having the problem to submit a support ticket. I have been suggesting this as well at the MT support forums ( http://www.movabletype.org/support )

Thanks for your reply, Nate.

http://www.muhajabah.com

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-27 13:55:00

Hi There-

I currently use Blogger for my site (http://www.gabeanderson.com/life) and just stumbled across Movable Type the other day. It looks really cool and quite a bit more powerful than Blogger. It will be awesome not to rely on Blogger's site for posting, etc. and also to move all my content into a MySQL database.

Anyhow, there are obviously a number of DH users who use MT. I'm wondering if anyone might be able to provide me with a checklist of the best way to proceed in installing MT. (I'm assuming I have to do my own installation, even though some of the libraries might already be on DH, right?)

I'm even having a hard time getting the MT installation package (in GZ format) onto my server. I tried downloading to my Win2K machine, then uploading via WS FTP Pro, but when I went to gunzip MT-2.5-full-lib.tar.gz, I got this error:

[slash]$ gunzip MT-2.5-full-lib.tar.gz
gunzip: MT-2.5-full-lib.tar.gz: invalid compressed data--crc error

(I even ran dos2unix on the file prior to trying the gunzip command.)

I've tried to use wget to download the file directly to slash, but don't know the exact path where the file is on MT's servers. I've also tried to download the file via Lynx, and that didn't work.

So if anyone could please offer guidance on installing MT (starting with the download), I'd really appreciate it. :)

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: will
Posted on: 2002-10-27 14:24:00

You shouldn't run dos2unix on binary files... this may be your problem. dos2unix is used to strip dos carriage returns from text files. You might also make sure that you're uploading in binary mode in your FTP client.

Also, a quicker way to inflate the tarball would be:
% tar xvzf [tarball]
or
% gunzip -c [tarball] | tar xvf -
(the first will only work on systems with GNU tar).

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-27 14:47:00

Whoops! You're right, Will. I guess the dos2unix was screwing things up. I was able to extract the files just fine. Thanks!

If anyone else has input on your experience installing MT, I'd still appreciate it.

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: Jeff @ DreamHost
Posted on: 2002-10-28 14:54:00

> If anyone else has input on your experience installing MT,
> I'd still appreciate it.

Just an FYI, over the weekend I installed Movable Type onto one of our hosting servers and had no difficulties at all. There wasn't anything weird about the install - we already had all of the dependencies installed, so that wasn't an issue. Just follow the instructions (which aren't as clear as they could be) and make sure your permissions are okay.

For what it's worth, I was pretty impressed by it when I got it up and running. Problem is, I don't have an awful lot of use for it right now, but it was an interesting experiment.

- Jeff @ DreamHost
- DH Discussion Forum Admin

Re: Movable Type and DreamHost

Posted by: wil
Posted on: 2002-10-29 01:17:00

Yeah, I installed it yesterday to see what the hype was about, too. :-)

You're right, the installation isn't crystal clear in terms of your config file, but once it was up it looked rather interesting. I'd be interested to see this done 'properly' with an active participant.

- wil

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 09:20:00

Thanks for the input, Jeff and Wil. I'm going to work on the installation today and will keep everyone posted on my experience.

Since I am a rather active blogger, I plan to use MT often (as I use Blogger almost daily now).

-Gabe

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 10:50:00

OK, so I seem to be stuck at the "Checking for Perl Modules"' section of the installation guide:

http://www.movabletype.org/docs/mtinstall.html#checking for perl modules

I'm getting the 500 Internal Error message. I have checked out the troubleshooting for this error (here) and have confirmed that I've done everything on the list - the exception being uploading the file in ASCII text since that doesn't really apply to me since I made no changes locally (rather, I uploaded the entire .gz file to my account, unpacked it there, and made all text changes to the .cgi files there.

I am not able to execute mt-check.cgi. Permissions are set correctly:

[slash]$ cd ../mt/
[slash]$ ls -l mt-check.cgi
-rwxr-xr-x 1 USER GROUP 4621 Oct 29 10:21 mt-check.cgi

Any thoughts?

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 11:08:00

P.S. I currently have the MT files in a secure directory protected by .htaccess, but I also tried running mt-check.cgi in an unprotected directory and got the same results.

Re: Movable Type and DreamHost

Posted by: wil
Posted on: 2002-10-29 12:01:00

You need to CHMOD all mt-*.* files to 0775, too.

Did you check your error_log for the precise details of your 500 error?

- wil

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 12:17:00

Hi Wil-

Thanks for the input. You do mean 755, right? (Not 775.) 755 is what is specified in installation instructions. But yes, all *.cgi files are 755. The only mt file that was not 755 was mt.cfg, but I just changed it and tried again with the same result.

Here's the error message from error log:

Premature end of script headers: /PATH/TO/WEBFILES/mt/mt-check.cgi

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: will
Posted on: 2002-10-29 12:20:00

The directory has 0775 permissions; try changing the directory to 0755. Our default umask is 002 on some machines; you might change it to 022 if you haven't already.

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 12:23:00

Woohoo! That did it. Changing directory to 755 did the trick.

Thanks!

-Gabe

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 13:09:00

OK, so now I'm on to the mt-load.cgi part of the installation and am getting this error:

Re: Movable Type and DreamHost

Posted by: wil
Posted on: 2002-10-29 14:10:00

Did you put your password into the mt-pass.cgi file? I'm not sure of the name of the filename, but there is a file for your MySQL password.

- wil

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 14:12:00

Hi Wil-

Yes, I sure did. The MySQL password file is mt-db-pass.cgi.

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: wil
Posted on: 2002-10-29 14:16:00

The line:

Access denied for user: 'USER@slash.dreamhost.com' to database 'DB_NAME' at mt-load.cgi line 54.

Sounds to me like you didn't specify an username and/or a database name.

Has the database been created manually (through the webpanel?). The software can't do that for you. But you should set your username and database name in there.

- wil

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 15:40:00

Hi Wil-

I actually edited the values for privacy/security purposes (maybe I'm being a bit too cautious?), but the USER and DB_NAME values in the error messages referred to my actual (existing) username and database.

And yes, I am trying to use an existing database and username that I created via the Web panel.

The problem is that the install script isn't reading the DBHost parameter where I've specified the hostname. Rather, it's just looking for my database on Slash, where, of course, it doesn't exist.

Thanks,
Gabe

P.S. Here's the actual error with paranoia removed:

Access denied for user: 'connect@slash.dreamhost.com' to database 'life' at mt-load.cgi line 54.

(Where connect is the existing user on my database life that doesn't exist on Slash but on another host that is not being called by the install script even though it is specified in my config file.)Edited by gabe on 10/29/02 03:42 PM (server time).

Re: Movable Type and DreamHost

Posted by: will
Posted on: 2002-10-29 16:12:00

Does it work if you do:
mysql -hhostname.example.com -uusername -ppassword databasename

from the command line?

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-29 16:16:00

Hi will-

I suspect this is unrelated to MT and more to the move to the new Slash yesterday, but here's what happens:

bash: mysql: command not found

The database to which I'm trying to connect has existed for quite some time and I'd successfully connected to it from the command line (as with other DBs in my account) in the past just fine.

-Gabe

Re: Movable Type and DreamHost

Posted by: will
Posted on: 2002-10-29 16:44:00

> bash: mysql: command not found

fixed.


Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-30 09:14:00

I'm still having no luck running mt-load.cgi, so any additional input would be appreciated.

Thanks!

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-30 10:15:00

Success! The user "connect" did not have CREATE privileges on the database (only SQL-related privileges: select, update, insert, etc.). Duh!

Thanks again to all for your help.

-Gabe

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-30 10:49:00

OK, so my MT installation finished, I've logged into the system, but am experiencing intermittent connection problems to the database, which I think may be related to DH and not to MT since I did see this same error during one connection attempt from the command line:

Got an error: Connection error: Can't connect to MySQL server on 'life.gabeanderson.com' (111)

I see this error when navigating around the MT management interface.

Thanks,
Gabe

Re: Movable Type and DreamHost

Posted by: gabe
Posted on: 2002-10-31 10:21:00

This problem seems to have subsided today and I'm happy to report that all is working well.

Next up: Import all my entries from my Blogger posts. I'll let everyone know how that goes.

-Gabe

Re: Movable Type and DreamHost

Posted by: atacama
Posted on: 2002-11-02 01:07:00

I've been using MT on DreamHost for a couple weeks with virtually no problems. I took notes as I ran through the install so I would be able to repeat it, if necessary. My notes are a very abbreviated version of the official instructions. If anyone wants a copy, email me at robert at the domain in the URL below.

WombatNation blog

I migrated from Radio to Movable Type for two reasons:
1) I'm in the process of switching from Windows to Linux for my main PC, and Radio installs a local server that runs only on a Windows or Mac OS.
2) I want to be able to manage my weblog from my newly RedHatted PC, my Windows laptop at work, and the Mac laptop I will soon be buying. Radio pretty much forces you to manage it from one machine.
Sure, I could get around these issues with tools like WINE and VNC, but switching to Movable Type was just easier.

I used an export tool someone else wrote to extract my blog entries from Radio. It sort of worked. I had to modify the script to get the body to export properly. I still had to recreate the titles by hand. If I had had a lot more than 33 entries, I probably would have spent more time trying to fix the script. The tool is referenced in this thread.

Re: Movable Type and DreamHost

Posted by: pielmorena
Posted on: 2002-11-18 14:50:00

I have been getting Internal Server Errors, though not as often as I was. I sent support an email, with a url and long and password and was told about procwatch.

Did you find a solution?

Re: Movable Type and DreamHost

Posted by: atacama
Posted on: 2002-11-24 00:33:00

I finally posted the notes from my successful install of MT 2.5 at http://www.wombatnation.com/misc/installMTDreamHost.html . The install for 2.5.1 should be the same, other than possibly the MT version number in the file name. I haven't upgraded to 2.5.1, yet.

Tags: internal server errormovable typedreamhostlotrunningmessageshttp