perl

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. L

    SOLVED WHM did not find perl modules

    I try to search perl module before install it using WHM > Install a Perl Module interface(“Perl Module” Installer): Enter "Algorithm::NaiveBayes", for example, click "Go": "No results match your query." But I see all modules when I click "Show Available Modules" cPanel & WHM 64.0 (build 22) I...
  15. S

    Running cronjob written in Perl

    I am currently attempting to run a perl script from cron: perl /home2/myuser/public_html/adir/perlscript.pl >/dev/null 2>&1 And it's not running. It's in the crontab and runs fine from cmd line when ssh'd in ie. perl /home2/myuser/public_html/adir/perlscript.pl Thoughts?
  16. L

    Installing Perl Modules Question

    Just a question. Is it CPanel support help resolve a problems with 3td party software installation. I have troubles with installing some perl modules and libraries for its. Can I open ticket about it? Or it's not appropriate?
  17. K

    Perl Script running through cPanel

    Hi all Hope im in the right place - apologies for a possibly a simple query - very green to this Im trying to run the following perl script piwigo.org/doc/doku.php?id=user_documentation:tools:piwigo_import_tree the script (Ive named it .pl) but essentialling contains the following perl...
  18. M

    perl dependency issue in WHM 62

    After upgrading to WHM 62 I can´t update percona-toolkit RPM: Resolving Dependencies --> Running transaction check ---> Package percona-toolkit.x86_64 0:3.0.1-1.el6 will be installed --> Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-3.0.1-1.el6.x86_64...
  19. Rodrigo Gomes

    SOLVED Install common set of perl modules

    I am trying to install the common set of perl modules on a server already configured using the "/scripts/checkperlmodules" command. But then I get the following error: # /scripts/checkperlmodules bash: /scripts/checkperlmodules: File or directory not found I saw this command in:
  20. A

    File is not a perl storable error

    My VM was taken offline yesterday due to an issue at my provider. My understanding is the VM was manually moved to a different storage layer because of an underlying fault. Since it came back online the following error is being repeatedly logged here...