perl

  1. H

    Please help "perl: warning: Setting locale failed"

    My server is used Centos 7. After following the instructions on this How to fix "perl: warning: Setting locale failed" , when access SSH through root doesn't see any error: However, I still see the following error message when access through Jailed Shell: ----- perl: warning: Setting...
  2. S

    After account transfer (transfer tool), Perl scripts won't run

    After transferring my main domain using the Transfer Tool, I can't run any Perl scripts from the browser on my main domain. I can log into SSH (Putty) and execute a test Perl script on the account successfully (it outputs the expected text), but the same script generates a 500 error from the...
  3. S

    In Progress CPANEL-42184 - Can't install ImageMagick Perl module on AlmaLinux 8

    I have a new dedicated server running AlmaLinux 8.7.0. ImageMagick 6.9 is installed. When I try to install the Perl module for Image::Magick, it shows version Image::Magick - latest:7.000011 and can't install it. It gets errors at the end: gcc -c -I/usr/local/include/ImageMagick-7...
  4. S

    WHM Perl Module Locations @INC

    I am in the process of migrating from my current cPanel VPS to a new cPanel VPS. My application is using Perl, and thus needs access to the Perl Modules. I have installed all the Perl Modules that are on my current VPS to the new VPS. Many of the Perl Modules that are used in our application are...
  5. G

    Copying files in Perl throws permission error

    Is there a cPanel-related reason why using File::Copy or File::Copy::Recursive within Perl throws an error that permission is denied? I've been working on this for two days and can't find a reason why it's not working, the only thing I can think is maybe there's a security setting on the server...
  6. G

    Unable to run cpan command -- loadable library and perl binaries are mismatched

    Hello, We run CloudLinux 8.5 and we face an issue where we wanted to install a perl module via cpan. I tried via WHM and it failed, I tried running the cpanel command via SSH and I get the following output: [[email protected] ~]# cpan HiRes.c: loadable library and perl binaries are mismatched (got...
  7. outofcontrol

    Perl CGI CPU usage very high over last couple of months - how to troubleshoot

    We have a series of ancient CGI scripts (behind members firewall). Until the last month or so, we never had an issue with these scripts. Now, on a regular basis the scripts appear to get stuck and hog up the cpu, using more and more PIDs. The scripts still seem to be doing what they should, but...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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 $...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...