Installer creating corrupt perl on centos 4.3

frawg

Registered
May 18, 2006
3
0
151
Hi Folks,

Well it seems that the installer has managed to make a corrupt CPAN module :(. I can downgrade cpan and it works fine. But everytime i try to restart the installer it dies. This is happening when it tries to build GD.

All i'm getting is plenty of .....

When i check the process list i see

root 24183 0.0 0.0 3428 4 ? S May20 0:00 sh gd
root 24184 0.0 0.1 7628 540 ? S May20 0:00 /usr/bin/perl /usr/local/cpanel/bin/checkgd
root 12872 0.0 0.0 0 0 ? S May20 0:00 [pdflush]
root 12946 0.0 0.3 6896 1604 ? S May20 0:00 /usr/bin/perl /scripts/installgd
root 12947 0.0 0.0 0 0 ? Z May20 0:00 [checkgd] <defunct>
root 12948 0.0 0.0 0 0 ? Z May20 0:00 [checkgd] <defunct>
root 12960 0.0 0.2 2796 1372 ? S May20 0:00 /usr/bin/expect -- /scripts/expectperlinstaller Tree::MultiNod
root 12961 0.0 0.2 2796 1372 pts/1 Ss+ May20 0:00 /usr/bin/expect -- /scripts/expectperlinstaller Tree::MultiNod
root 12962 0.0 0.1 3248 860 pts/1 S+ May20 0:00 sh -c /bin/stty sane < /dev/pts/1
root 12963 0.0 0.0 2256 328 pts/1 S+ May20 0:00 /bin/stty sane


Now when i try and upgrade Tree::MultiNode, GD and GD::Graph i get this:-

Attempt to free unreferenced scalar: SV 0x902e144 at /usr/lib/perl5/5.8.7/CPAN.pm line 13.

Any ideas?

Also is their a guide on what to select with the centos installer? Not sure i selected the right options.

Cheers,
Kris
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
You should only use the minimal server installation of the OS and nothing more.

AS for the perl issue - are you installing on the x64_86 version of CentOS? If so, I would strongly recommend not doing so and installing the 32bit version instead otherwise you're going to have an unstable system (search further on the forums regarding this).

If you are running 32bit, then that's an odd error.
 

frawg

Registered
May 18, 2006
3
0
151
It was the 32bit version.

I put it down to the installer crashing twice and never being able to recover properly. I just ended up formatting and reinstalling. (Might have also been because i didn't do a strictly minimal install).
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
I've the same exact issue on CentOS 5 x86_64 server edition.
I have tried to install the server with minimal stuff and them yum to get the rest, but it was just the same result.

This is my uname output, could this be some kernel issue?
Linux xxxx.servidor.net 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux