Page 1 of 2

Internal Server Error

Posted: 13 Jun 2008, 11:38
by ikaruz
Hi

We are receiving this error when running CMQ

Internal Server 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.
cpsrvd/11.23.1

Our server specs
WHM 11.23.0 cPanel 11.23.3-R25133
CENTOS Enterprise 4.6 i686 on virtuozzo - WHM X v3.1.0

eeror_log says:
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi line 13.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi line 13.
Internal Error: "GET /cgi/addon_cmq.cgi HTTP/1.1" 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.

Posted: 13 Jun 2008, 17:20
by ckh
Try reinstalling perl, I had the same error on a couple servers.

Posted: 13 Jun 2008, 17:30
by ikaruz
Thankis Cris, but don't imagine why te same error on all servers with all config servers scripts. I really don't want to reinstall perl in all of our boxes
If anyone at configservers could look at this issue ... because is afecting all of their scripts

Posted: 13 Jun 2008, 18:12
by ckh
I don't think it has anything to do with the configserver scripts, I think it has to do more with a upcp

One other problem I had was phpmyadmin access within cpanel for an affected server. I was also getting an error message from the cpanel hourly cron.

More than just the configserver scripts were affected so you may just have to bite the bullet and reinstall perl.

Posted: 13 Jun 2008, 18:26
by ikaruz
Maybe I was not clear, I'm not blaming configserver for the error.
But at this time the only affected scripts are configservers WHM plugins.

I'm totally sure that the problem is a "collateral damage" of upcp, so I was expecting that Chirpy or other configserver staff may see the error and tell more about it

Posted: 13 Jun 2008, 18:39
by ckh
Well, if reinstalling perl fixes it, then it's a cpanel problem and you will need to reinstall it on all your servers anyway.

Try it on one box. If it doesn't work, then you haven't lost much time. If it does work, then you'll need to do it to all your boxes and I don't think there's going to be any other solution.

The configserver scripts is the 'visible' problem on your servers. I have logview installed and it was showing the same error. There were other indications, like the phpmyadmin access via cpanel although whm phpmyadmin worked fine, the hourly cron.

You posted a problem, I had the same incident, I posted my solution. I don't know what more you are looking for.

Posted: 14 Jun 2008, 09:23
by nabuhonodozor
Hi,
Ive got info from ServInt NOC "This is because cPanel accidentally downgraded everyone to perl 5.8.5. I have begun reupdating you to 5.8.8" and reupdating fix this issue.

best regards,
Piotr

Posted: 14 Jun 2008, 22:28
by Lucas
Yeah, I also noted this one a couple of our customers servers. cPanel should be more careful with that.

Posted: 15 Jun 2008, 17:41
by shacker
Reading through these forum posts, I'm seeing three options/suggestions:

- Re-upgrade perl
- Re-run the CSF installation script (which is where, by the way?)
- Change the cPanel update settings

Is there a "recommended" approach to get this fixed? Thanks.

Posted: 16 Jun 2008, 19:56
by shacker
Looks like this got fixed automatically in the next night's system update.