HendrikM

Active Member
Jun 26, 2004
39
0
156
Hi,

I followed the steps outlined above and perl 5.8.8 installed correctly, but when I do perl -v it still shows 5.8.7?

How do I fix this?
 

cooldude7273

Well-Known Member
Jan 11, 2004
357
0
166
Roswell, GA
Hi,

I followed the steps outlined above and perl 5.8.8 installed correctly, but when I do perl -v it still shows 5.8.7?

How do I fix this?
Did you do what I posted or valuehosted posted?
 

cooldude7273

Well-Known Member
Jan 11, 2004
357
0
166
Roswell, GA
I followed your steps...
Those worked perfectly fine for me. What version number is cPanel showing? - assuming it did install correctly and you followed everything exactly as posted, it should show 5.8.8
 

HendrikM

Active Member
Jun 26, 2004
39
0
156
Perhaps I'm sitting with 2 versions of perl on my server and it is unfortunately using the wrong version?
 

cooldude7273

Well-Known Member
Jan 11, 2004
357
0
166
Roswell, GA
Looking through my history, it looks like I ran /scripts/upcp --force instead of just /scripts/upcp.

Give that a shot.
 

HendrikM

Active Member
Jun 26, 2004
39
0
156
The support chaps at ThePlanet saves my arse again! I love these guys!

John W. - Saturday May 12th, 2007; 4:33 PM CDT
I have moved the perl 5.8.8 binary into the correct location and your system should now use this version by default.

[email protected] [/usr/local/bin]# perl -v

This is perl, v5.8.8 built for i686-linux
 

kernow

Well-Known Member
Jul 23, 2004
1,015
61
178
cPanel Access Level
Root Administrator
What I did was...

login as root and cd to
/root
fetch http://layer1.cpanel.net/perl587installer.tar.gz
tar xfz perl588installer.tar.gz
cd perl588installer
./install

Then run the following to make sure your mods are up to date.


/usr/local/cpanel/bin/checkperlmodules


--Tone
That worked for me, thanks :)
Code:
[~/my-scripts/perl588installer]# perl -v

This is perl, v5.8.8 built for i686-linux
 

Fernis

Well-Known Member
Oct 28, 2006
192
1
168
In WHM if you click on "Module Installers" then nest to Perl Module click "Manage" how many Installed Perl modules do you guys have installed?

Mine is showing:

DBI::Shell 11.91 Update Reinstall Uninstall Show Docs
Devel::PPPort 3.11 Update Reinstall Uninstall Show Docs
Digest::MD5 2.36 Update Reinstall Uninstall Show Docs
ExtUtils::ParseXS 2.18 Update Reinstall Uninstall Show Docs
File::Temp 0.18 Update Reinstall Uninstall Show Docs
Getopt::Long 2.36 Update Reinstall Uninstall Show Docs
List::Util 1.19 Update Reinstall Uninstall Show Docs
Test::Harness 2.64 Update Reinstall Uninstall Show Docs
Test::Simple 0.70 Update Reinstall Uninstall Show Docs
Time::HiRes 1.9707 Update Reinstall Uninstall Show Docs


Is this correct? Seems too few to me.
 

kernow

Well-Known Member
Jul 23, 2004
1,015
61
178
cPanel Access Level
Root Administrator
I'm only showing one more than you ( clam AV )
DBI::Shell 11.91
Devel::PPPort 3.11
Digest::MD5 2.36
ExtUtils::ParseXS
File::Temp 0.18
Getopt::Long 2.36
List::Util 1.19
Mail::ClamAV 0.20
Test::Harness 2.64
Test::Simple 0.70
Time::HiRes 1.9707
 
Last edited:

Fernis

Well-Known Member
Oct 28, 2006
192
1
168
I wonder why you are showing Mail::ClamAV 0.20? I am also using clamav as a WHM connector. Are you using configserver csf or mailscanner or something like that?
 

ShannonS

Member
Nov 22, 2005
14
0
151
with the email errors...

what we did to fix it was go:

