Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The CPAN is Perl's module repository and is where users should turn first for code ...

learn more… | top users | synonyms

1
vote
0answers
11 views

Catalyst stderr going to the wrong log

I have several vhosts served by Apache 2.2.22 on a Debian Wheezy server. Some vhosts are Catalyst apps; all vhosts run with mod_fastcgi and mod_suexec. Each virtual host is configured to use a ...
0
votes
0answers
16 views

Net::SSH from Perl [migrated]

I need to login into multiple servers and do the following: See if a directory exists, if it doesn't create it. Set the proper permissions of that directory. Populate the directory with a file. I ...
0
votes
2answers
7k views

IIS 7.5 on Windows Server 2008 R2 refusing to create PASSIVE MODE FTP connections

I'm attempting to get an FTP client written in perl to transfer files from an IIS 7.5 FTP server using passive mode. I've configured the FTP server as per instructions and have also configured ...
0
votes
3answers
43 views

RedHat - Can't install a Perl module (CPAN)

I'm not able to install a perl module: [root@xxx]# cpan Module::Find [...] CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build C/CR/CRENZ/Module-Find-0.12.tar.gz Checking if your kit is ...
0
votes
3answers
1k views

Running nph-script.cgi keeps outputting Server details at the end

I am running a nph-script.cgi on my server. The server keeps adding HTTP/1.1 200 OK Date: Thu, 05 Nov 2009 02:28:53 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.8-1hardy~ppa1 with ...
0
votes
0answers
10 views

How to update solr values using WebService::Solr perl module [closed]

I want to update some solr values. I am able to query solr but when i try to update the values nothing happens. My solr version is 4.3 use WebService::Solr; my $solr = ...
2
votes
1answer
924 views

Bugzilla : No SASL mechanism found

I am using Bugzilla on windows 7. I am using the unofficial Bugzilla installer. I followed the steps accordingly and gave valid credentials wherever required. I open Bugzilla and try to create a new ...
1
vote
1answer
21 views

Not able to execute cgi script getting muxserver_listen bind(): Permission denied

When i run a perl CGI script from browser it gives below error in apache error logs. It is not getting response from server. While i run my script from command prompt it works fine. I am using below ...
0
votes
1answer
34 views

Not able to run remote scipt from perl CGI script

I have created a program using perl CGI where i am calling my server script which is at remote location. For that i have used OpenSSH. But when i run this script from my terminal it works fine my ...
0
votes
0answers
28 views

Server serves old cache/memory/data with linkchecker agent

I'm using the perl script below to fill the cache/memory of the server by visiting all the links with the wget command and the linkchecker agent to check for broken links. When I run it it keeps ...
0
votes
3answers
1k views

Bugzilla not sending emails, even to the test file?

I have installed and setup Bugzilla3 for my domain. Everything is working properly except for the email functionality. The server uses Postfix, and that works for my PHP application, and command ...
0
votes
0answers
23 views

Red Hat Network API connection

I'm creating a perl script that connects to the RHN, however I seem to be struggling. The code I have is this: #!/usr/bin/perl use Frontier::Client; my $HOST = 'xmlrpc.rhn.redhat.com'; my $client ...
-1
votes
0answers
74 views

Debian 6, trouble with: apt-get -f install

I'm having trouble with installation of any package. This was occured after one failed installation with error "Data quota exceed"(df -H showed me 80% of free space). I've asked support team to fix ...
2
votes
2answers
58 views

Mod Perl on RHEL 7

I for the life of me can not find the mod_perl package for RHEL 7. There is no package remotely called mod_perl, and google does not help. I am trying to get Redmine Git Hosting setup, but I need to ...
1
vote
1answer
28 views

Munin Postgres plugins: DBD::Pg not found

I'm trying to activate some of the Postgresql plugins for Munin. When I run munin-node-configure --suggest | grep postgres I get the following output: postgres_bgwriter | no | no [DBD::Pg ...
0
votes
1answer
18 views

Remove spoofing email notifications

I am using CentOS release 6.5 (Final) with MIMEdefang and I am getting spammed by someone that uses an e-mail spoofer. He sends alot of e-mails from random-user@mydomain to the same ...
0
votes
2answers
45 views

How do I uninstall/remove CPAN?

