Help - Search - Members - Calendar
Full Version: Perl Core Problem
The Planet Forums > Control Panels > Plesk
hoster2
How can I re install the Perl Modules that may have been deleted or ?
I am running a install script for a program and it hangs at this point:
Checking for core Perl modules:
CGI::Cookie... CGI... Exporter... Socket... Data::Dumper... Fcntl... SelfLoader... CGI::Carp... LWP::UserAgent...

Well there is something missing here or ?

It will not complete the install it stops at this point.

So how can one reload the perl modules only that were on the sever install to start with.

And if you can will it screw up anything else?

Help is needed..

Rich


icon_sad.gif
winston
If all else fails, rpm -e the Perl package, then download it again from ftp.redhat.com and re-install using rpm -Uvh.

There's probably documentation on the process at http://www.redhat.com

Alternately, you can build Perl from source (I did it to upgrade to Perl 5.6 on a RaQ2).
hoster2
Hello Winston,

Can you be just a little more simpler on what has to be done?
This is on a RS Linux box.
Well anything happen to the Plesk that is installed?

Rich
winston
Well, having never had to uninstall Perl, all I can really give is generic Redhat instructions :-]
The best thing to do is look around RedHat.com - there should be documentation on the various RedHat packages including how to install/uninstall things with the "rpm" command. Basically, rpm -e removes a package, and rpm -Uvh installs a package (as well as checking for pre-reqs).

I don't use Plesk - so I can't tell you how it will affect Plesk (IIRC Plesk uses PHP, but you'll have to get a Plesk user to confirm that). I'm a macho command line dude :-)

RedHat.com has a search facility for packages. Look for packages for the RedHat 7.1 release which is what we use.

One thing I can suggest - really make sure that it's Perl that's broken and not whatever it is you're trying to install (otherwise reinstalling Perl won't really help you). It does sound like the installer for whatever it is you're installing is broken; most installers won't hang when they find a prerequisite missing - they'll complain instead with a meaningful error message (like "wibble.pm is not installed"). Make sure you check out the website for whatever it is you're installing - you might be running into a known bug (Also check the README and INSTALL files). And at the same time, check redhat.com in case the program you're installing has an RPM file (which makes installation easy).
hoster2
Hello again

Basicly what package am I un installing and re installing, is it one rpm or many?
kotuadam
to insatall a perl module extract the zipped file to a folder on the server and read the installation file in the zipped file..
It is almost something like this:

make
install

with this command you will be able to install it.. There are also some softwares that installs modules easly.. I strongly recommend you webmin.
With webmin you will be able to edit all server like cron files,emails,sites,cgi / perl,servers,etc...

You must install it on your server it is very easy to setup..

http://www.webmin.com
hoster2
I found the problem several days ago, there was a module called URI that I deleted by mistake.
All fixed now, thanks all.


icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.