Code:
/scripts/eximup --force
/scripts/mailscannerupdate --force
this will for reinstall exim & the command after will configure mailscanner
 

Fernis

Well-Known Member
Oct 28, 2006
192
1
168
Everything is working fine for me with no errors since I upgraded to Perl 5.8.8 a couple days ago.

cPanel actually recommends that this be done if you are running cPanel 11
 

Tam

Well-Known Member
Jul 31, 2004
112
10
168
Personally, I'd modify that first to make sure you download the right version with as well as cleaning up what you downloaded and removing the cached version files in cPanel so they will update to show 5.8.8 instead of what you may have installed already:

What I did was...

Code:
cd /
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -xvzf perl588installer.tar.gz
cd ./perl588installer
./install
cd /
rm -rf ./perl588installer
rm ./perl588installer.tar.gz
rm -f /home/*/.cpanel-datastore/_usr_bin_perl_-v
/scripts/upcp --force
That's how I did it. :)

Just follow those steps above or contact me for help.
Odd! I am seeing the correct Perl version 5.8.8 on most cPanel sub accounts, but others are still showing 5.8.7

I've been through it a couple of times and its still the case - any advice anyone?

thanks.
 

Tam

Well-Known Member
Jul 31, 2004
112
10
168
Odd! I am seeing the correct Perl version 5.8.8 on most cPanel sub accounts, but others are still showing 5.8.7

I've been through it a couple of times and its still the case - any advice anyone?

thanks.

Just seen the problem ...

you said "rm -f /home/*/.cpanel-datastore/_usr_bin_perl_-v"

it should be "rm -f /home/*/.cpanel/datastore/_usr_bin_perl_-v"

now they are all fine.

:)
 

HendrikM

Active Member
Jun 26, 2004
39
0
156
I think my install failed!

I see the following at the end after running ./install:

Mail::SpamAssassin is up to date (3.002000).
perlmod--Install done
Configuring perl magic....install: cannot stat `cPanelUserConfig.pm': No such file or directory
gcc: perl-wrapper.c: No such file or directory
gcc: no input files
Install Failed

On
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off
[email protected] [/home/SRC/perl588installer]#
PLEASE HELP!
 

HendrikM

Active Member
Jun 26, 2004
39
0
156
Just seen the problem ...

you said "rm -f /home/*/.cpanel-datastore/_usr_bin_perl_-v"

it should be "rm -f /home/*/.cpanel/datastore/_usr_bin_perl_-v"

now they are all fine.

:)
I had to run both as some user directories contained both stuctures...
 

nightfall_sg

Active Member
Apr 15, 2004
39
0
156
cPanel Access Level
Root Administrator
Thanks cooldude and valuehosted.

It worked for me!:)

cooldude 7273;307404 said:
Personally, I'd modify that first to make sure you download the right version with as well as cleaning up what you downloaded and removing the cached version files in cPanel so they will update to show 5.8.8 instead of what you may have installed already:

What I did was...

Code:
cd /
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -xvzf perl588installer.tar.gz
cd ./perl588installer
./install
cd /
rm -rf ./perl588installer
rm ./perl588installer.tar.gz
rm -f /home/*/.cpanel-datastore/_usr_bin_perl_-v
/scripts/upcp --force
That's how I did it. :)

Just follow those steps above or contact me for help.
 

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
Hi guys

I got this straight from a cpanel supporter - so it should work.
(! added point 1a to it from your discussion)

It is basically 7 steps, which is quite easy to ensure seamless update.

1a. - rm -f /home/*/.cpanel-datastore/_usr_bin_perl_-v

1. wget http://layer1.cpanel.net/perl588installer.tar.gz
2. tar -zxf perl588insaller.tar.gz
3. cd perl588installer
4. ./install
5. rm /usr/local/cpanel/3rdparty/bin/rrdtool
6. /scripts/rrdtoolinstall
7. /etc/init.d/cpanel restart
--
Russell Rademacher
cPanel
Customer Support Representative - Level 2
Hope that helps you..

cheers
Andy