All Questions
27 questions
1
vote
2
answers
361
views
Not able to install/compile perl module DBD::DB2 on Rocky Linux 9.4 with cpanm
I'm trying to install/compile the DBD::DB2 perl module on rocky linux 9.4 with the cpanm commando but it is not working.I tried even On RHEL and Oracle Linux but is not working anyway.
I get the ...
1
vote
1
answer
469
views
How to set a env for perl 5.36 binary in linux
We have RHEL 8.6 server and the perl is by default installed when we installed the RHEL. PERL version is 5.8.9. we need to install PERL 5.36. so we are trying to install the same. downloaded PERL ...
0
votes
1
answer
935
views
Yum dependency I'm trying to install doesn't have a provider
One of the dependencies of the rlwrap package I'm trying to install doesn't have a provider. Is there a command line option I can pass to the install to let it forget about the perl(File::Slurp) ...
1
vote
0
answers
1k
views
500 Can't connect to localhost:443 (certificate verify failed)
sub getTracker
{
my ($self) = @_;
my $url = HOST() . $URIFromSTDIN;
my $req = HTTP::Request->new(GET => $url);
$req->header('Accept', 'application/xml');
...
0
votes
1
answer
2k
views
Unable to upgrade Perl 5.8 to 5.16 in RHEL 7.6
6 and am unable to upgrade my machine from 5.8.9. When I install using yum install perl, it says successfully installed, but when I check version it is still the old one. I need the version to be 5.10 ...
3
votes
3
answers
2k
views
How To Install Perl 5.30 in RHEL 7.7 Docker container
I want to install Perl v5.30 in my RHEL 7.7 container image.
So i tried
#yum install -y perl
perl-5.16.3-294.el7_6.x86_64 already installed and latest version
I'm able to install perl-5.16.3. But ...
2
votes
0
answers
612
views
Issues connecting to server with sslv3 disabled in legacy perl
As the title says, I'm attempting to POST some JSON to a REST API using a pretty old version of perl, specifically 5.10.1. I'm working in a pretty old legacy codebase on RHEL 6. The handshake fails ...
1
vote
1
answer
2k
views
Simple cgi script fails with permission denied error
Perl CGI script fails with
Can't locate /home/testdir/first.pl: /home/testdir/first.pl:
Permission denied at /var/www/cgi-bin/first.cgi line 2.
and
End of script output before headers: first....
2
votes
1
answer
437
views
Perl code crashes after upgrading from rhel6 to rhel8
I have been migrating from a rhel6 server with Perl 5.10 to a server with rhel8 and perl 5.24 and 5.26.
Everything works fine except one Perl program crashes executing a warn statement.
Using the ...
3
votes
0
answers
265
views
Move a Perl script with dependencies from one computer to another
I have a Perl script on an old RHEL4 x86_64 Linux computer. This script runs only on this computer, and we'd like to run it on other Linux computers. The issue is there are a ton of Perl .pm and .xs ...
1
vote
3
answers
329
views
can compiled perl v5.28.0 from src (with gcc 4.8.5) run on RHEL 5.5?
My question is about whether if it would be possible to run a compiled perl 5.28.0 from source (with GCC 4.8.5 on CentOS 7) to be able to be used on RHEL 5.5 (Tikanga) where GCC version is lower and ...
1
vote
1
answer
764
views
Protocol error when using Net:SSH:Perl module
I have a script that uses Net::SSH:Perl module. It is able to ssh to RHEL6.9 hosts but not RHEL7.4 hosts. I get the following error:
Protocol error: expected packet type 91, got 80 at /Net/SSH/Perl/...
1
vote
2
answers
1k
views
Cannot install Red Hat git
I have a strange situation that I cannot install git on my new Red Hat Enterprise Linux 7.5 64-bit platform
$> yum install rh-git29
I get this:
Loaded plugins: product-id, search-disabled-...
1
vote
1
answer
1k
views
Can't locate object method "exchange" via package "Net::SSH::Perl::Kex::C25519" at /usr/local/lib64/perl5/Net/SSH/Perl/Kex.pm line 107
I have been using the SSH package of Perl to connect to my RHEL systems. I recently upgraded one of my VM to redhat-release-server-7.2-9.el7.x86_64.
Now when I am running my Perl script it is throwing ...
0
votes
1
answer
281
views
cpanspec option --filter-requires fails to remove :MODULE_COMPAT
I would like to make a rpm which can install on RHEL5,6 and 7.
[p4474668@rhel7dev source]$ cpanspec webmin-ajax-0.00.tar.gz -d '' --force --filter-requires 'perl(:MODULE_COMPAT_5.16.3)' -b
(... lots ...
0
votes
1
answer
55
views
how to specify arguments to unix command in perl
I am trying to find the processes which are not running through perl. It works for some processes using following code but not for cgred service.
foreach $critproc (@critarray)
{
#system("/...
5
votes
1
answer
8k
views
How to resolve libpcre.so.1()(64bit) dependency in amazon linux ami
When try to install maxscale, it ask libpcre. How to install libpcre
on linux?
rpm -ivh maxscale-1.4.3-1.rhel.7.x86_64.rpm
warning: maxscale-1.4.3-1.rhel.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, ...
0
votes
1
answer
124
views
Different mail from shell script and cron running the script
I have a perl script that executes a command. I am saving the output of this command to an array and checking the content on the output to mail me a success or a failure message.
This works fine ...
0
votes
1
answer
193
views
Issue regarding Perl @INC path upgrade at build time
I am trying to migrate from Perl 5.8.8 to Perl 5.10.1. (Basically RHEL 5 to RHEL 6.6 )
As per the install documentation provided by perl, at the time of configuring perl we can use "-Dotherlibdirs" ...
0
votes
2
answers
802
views
Very simple perl script has massive memory leak
I'm using a perl script to transform a file and found just reading from stdin and writing to stdout is enough to cause a massive memory leak. It gets up to around 20gig and I presume gets killed by ...
1
vote
1
answer
94
views
Perl processes disappears after some days
I have a perl file (test.pl).
It will work in recurring manner.
The purpose of the file is send emails from DB
Following is the code in test.pl
sub send_mail{
$db->connect();
# Some DB ...
0
votes
1
answer
2k
views
Perl DateTime::Locale::en error
I am trying to execute a perl script which uses DateTime::Format::Strptime on my RHEL5.8 work machine. Upon execution I receive the error:
Can't locate object method "am_pm_abbreviated" via package "...
0
votes
2
answers
1k
views
Compiling mod_perl using apache2 and ActivePerl 5.16?
I am using ActivePerl 5.16 on a RHEL 5.9 server. And I've set the PATH variable so the ActivePerl executables will be found first. And now I'm trying to compile mod_perl.so. However, the command ...
1
vote
2
answers
281
views
Writing a Sys::Getpagesize Perl module for system call getpagesize (man page GETPAGESIZE(2))
I have been tasked to write a Perl module that requires that I use Perl XS. I have not ever used Perl XS but I have looked at the documentation here: http://perldoc.perl.org/perlxs.html and it looks ...
5
votes
2
answers
3k
views
Perl DBD can't connect to MySQL on a 64-bit machine
I am on RHEL 5.5 64 bit machine.
I installed ActivePerl 5.10 64 bit on the machine, upgrading the previous inbuilt Perl 5.8 64 bit. I have MySQL up and running and my PHP project is able to access it....
2
votes
3
answers
8k
views
Cant install DBI.pm & DBD.pm for RHEL to run perl scripts
I am trying to execute a perl script that interacts with mysql database. I am on RHEL 5.5 and my mysql version is 5.0.77. And it returned error that it requires DBI.pm module for perl. I tried to ...
4
votes
5
answers
6k
views
Why TWiki can't locate a module that is already in the @INC?
recently I was installing some perl modules on my RHEL 5 with perl version 5.8.8 and all instalations went fine. I can see that the modules exist in the @INC but my TWiki site claims that it can't ...