Is there a way to completely remove CPAN from my machine? I tried searching Google for a way to do this, but all of the results are focused around uninstalling the modules.
1
vote
1answer
653 views

Why is Perl Cgiwrap Sock refusing connection to nginx?

Could anyone shed some light on the following line in my nginx error logs. I'm trying to get Perl and Nginx talking to each other, but so far no success. unix:/var/run/nginx/cgiwrap-dispatch.sock ...
0
votes
1answer
31 views

masquerade an URL with proxy SSL or other methods

good day dear server experts I would like to be able to masquerade an URL, that is to keep the URL the user is entering when going to a page. For example: The user is entering at his browser: ...
1
vote
1answer
24 views

CGI Script not running in PHP file

I have a CGI script in the server called script.cgi and I have added the following code to the domain vhost: Action add-footer /cgi-bin/script.cgi AddHandler add-footer .htm .html I have ...
1
vote
1answer
1k views

How can I enable IIS to run Perl scripts?

we're trying to get awstats up and running on our IIS6 server. awstats is running fine and generating output and all that jazz... no problem there. When trying to change the selected month/year in ...
0
votes
0answers
42 views

Problems with @INC when updating Perl form 5.10 to 5.18 on Centos

I am on Centos 6 (as root) with Perl 5.10, also with a lot of modules installed (using yum and CPAN). I've tried to upgrade Perl to 5.18 and now have some problems with @INC. I receive messages that ...
3
votes
2answers
432 views

Debian Wheezy and SUID Perl

I just upgraded a Debian Lenny box to Wheezy, and found that suidperl is gone. Googling reveals that the upstream maintainers removed it; I need suidperl to run our mail installation, Open Webmail. ...
0
votes
0answers
32 views

SpamAssassin ASN Plugin

I've got spamassassin 3.4.0 setup to use Mail::SpamAssassin::Plugin::ASN. cpan confirms that it is installed, and dig confirms that I can get the ASN txt records from routeviews.org. My local.cf has ...
1
vote
1answer
62 views

tomcat server not running after uncommenting servlet tags in web.xml

I am running tomcatserver and i need to execute a perl script. I searched online and found out that i need to uncomment in conf/web.xml <servlet> ...
1
vote
2answers
251 views

Cpan module install fails

I am trying to install the Inline::MakeMaker Perl module (including Inline::C), but it fails when installing Inline::C (seems it cannot find "make", though make is installed under /usr/bin). This ...
0
votes
0answers
65 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
2
votes
0answers
39 views

Nginx & fcgiwrap, logging perl errors to error log

This is similar to this question, which got no responses: How to debug CGI over fcgiwrap/nginx How do I get perl errors to be automatically placed in the nginx error log? Right now, when there is any ...
0
votes
2answers
43 views

process works under strace but not normally

I have a process - a perl script - that does: while true check a POP account on a server on the lan process any email found write logs - messages found, actions taken, errors sleep ...
1
vote
1answer
956 views

Installing Bugzilla on Ubuntu 9.04 and Plesk [closed]

Hey guys. I'm trying to install the latest Bugzilla version on my ubuntu server. (Want to use a subdomain like bugs.domain.com) I already installed all necessary perl modules and check_modules.pl ...
0
votes
1answer
196 views

“yum update” error. How to handle this?

I have an ec2 instance and I'm trying to update all packages. But the problem is when I execute "yum update" it shows the message: Transaction Check Error: file /usr/lib64/perl5/vendor_perl/Cwd.pm ...
4
votes
2answers
716 views

Windows Apache 2.2 painfully slow executing CGI

I've recently set up Apache 2.2 and git on one of our Windows XP PCs for gitweb access using the setup at https://git.wiki.kernel.org/index.php/MSysGit:GitWeb As noted on the wiki, the only version of ...
1
vote
2answers
2k views

Strawberry Perl libeay32_.dll problem

I've installed Strawberry Perl (v5.12.3) on Windows Server 2008 32 bit and I was hoping to run simpledb CLI tools. I had a small issue with HOME environment variable, I renamed it to HOMEPATH to ...
0
votes
1answer
181 views

Cannot install Perl module Authen::Libwrap

