The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stop cPanel Updating PERL Modules

Discussion in 'General Discussion' started by andy7t, Jan 26, 2006.

  1. andy7t

    andy7t Active Member

    Joined:
    Dec 22, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I need to keep the version of a perl module on my server (SOAP::Lite) at version 0.6.
    Every time i run the cPanel update script (nightly automatically) it upgrades SOAP Lite to version 0.66, and therefore my script does not work. Its not an option to change the script since its not mine, and its a very large API script that registers domains.

    Any idea how to stop cPanel updating perl modules?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    cPanel requires certain versions of perl modules to function correctly and new perl modules need to be kept up to date to maintain the security and integrity of both cPanel and the server has a whole, so preventing updates to perl modules is quite a dangerous thing to do.

    That warning aside, if you set RPMUP=never in /etc/cpupdate.conf then it'll prevent /scripts/rpmup from running which ought to stop the perl modules being updated.

    Perhaps a better solution for you would be to grab the latest perl source from cpan.org and install perl into an alternative path (e.g. /opt) and then install the perl modules you need into that installation and then have the script that requires a particular outdated perl module use that version of perl instead. This would solve the problem of modules being updated along with leaving the "live" version of perl to update as it needs to.
     
Loading...

Share This Page