All Questions
26
questions
2
votes
1
answer
644
views
How do you modify the RPM spec file to require perl libraries on centos 7?
I normally start with a Minimal Centos 7 and run
yum install perl-libs.x86_64
This works perfectly.
I am now trying to create an RPM spec file that uses the "Requires" clause to package ...
1
vote
0
answers
65
views
SpamAssassin: UTF-16 surrogate 0xd800 at /usr/local/share/perl5/Pod/Simple/BlackBox.pm line 67
When my Spam Assassin cron job runs, it gives Perl error messages which are then emailed to me by the cron daemon. How can I fix this error or warning?
Cron job: /usr/share/spamassassin/sa-update.cron ...
0
votes
1
answer
4k
views
Why won't Yum install the latest version of Perl?
Why won't Yum install the latest version of Perl? I see that Perl is at 5.32.0 https://www.perl.org/get.html. My Perl is 5.10.1.
# perl -v
This is perl, v5.10.1
When I try to update, it doesn't do ...
0
votes
1
answer
63
views
Trouble compiling libapreq2
Our app is a monolithic perl app that currently runs on RHEL 6 and I'm trying to get it built on RHEL 7. We run with perlbrew on Perl 5.18.2 threaded. It is installed into our /opt/prism dir but is ...
0
votes
2
answers
943
views
Fix path used by shebang #!/usr/bin/perl and #!/usr/local/cpanel/3rdparty/bin/perl
I can't find anyone that can help me fix this issue. after a recent centos update my CGI scrips that use:
#!/usr/local/cpanel/3rdparty/bin/perl
or
#!/usr/bin/perl
are trying to use an old perl ...
3
votes
2
answers
1k
views
Bugzilla error: Can't locate object method quit via package "Net::SMTP::SSL" line 365
I installed Bugzilla on my CentOS 7 web server VPS. The install went smoothly, however when I went to set up email, I received the following error:
Can't locate object method "quit" via package "...
0
votes
0
answers
546
views
FreeRADIUS Perl Module "Unknown or invalid value "perl" for attribute Auth-Type"
I am attempting to setup a FreeRadius Server with an OTP (LinOTP) backend in Centos 7. My issue is loading a perl module needed to link FreeRADIUS to LinOTP. No matter what I try I just keep getting ...
1
vote
2
answers
537
views
Install custom perl modules
I have build an RPM from a proprietary software collection in a CentOS 7 environment but the build process required executing some Perl modules (.pm files) found within the source itself. When I ...
0
votes
1
answer
494
views
Cannot install URI::_foreign
Well I'm trying to install URI::_foreign on my server (I have root access) I get the following errors:
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on ...
0
votes
1
answer
2k
views
nginx fails with following error: nginx: [alert] perl_parse() failed: 2
I have nginx version 1.10.2 running on a CentOS 7 box. When I try to start the service I am getting the following error:
Aug 15 16:08:50 user.mylabserver.com nginx[2704]: Can't locate nginx.pm in
@...
0
votes
1
answer
133
views
What is this unlink script action doing and under what conditions?
I'm debugging someone else's script and am confused by this:
my $LOG = "/var/log/installfoo.log";
my $APPDIR = "/usr/share/foodir"
my $RUN_ONCE = "$APPDIR/runonce";
# check for script
if (-x $...
0
votes
1
answer
87
views
Cannot locate RHN/DB.pm in @INC
I am trying to install spacewalk on CentOS 7 however i receive "Cannot locate RHN/DB.pm in @INC" error.
It says compilation was aborted in spacewalk-setup line 33 which is "use RHN::DB ();".
I tried ...
1
vote
0
answers
3k
views
How do I fix this broken CPAN and Perl installation
My Perl and cpan installation is broken. The perl version is shown below and this command executes and runs fine.
>perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-...
-1
votes
1
answer
1k
views
snmptt cannot load PERL module
CentOS 7
I cannot move forward with starting snmptt. I use it to translate traps into nagios. I have been poking around with my system and this issue occured after I make uninstalled extra net-snmp ...
0
votes
2
answers
826
views
Centos 7 - perl : Fails to install Crypt::OpenSSL::EC through cpan
Trying to install Crypt::OpenSSL::EC using cpan go the following result:
$ cpan install Crypt::OpenSSL::EC
Reading '/home/vafbuild/.cpan/Metadata'
Database was generated on Mon, 05 Dec 2016 10:41:...