I'm getting this error when trying to install. How can I install it? Webmin depends on it. [root@ip-172-31-15-65 home]# cpan Authen::Libwrap CPAN: Storable loaded ok (v2.20) Going to read ...
0
votes
2answers
60 views

Is it possible to save the perl modules using cpanm?

The following commands attempts to reinstall, I just want to download w/o installing. I'm usnig Ubuntu. cpanm Test::Fatal --save-dists saved
0
votes
1answer
171 views

Downgrade Perl 5.16 to 5.14

I carelessly did yum update on my Amazon Linux AMI and updated Perl. Now my Movable Type install doesn't work. I did some google but could not find any solution except downgrading Perl to 5.14. ...
1
vote
2answers
105 views

monitorix 3.4.0 error: File 'monitorix.conf.path' was not found

I am running monitorix on CentOS using my apache server (as opposed to the built-in server) wit the following addition to the virtualhost: Alias /monitorix /usr/share/monitorix <Directory ...
0
votes
1answer
806 views

run specific perl script as root under apache

I have a perl program that runs fine when called through the Internet via apache on Fedora Linux server. In that perl script I have a system command which does not run because it needs to be run as ...
2
votes
4answers
983 views

Handy parsing for numbers with unit suffixes?

Let's say you have data with quantities in human-readable format, such as the output of du -h, and want to further operate on those numbers. Let's say you want to pipe your data through grep to do a ...
1
vote
2answers
147 views

Installing perl-Time-HiRes on RHEL6.2 gives perl dependency error

I get the following when trying to install perl-Time-HiRes: host1:user1 > sudo yum install perl-Time-HiRes Loaded plugins: product-id, security, subscription-manager This system is not registered ...
0
votes
0answers
57 views

Can't get locally installed CPAN to read modules for installation on server with no internet

I've been wrestling with getting Bugzilla installed on an airgapped (absolutely no internet connection) server for months now. I've made many different attempts to install cpan, and strangely most of ...
0
votes
3answers
61 views

Most efficient way to serve less than 10 http requests per day using cgi

Our company manages over one hundred servers and we would like to "ask" these servers for basic usage info once or twice a day using http. The usage info can be easily found with a perl cgi script ...
1
vote
1answer
33 views

FC14 and yum dependancies

I've got my hands on an FC14 machine and I've been trying to get yum working on it over the past couple of days. The machine (which is an appliance) shipped with a conflicting package to ...
2
votes
2answers
13k views

Setup Oracle instant client on CentOS/RHEL Linux - for PHP and Perl

I'm trying to setup a CentOS 5.5/64 bit VM to access a remote Oracle database with PHP and Perl scripts. (I have no experience with Oracle, have only programmed and administrated some PostgreSQl and ...
0
votes
1answer
125 views

Perl - Using Net::SNMP::Interfaces to list interfaces of host

How could i get a list of all interfaces on a host with snmp, i am using. use Net::SNMP::Interfaces; my $interfaces = Net::SNMP::Interfaces->new(Hostname => 'localhost', ...
0
votes
0answers
34 views

Failures from MySQLDump

I'm using the following command to dump a mysql installation to disk one DB at a time: mysqldump -ubkp_user -ppasswd -hdbserver.edu --single-transaction --flush-logs --master-data=2 --routines ...
0
votes
1answer
101 views

How to access min/max/avg value in munin plugins?

I'm writing a munin plugin and display a GAUGE which displays a value which constantly increases. What I want to add to that plugin is a day/week/etc. average. I simply have to substract the day's ...
5
votes
4answers
10k views

Munin on Centos 6 - missing perl MODULE_COMPAT_5.8.8

I'm trying to install Munin on a new VPS through yum install munin but I keep getting an error about a missing perl module: Requires: perl(:MODULE_COMPAT_5.8.8). This is the perl version currently ...
1
vote
2answers
105 views

How do I build and configure a local CPAN module repo?

I'm a sys admin administering three air gapped (zero internet access) supercomputers. On one of the supercomputers we need to run Bugzilla. I already built my own local yum repository, but now I ...
1
vote
0answers
136 views

Getting errors from local CPAN configuration on server with no internet

I've been wrestling with getting a local CPAN installed and configured on a CentOS server with no internet access. What I've done so far is this: 1) Made a full rsync of a CPAN directory onto an ...