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

0
votes
0answers
18 views

postfix parameter default_privs

I have set default_privs=myuser in main.cf, which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: my $exec_username = ...
-2
votes
0answers
13 views

Use of uninitialized value $0 in scalar assignment at /usr/lib/perl5/site_perl/5.16.2/Mojo/Server.pm line 47 [migrated]

When I try to run OPM (https://github.com/OPMDG/opm-core, ie.Open PostgreSQL Monitoring) with command: morbo script/opm I get the error as below: Use of uninitialized value $0 in scalar assignment at ...
-1
votes
0answers
23 views

Postfix, Prepend Reply-To to Subject: [duplicate]

I am using postfix and header_checks and I would like to append Reply-To to the subject of emails. Do you guys have any idea how to write the proper regexp to read Reply-To and put is in a variable ...
0
votes
1answer
22 views

amavis log email hash

I want to log a hash value of all emails handled by my mail-server. I found in amavis README.customize.gz the following line: The substitution text for the following simple macros is built-in: [...] ...
-2
votes
0answers
22 views

amavisd: Unrecognized character \xBB; [migrated]

I have a problem to start the amavisd. When I try to start with /etc/init.d/amavis start I get the following error: Starting amavisd: Problem in Amavis::DKIM code: Unrecognized character \xBB; marked ...
-1
votes
1answer
48 views

Can not install Net::SSH2 module Perl

I am getting the following log while trying to install Net::SSH2 module in my debian machine. I don have libssh2-dev installed but still Im getting this error. also it says "Couldn't find your C ...
0
votes
1answer
18 views

Perl Section in Apache config don't work

I have installed mod_perl on my server via yum to make use of Perl sections in the Apache config. I'm running Apache 2.2 on CentOS 6. I installed the necessary Perl modules (DB2 driver mainly) via ...
-1
votes
0answers
14 views

Error Installing Memcached::libmemcached on Ubuntu 14.04 [migrated]

I'm getting this error when trying to install the memcached cpan library. I have the full CPAN output if necessary. How do I fix the incompatibility? g++: error: -fsanitize=address is incompatible ...
0
votes
1answer
31 views

perl print ldap tree hierarchy at command line

Is there a way to print a tree like view of an existing ldap directory at the command line with perl? Like the 'tree' command does with files/directories, but for ldap?
0
votes
0answers
16 views

Apache2: upload restarts over and over

We are using different upload scripts with Perl-Module CGI for our CMS and have not encountered such a problem for years. Our customer's employees are not able to get a successful download. No matter ...
3
votes
1answer
57 views

increase file size for log files from scripts started from postfix

I am using Postfix to run a script whenever a message is sent to a specific address. The script is a Perl script and it writes a log to a file using Log4perl. The log file is being rotated on a ...
0
votes
0answers
43 views

Apache keep catching SIGTERM out of the blue

I have apache 2.2.15 server on CentOS release 6.6 (Final). It runs mod_perl and some perl scripts in junction with mysql DB. The problem I'm encountering is that from time to time apache gets SIGTERM ...
0
votes
0answers
36 views

Find the source of spam-script

We have a shared hosting cgi-server with apache2+php fcgi and dma as mta (it forwards messages to mail relay) - it's Debian Wheezy - on it and with ability for clients to run perl/cgi scripts.There's ...
0
votes
1answer
109 views

Perl modules is not getting installed in Amazon Linux AMI ( centOs 6.5)

I am configuring cloudwatch custom metrics which requires some perl modules to be installed. Here is the command I am trying to install the perl modules. yum install perl-Switch perl-Sys-Syslog ...
0
votes
0answers
27 views

Rquested URL and physical path mismatch in IIS 7

I have deployed a new windows 2008 r2 server with iis 7 I'm facing difficulties with CGI ( perl ) domains My domain uses " discusware application " which stores the contents under " cgi-bin " folder ...
0
votes
1answer
59 views

Mass disable customers in OTRS

The problem is about OTRS customers. I can't use an external customer backend, so I want to update the customer DB via CSV files. I already wrote a script to add new Customers via ...
0
votes
1answer
63 views

How can i set SCRIPT_NAME when using proxy_pass with nginx

I have a perl catalyst application that i'm mounting on a specific url (vs mounting on a subdomain) and am having problems setting SCRIPT_NAME on the request to the backend. This affects the urls ...
0
votes
0answers
42 views

Add custom PageSize to a PDD file (with perl regexp)

It looks like the PDD file: http://www.openprinting.org/ppd-o-matic.php?driver=pxlcolor-Ricoh&printer=Ricoh-MP_C3003&show=1 Does not allow you to set a custom media size: lp -d printer -o ...
1
vote
1answer
303 views

Ubuntu Upgrade, Perl Version Broke ZImbra

Kind of in a bind here, since I heard about the bash bugs last night I decided on upgrading all off my server, not just the packages but the complete OS, it worked fine on all my servers, except my ...
1
vote
0answers
42 views

Perl doesn't work without warnings in CGI

For some reason I can't get a perl script to run in the cgi-bin folder. I haven't made these files and we've uploaded them to another server and they work fine. However I've used the following ...
0
votes
0answers
14 views

Cannot add ssh keys in cloudstack

I used this guide for use ssh keys in cloudstack. https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html I'm using a debian instance. Once I run ...
0
votes
1answer
968 views

Perl execution failed error when adding a virtual host in Webmin

I'm getting the following error when I try to select the document root when creating a virtual host in Webmin. Error: Directory of / HTTP/1.0 500 Perl execution failed Server: MiniServ/1.700 Date: ...
0
votes
1answer
85 views

Installing mod_perl 2 on Apache2 fails

I'm trying to install mod_perl 2.0.8 on a fresh installation of Apache 2.2.27 / RHEL 7. Apache was built from source and installed to /usr/local/apache2. I then installed mod_perl with ...
0
votes
2answers
853 views

Apache 2.4 replies with “403 Forbidden” for a CGI script, my configuration looks ok

I installed a CGI script on a fresh installation of Apache 2.4 on Ubuntu server 14.04. Apache keeps replying with 403 Forbidden also if, to me, the configuration file is ok. The CGI is the Monitorix ...
1
vote
1answer
116 views

Apache - Replace Apache::AuthenNTLM with Kerberos (mod_auth_kerb)

Within an intranet system on Solaris we currently use perls Apache2::AuthenNTLM module to authenticate with a Win 2k3 doman server, so we can access the user ID of the person browsing the site. ...
0
votes
1answer
35 views

Spamassasin: Check mailbox for spam

How can I have spamassasin check a mail folder for spam and move it into a different one. I've been getting a lot of spam recently and started implementing bayesian classifiers. I moved a bunch into ...
1
vote
2answers
1k views

imapsync - Authentication failed

I've deployed many Google Apps accounts and have used imapsync a number of times to migrate accounts to Google Apps. This time however, no matter what I try imapsync refuses to work claiming my ...
1
vote
1answer
55 views

Perl: Log every execution of all scripts

Is there a way to log every execution of perl scripts on the complete server? I am investigating a possible security issue and therefore want to log every perl execution. Is something like this ...
1
vote
1answer
131 views

Postfix header_checks syntax (POSIX - Perl)

I am using header_checks in Postfix to rewrite my headers (for emails sent by Outlook through my server). Here is the part of the header I am trying to change : Received: from Raphasus ...
0
votes
2answers
90 views

How to print regex match

My problme is two fold. First is printing a regex match. The second is the actual regex. Problem 1: I'm trying to print the output of yum grouplist --verbose into a format that I can put into a ...
1
vote
1answer
88 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
3answers
2k 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 ...
2
votes
1answer
116 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
0answers
46 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
1answer
287 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
73 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
391 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
24 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
322 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.
0
votes
1answer
65 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
93 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 ...
0
votes
0answers
145 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 ...
0
votes
0answers
65 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 ...
0
votes
0answers
179 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
172 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
81 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 ...
0
votes
1answer
905 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 ...
0
votes
1answer
861 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 ...
1
vote
2answers
1k 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 ...