Hello.
We are evaluating blog software for company wide use. MT is our first product under eval.
Having eventually installed all dependencies and MT4.21 (open source edition) on a RHEL4 machine I am confounded by a problem which I am unable to resolve without assistance.
Here's what happens.
When GETting : /cgi-bin/mt/mt.cgi am redirected to: /cgi-bin/mt/mt-upgrade.cgi?__mode=install
I then complete the "create an account" form which seems to work OK. My SQlite db file grows in size and I get to the next screen.
'Create your first blog'. Leaving the default suggested values for, 'my first blog', the next screen loads, 'Initializing database'.
It shows the following, and then stops.
* Upgrading table for MT::Entry::Meta records...
* Upgrading table for Entry records...
* Upgrading table for Category Placement records...
It just hangs at this point.
If I go back and try again, I get a Server 500 error.
Inspecting the Apache error.log shows the CGI error message, "Premature end of script headers: mt-upgrade.cgi"
If I go back and try again with a completely different blog name and path, I still get Servlet 500 errors.
If I delete the SQLite db file, I can go back to /cgi-bin/mt/mt.cgi, repeat the steps above and make the 'initializing database' screen hang screen once again.
e.g. it hangs the first time, then on subsequent attempts the CGI breaks with Server 500.
For the purposes of eliminating file permissions, I have tried this with chmod 777 -R /var/www/cgi-bin and /var/www/html and /var/sqlite
No change.
There's nothing useful in /var/log/messages or httpd/error.log except the "premature end of script headers: mt-upgrade.cgi" message.
Please help, what do I look at next?
many thanks
Richard
-----------------------------------------------------------------------
Server setup is as follows:
MT4.21-en/Apache2.0.52/RHEL4
Perl5.85 + DBI + DBD-SQLite + Sendmail.
************** mt-config.cgi ******************
#======== REQUIRED SETTINGS ==========
CGIPath /cgi-bin/mt/
StaticWebPath /mt-static/
StaticFilePath /var/www/html/mt-static
#======== DATABASE SETTINGS ==========
ObjectDriver DBI::sqlite
Database /var/sqlite/mt.db
#======== MAIL =======================
MailTransfer smtp
SMTPServer mail
