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
2answers
8k 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
0answers
9 views

Push AUTH_TYPE CGI environment variable upstream

I have ported a Perl script to a Node.js app. The Perl script is executed by Apache, whereas the Node.js app is reverse-proxied. Both are protected by Shibboleth authentication... In order to get the ...
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 ...
1
vote
2answers
867 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 ...
0
votes
0answers
14 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
46 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
1answer
862 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
2answers
608 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
votes
2answers
358 views

Install Crypt::SSLeay Debian [closed]

Crypt::SSLeay In debian? What's the command.
0
votes
0answers
35 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 ...
-6
votes
0answers
52 views

How to bring a hacker to justice? [duplicate]

One of my sites disappeared. Or to be exact httpdocs and httpsdocs were wiped out Logs showed, that the server started to generate 404 errors after this request: 89.248.172.175 - - ...
0
votes
1answer
795 views

How can I forward email to a perl script on Linux?

I would like all mail sent to a particular alias on a Linux machine to be processed by a perl script but sendmail is giving me a "Service unavailable" error and I don't understand what I'm missing. I ...
0
votes
0answers
22 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 ...
1
vote
2answers
191 views

Script output differing from output when command is run manually [closed]

I'm fairly new to things and I've been writing a simple Perl script to poll a server for iostat -k -x data every few seconds using capture from Capture::Tiny The script works, however the data being ...
1
vote
2answers
791 views

Run a perl script as a windows 7 service

I have a perl script which is compiled using pp, to be run as a windows service on windows 7 machines. I looked at the thread http://www.perlmonks.org/index.pl?node%5Fid=230377 but of little use ...
0
votes
1answer
55 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
15 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
47 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 ...
1
vote
1answer
129 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
1answer
47 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
38 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
197 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
31 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
11 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 ...
1
vote
2answers
405 views

How to install Perl Power Tools on Windows

Are the Perl Power Tools still around? I'm trying to install them on Windows Server 2008 with Strawberry Perl. If I search the web I get: http://sourceforge.net/projects/ppt/ as first link, where I ...
2
votes
2answers
1k 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 ...
0
votes
1answer
67 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
0answers
64 views

Lemonldap::ng + OpenID error in try generate

I am trying to configure authentication by OpenID in lemonldap::ng with this When I try http://auth.example.com/openidserver/username, I see following error: Unable to load Net::OpenID::Server ...
1
vote
1answer
87 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
34 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
1answer
760 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 ...
1
vote
1answer
50 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 ...
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
82 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
102 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
243 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
45 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
65 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
850 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
301 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
237 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
63 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
89 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
2k 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
130 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
671 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
60 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 ...