As is usual with cPanel another thing has become broken, this time however it is pretty serious. It appears that somebody borked the entire perl setup within cPanel which obviously is a very quick way at ruining cPanel. At this time there is apparently a fix in edge, though I have no want to test it when you can fix it manually. The fix is luckily pretty easy simply run:
perl -MCPAN -e shell
and just hit enter a whole lot of times when it comes up with the perl configuration. I usually select "EUMM" then 5 (north america) 4 (USA) then any random number you see listed for a mirror. After that point you should be good to go and perl should be working.
If you are still having trouble with perl not working then take a look at:
http://www.eth0.us/net-aim-pm
it has some more fixes. Between these two pages I have been able to fix every server so this should work fine. The one it did not I had to completely rpm -e perl and reinstall it.
To reinstall:
up2date --get perl
cd /var/spool/up2date/
***MAKE SURE THIS WORKS!!!***
rpm -e perl-5.8.0 --nodeps
rpm -Uvh perl-5.8.0-90.4.i386.rpm
then go back to the top of this page and do the perl -MCPAN -e shell thing again...
Finally remember how much we all love cpanel bugs ;)
didnt Work
I tryed
root@matrix [/var/spool/up2date]# perl -MCPAN -e shell
Undefined value assigned to typeglob at (eval 20) line 15, line 11.
Warning [/etc/inputrc line 11]:
Invalid variable `mark-symlinked-directories'
cpan> quit
Lockfile removed.
What can be this troble?
perl
I have had to remove and reinstall perl on 2 servers to get it working properly, you may have to do that. Look at the info lower in the page and it shows you how to remove it and reinstall.
YES!!!
wow, you are right, no all is fine, thanks a lot :)))
great
=-D Great to hear
ok~~
ok~~