perl

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. D

    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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. F

    [CPANEL-23475] 3rd Party Perl Module Install Location

    When installing Perl modules to be used by cPanel's 3rd Party Perl, I use the following command: /usr/local/cpanel/3rdparty/perl/524/bin/cpan -i List::Compare However, the modules get installed here: # perldoc -l List::Compare /home/user/perl5/lib/perl5/List/Compare.pm Why is that? I get...
  17. F

    Restoring System Perl Modules

    Well, I hate to have this be my first post here, but I have a problem of my own making. I believe I may have over-written some system Perl (5.8.8) modules. I had installed perlbrew to be able to use Perl 5.26.1 and when I couldn't get it to install a module, I used the wrong command path for...
  18. R

    Perl files wont open, give 404

    I have a vps running whm and cpanel. CENTOS 6.9 kvm whm v66.0.23 easy apache 4 No .pl files will run, but instead return an error 404. whether or not they are in the cgi-bin directory. Text files that are in the cgi-bin also give a error 404. I have checked permissions. The cgi-bin...
  19. D

    SOLVED Installing Perl Module DBD::ODBC

    Can anyone who has installed the perl module DBD:ODBC on a centos cpanel server supply a step by step? Looks like an ODBC 'Driver Manager' needs to be installed first. So I take it I'll need to install unixodbc package. Then indicate where it is installed by setting the ODBCHOME variable. Is...
  20. M

    Error Can't open perl script

    Hi, Some customers are complaining they are getting in the default mailboxes an email from cron: Can't open perl script "/usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl": No such file or directory I can´t find under /usr/local/cpanel/3rdparty any software that has this...