perl

  1. M

    SOLVED rpm changelog not showing new Perl Encode 3.12 patch

    In regard to the check command mentioned in Unscheduled TSR 10 August 2021 I've updated my servers to 11.96.0.15 , but when I run the command: rpm -q --changelog cpanel-perl-532-encode | grep "Encode 3.12" There is no output. Just looks like this (but of course with the actual hostname of...
  2. cPanelTabby

    Unscheduled TSR 10 August 2021

    cPanel Perl Encode.pm CVE-2021-36770 Background Information On August 9th, 2021, Perl announced a vulnerability in the Encode.pm Perl module version 3.05. Impact According to Perl development: Porters, I have attached a fix for a bug in Encode, registered as CVE-2021-36770. This bug...
  3. tbutler

    Apache or NGINX FastCGI Support for Perl

    I was surprised to see that cPanel's installation of mod_fcgid doesn't have Perl configured out of the box, given usually cPanel's Perl base. I was able to enable it simply enough, though, by adding `AddHandler fcgid-script .fpl` to the `<IfModule fcgid_module>` declaration in...
  4. tbutler

    NGINX Proxy Breaks Apache Logging and Perl $ENV{'REMOTE_ADDR'}

    After installing ea-nginx, I've noticed that I've lost $ENV{'REMOTE_ADDR'} in Perl (or rather it just shows me the server's IP address and I can't grep my way through the server's Apache error_log because there are no IP Addresses recorded. Is there a cPanel officially supported way to fix this...
  5. P

    Perl version ?

    On a shared server, Perl version is 5.30.0, however it is only version 5.16.3 installed in the /home/..... path. Modules are also installed to the home path, Perl scripts state version 5.16.3, no matter how I have the "shebang" line configured. The following results from a terminal session $...
  6. B

    PERL cPanelUserConfig.pm usage on localhost

    Hi, I've been working at setting up a local development server to give my older sites a refresh. They're coded in PERL CGI. I've got everything working from the DEV environment, but the script reference to "use cPanelUserConfig.pm" isn't something I'm sure how to navigate. It was a...
  7. 4

    Is it safe to remove Perl from yum excludes?

    We have encountered an issue with latest updates on our CL6 servers in that a conflict has arisen with perl-git as a result of perl being in the excludes section of yum.conf. We added this in on the recommendation of cpanel as I understand the perl installation is maintained by cpanel on these...
  8. L

    How to run a basic Perl script?

    I am on a shared host that uses cPanel. My aim is to use ExifTool, which can be installed from cPanel. But with not too much knowledge about Perl I am stuck. What I managed so far: I did a test.pl and put that into cgi-bin - and it worked fine! #!/usr/bin/perl -w print...
  9. Babene7

    Perl module installation fails

    Hi, I'm trying to install the DBD::mysql Perl module but it fails with this error in WHM: Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Sun Sep 8 23:57:35 2019) Tuned C compiler not available because it is not enabled....Done Method: Using cpanminus --> Working on DBD::mysql...
  10. I

    SOLVED Safe to uninstall default Perl Modules?

    Hi cPanel, I noticed today that there are a number of default Perl modules installed along with cPanel/WHM (located under Home > Software > Install a Perl Module) which I'm 50% certain I wouldn't require. Is there any danger from removing them? Does cPanel itself rely on them in any way? I...
  11. G

    Using a symlinked Perl script

    I have several accounts on my server that belong to me. I'm running WHM / cPanel v. 76.0.20 on a CentOS 6.10 xen hvm machine, and Perl v. 5.10.1. (I know, I need to upgrade, but it's a huge pain so I'm procrastinating). In 2014, I set up a lot of my smaller sites to use Perl .lib files on my...
  12. H

    Problem installing Perl Modules

    I'm trying to install a few perl modules on my new cPanel server (Dedicated with root access), but it is failing. The first I'm trying to install is the 'CGI' perl module, but I get the following error in WHM: Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Apr 30 16:38:41...
  13. W

    help with perl syntax in csf.fignore

    Hi all I keep getting the "Suspicious process running under user" email from CSF. I know that I can modify the pignore (ignore process) file in CSF, but for this particular issue, it is relevant only to a specific file - a log file that is taking too long to upload to external backup...
  14. Nicola Urbinati

    SOLVED Perl problems with 78.0.13?

    Hi, I find many lfd warnings with (I think) perl problems, like: /usr/local/cpanel/logs/error_log: Use of uninitialized value $peername in unpack at /usr/local/cpanel/Cpanel/Server/Connection.pm line 289. Use of uninitialized value $ip in pack at /usr/local/cpanel/Cpanel/Server/Connection.pm...
  15. U

    Perl can't find an installed module

    I've got a script that uses the Captcha::reCAPTCHA::V2 module, but Perl can not find the module, even though it's installed in the system. See the attached picture. But when I try to run the script I get: Can't locate Captcha/reCAPTCHA/V2.pm in @INC (@INC contains...
  16. L

    Perl API version v5.24.0 of IO does not match error

    Hi i have managing many cpanel vps and i determined on some servers when navigate to whm/perl modules/ show available module there are many modules to install but on some vps this section is empty i am not sure that. it depends on first cpanel installation parts where it asks for install...
  17. B

    Perl Script Slow

    I have a perl script that runs in an account on my WHM cPanel server that's quite heavy on resources. I've recently got myself a new VPS with more ram, more processors, better network connectivity etc. Initially the script wouldn't work because of a lack of DBD/mysql.pm which I installed...
  18. M

    Perl script not creating file

    Hi all, Could anyone shed some light on where I'm going wrong here? So inside /public_html/cgi-bin/ there is a folder called test. In that folder there is a .pl script that contains the following: #!/usr/bin/perl print "Content-type: text/html\n\n"; open (TEST...
  19. T

    "install common set of perl modules" problem

    When the cpanel server (latest release 68 on CloudLinux 7.4) was installed the admin skipped the "install common set of perl modules" step. A year-old thread here: SOLVED - Install common set of perl modules suggests using "/scripts/perlinstaller Task::Cpanel::Core" which fails with this...
  20. M

    Updating Perl Question

    when i want update server with Yum , I get following error : --> Finished Dependency Resolution Error: Package: perl-Git-1.7.1-8.el6.noarch (installed) Requires: git = 1.7.1-8.el6 Removing: git-1.7.1-8.el6.x86_64 (installed) git = 1.7.1-8.el6 Updated By: git-1.7.1-9.el6_9.x86_64...