Help - Search - Members - Calendar
Full Version: System Information Cant Find Mt-check.cgi
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
gilzow
I've searched but can not locate any information related to this issue. If this is not a bug, and hence, in the wrong forum, please move.

Set-up:
QUOTE
Movable Type version: 4.1
Operating system: linux
Perl version: 5.8.5
CGI::Cookie
Your server has CGI::Cookie installed (version 1.20).
File::Spec (version >= 0.8)
Your server has File::Spec installed (version 0.87).
Image::Size
Your server has Image::Size installed (version 2.93).
CGI
Your server has CGI installed (version 2.80).
DBI (version >= 1.21)
Your server has DBI installed (version 1.40).
DBD::SQLite
Your server has DBD::SQLite installed (version 1.14).
DBD::SQLite2
Your server has DBD::SQLite2 installed (version 0.33).


SQLite is version 2.8.17. Also running suExec.

In my System Information page, it states
QUOTE
Movable Type could not find the script named 'mt-check.cgi'. To resolve this issue, please ensure that the mt-check.cgi script exists and/or the CheckScript configuration parameter references it properly.

I've checked, and the mt-check.cgi file is available and in the correct location. It is also accessible via browser (ie http://domain/mt/mt-check.cgi). I ran across this changelog where it says
QUOTE
We have implemented a new configuration directive called "CheckScript" which can be used to point to a new or renamed version of the script. So for security purposes, users wishing to use the System Information section of the application can rename their mt-check.cgi script and point the CheckScript configuration directive at it like so: "CheckScript mt-mycheck.cgi"

I renamed the mt-check.cgi file and added the CheckScript configuration directive to my mt-config.cgi file, but the Systems Information page still states it can not locate the file.

Any suggestions?
gilzow
Should I submit this as a bug as well?
OtherNiceMan
It is certainly strange, working ok on mine.

Can you post your mt-config.cgi xxx any confidential info.
gilzow
QUOTE (OtherNiceMan @ Apr 22 2008, 07:37 PM) *
It is certainly strange, working ok on mine.

Can you post your mt-config.cgi xxx any confidential info.


Certainly.

QUOTE
#======== REQUIRED SETTINGS ==========

CGIPath http://webcom.missouri.edu/mt/
StaticWebPath http://webcom.missouri.edu/mt/mt-static/
StaticFilePath /sites/umcuawebcom/www/mt/mt-static

#======== DATABASE SETTINGS ==========

ObjectDriver DBI::sqlite
Database /sites/umcuawebcom/mtdb/mt.db

#======== MAIL =======================

MailTransfer sendmail
SendMailPath /usr/lib/sendmail

DBUmask 0022
HTMLUmask 0022
UploadUmask 0022
DirUmask 0022
# CheckScript mt-Xuc7E.cgi


As you can see, I've commented out the CheckScript configuration directive, and renamed the check file back to mt-check.cgi. It is viewable at http://webcom.missouri.edu/mt/mt-check.cgi
liberal art
I'm having this same issue.

below is my mt-config:

QUOTE
#======== REQUIRED SETTINGS ==========

CGIPath /cgi-bin/mt/
StaticWebPath /mt-static/
StaticFilePath /var/www/vhosts/XXX/httpdocs/mt-static

#======== DATABASE SETTINGS ==========

ObjectDriver DBI::mysql
Database XXX_mt
DBUser XXX
DBPassword XXX
DBHost localhost

#======== MAIL =======================

MailTransfer sendmail
SendMailPath /usr/sbin/sendmail


I've got a bunch of other sites running with identical settings and this one was fine till recently...
milksheikh
I had this problem, which I tracked down to using htpasswd authentication protecting the mt/ directory (well, the whole site actually). The system information is generated by MT loading the mt-check.cgi URL (http://[yourserver]/[mtpath]/mt-check.cgi) and parsing (prettifying) the results, so if its access to that URL is blocked, then it fails with this message.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.