ConfigServer Scripts Forum

View unanswered posts | View active topics It is currently Wed Sep 08, 2010 5:54 pm



Reply to topic  [ 8 posts ] 
 Premature end of script error 
Author Message
Junior Member

Joined: Mon Aug 13, 2007 1:42 pm
Posts: 3
Post Premature end of script error
I've noticed the following error on a few servers I have running cPanel 11.24.0-C30863

(internal death while parsing [stdin]) Fri Nov 7 15:19:26 2008 [23164] error: Undefined subroutine &main::pwcheckos called at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi line 19.
at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi line 19


Undefined subroutine &main::pwcheckos called at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi line 19.
Internal Error: "GET /cgi/addon_cmm.cgi HTTP/1.1" Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi: Please check <b> /  usr /  local /  cpanel /  logs /  error_log </b> for the exact error.


Fri Nov 07, 2008 9:22 pm
Profile
Moderator

Joined: Sat Dec 09, 2006 11:49 pm
Posts: 381
Post 
You need to upgrade the script manually:

rm -fv cmm.tgz
wget http://www.configserver.com/free/cmm.tgz
tar -xzf cmm.tgz
cd cmm
sh install.sh


Fri Nov 07, 2008 10:13 pm
Profile
Junior Member

Joined: Mon Aug 13, 2007 1:42 pm
Posts: 3
Post 
Thank you, all fixed


Sun Nov 09, 2008 1:05 am
Profile
Junior Member

Joined: Mon Jun 16, 2008 12:40 pm
Posts: 7
Post Similar error
I'm having similar problems...

Quote:
Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi


What do I need to do... thanks!


Wed Dec 17, 2008 2:32 pm
Profile
Moderator

Joined: Sat Dec 09, 2006 11:49 pm
Posts: 381
Post 
Reinstall cmm as per my instructions above.


Wed Dec 17, 2008 5:37 pm
Profile
Junior Member

Joined: Mon Jun 16, 2008 12:40 pm
Posts: 7
Post 
Thanks, that appeared to do it.


Wed Dec 17, 2008 6:01 pm
Profile
Junior Member

Joined: Thu Feb 08, 2007 10:42 pm
Posts: 4
Post 
OK just updated clam Av and now get the error
Quote:
Premature end of script headers:
/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi: Please check / usr / local / cpanel / logs / error_log for the exact error.
Premature end of script headers:
/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi: Please check / usr / local / cpanel / logs / error_log for the exact error.
Running cPanel 11.24.4-S35075 - WHM 11.24.2 - X 3.9
Also have tried the above and still get the response - any ideas


Mon Apr 06, 2009 12:32 am
Profile
Moderator

Joined: Sat Dec 09, 2006 11:49 pm
Posts: 381
Post 
This thread is about cmm, not cmq. To reinstall cmq do the following:

Code:
rm -fv cmq.tgz
wget http://www.configserver.com/free/cmq.tgz
tar -xzf cmq.tgz
cd cmq
sh install.sh


blinddog wrote:
OK just updated clam Av and now get the error
Premature end of script headers:
/usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi: Please check / usr / local / cpanel / logs / error_log for the exact error.
Running cPanel 11.24.4-S35075 - WHM 11.24.2 - X 3.9
Also have tried the above and still get the response - any ideas


Mon Apr 06, 2009 7:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.