Web Hosting Talk







View Full Version : I've killed Control Panel


vays
08-22-2001, 03:34 AM
Hi geeks.
I own a RAQ4 at RackShack and as many of You have decided to upgrade software a bit. I was in need of PERL 5.6.1 and found this "manual" : http://www.webhostingtalk.com/showthread.php?threadid=15047

Now I can see only left and top menu of my Control Panel.

Any help would be great appreciated.

huck
08-22-2001, 10:55 AM
The Perl upgrade is very tedious. You have to install all of the new modules that were in use before or copy those modules to the new module directory. (A shortcut is during the install to tell perl to use the old directory tree as well).

This takes some time and a few cups of coffee.

To start with:
Look in /var/log/httpd/error log.

This should give you the error messages about which modules are missing. You need to cp these modules form the old install tree under 5.0 to the new tree under 5.6.

You can also inspect the site_perl directories to make sure 5.6 and 5.0 are in sync. Also note, that you will have problems with certain graphing features because the GD library used by the Cobalt perl modules no longer supports GIFS. There is an unofficial patch to restore gif support to GD, you may have to try that.

Keep plugging the holes where the modules are missing and eventually your CP will be restored.

vays
08-22-2001, 11:33 AM
Thank You for You reply huck.

I've checked /var/log/httpd/
there 2 error files there : "error" and "adm_error"
First one contains only 404 errors and the second one is too big to download. How could I clean up that log file?

huck
08-22-2001, 01:24 PM
Just use tail to get the last few lines of the file, eg.

tail -n 100 filename

will give you the last 100 lines of the file

vays
08-22-2001, 03:06 PM
[Wed Aug 22 10:18:02 2001] [error] [client 195.131.87.20] Premature end of script headers: /usr/admserv/cgi-bin/.cobalt/alertSignal/alertSignal.cgi
Can't locate loadable object for module Pg in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/i586-linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i586-linux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.6.1/Cobalt/Meta.pm line 202
Compilation failed in require at /usr/local/lib/perl5/5.6.1/Cobalt/Meta.pm line 202.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.6.1/Cobalt/Meta.pm line 220.
Compilation failed in require at /usr/admserv/cgi-bin/.cobalt/siteList/siteList.cgi line 7.

What does it mean "loadable object"? I'vecopied all possible modules to the new folders.

huck
08-22-2001, 03:33 PM
Your missing the Pg.pm module. This might of been in the i386 directory under your original perl install. You have to make sure all of the modules get copied over and to the right spot -- or at least in the include path.

vays
08-23-2001, 07:42 AM
[Thu Aug 23 06:28:12 2001] [error] [client 195.131.87.20] Premature end of scrip
t headers: /usr/admserv/cgi-bin/.cobalt/alertSignal/alertSignal.cgi
Pg object version 1.9.0 does not match bootstrap parameter 1.8.0 at /usr/local/l
ib/perl5/5.6.1/i586-linux/DynaLoader.pm line 225.

I've spend the whole day but I can't do anything with an eror above in DynaLoader.pm there is &$xs(@args);

I've recompiled perl but it didn't help and I can't find version 1.80