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
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 ...
1
vote
1answer
217 views

Shared hosting: using a custom Perl version for CGI

I'm trying to revamp some nasty old sites on a cheap shared host using one of these new-fangled Perl web frameworks (Dancer). I had module dependency problems with the existing Perl install (5.6.1) ...
1
vote
1answer
871 views

mod_fcgid, perl script output going to apache error_log

I'm trying to get an old Perl script running again after installing mod_fcgid. I had to install mod_fcgid for a new client, but it seems to have broken some of my other cgi scripts. When going to ...
1
vote
2answers
13k views

Where to get RRDs.pm?

I'm trying to set up opsview (Nagios) on a CentOS 5 server running perl 5.8.9 When I try to start it, it can't find RRDs.pm. Turns out, neither can I. It's not on CPAN and I've been unable to ...
1
vote
1answer
635 views

Setting environment variables for a service without a login shell on Debian

I have created a linux service that runs as a deamon (and gets started from /etc/init.d/X). I need to set some environment variables that can be accessed by the application. Here's the scenario. The ...
1
vote
1answer
103 views

How do delivery receipt in horde works?

I want to send emails (using perl) using postfix MTA with a delivery receipt like horde does. Some have any idea?
1
vote
1answer
2k views

Need Help getting perl module DBD::mysql installed for bugzilla on RedHat

Hi everyone I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup. I am using RedHat 4.1.2-42. I have all of the required perl ...
1
vote
1answer
280 views

Why am I getting blank error messages in my Apache error log?

I am running Apache 2.2 on 64bit Windows Server 2008 Std edition with ActivePerl 5.8.9. My error log is filling up with blank error messages like these: [Wed Mar 31 14:08:31 2010] [error] [client ...
1
vote
1answer
451 views

Apache 2 - I have webmin running on port 10000…I want it to be accessed the normal HTTP port (80)

Currently I am doing this with the config. NameVirtualHost * <VirtualHost *> ServerName testsite.org ServerAdmin webmaster@testsite.org DocumentRoot /var/www/ ...
1
vote
1answer
484 views

“perl.exe *32” not releasing memory when spawned by Apache 2.2 on Windows server 2008 64bit

We have a web application that traditionally ran on Windows Server 2003 Std. Ed. 32bit in Apache2.2 with perl 5.8. I am attempting to migrate it to a Windows Server 2008 Std. Ed. 64bit in Apache2.2 ...
1
vote
3answers
692 views

Why does psql attempt to connect with a different username when run from a Perl script

I have a bunch of Perl scripts that have recently stopped working. I have narrowed the problem down to this: when I connect to a postgresql database from a perl script, it attempts to use the wrong ...
1
vote
1answer
97 views

automatically click cancel button while i shutdown though program in perl

I wrote program to shutdown system automatically in PERL , while shutdown if we open any file the windows asked that the file will save or cancel , my aim is cancel button automatically clicked and ...
1
vote
2answers
873 views

Perl script works with Apache piped logs but not Python script

I need to port my Perl log handling script to Python. Here is a simple example of a Perl script I can use: #!/usr/local/bin/perl $|=1; # Use unbuffered output while(<>) { system("beep"); } ...
1
vote
0answers
21 views

Automatically add/remove entry to/from /etc/hosts when enabling/disabling apache2 virtualhost

When I create virtualhosts, I almost always forget to add an entry to /etc/hosts until I've attempted to check the site in a web browser and moaned about the oversight. What I want to do is modify ...
1
vote
0answers
57 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 ...
1
vote
1answer
61 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
180 views

Perl FTP script fails from crontab, works from cmd

We have a Perl script we've been using (launched from crontab) for several years to upload images using Net::FTP. Recently we began to notice problems where the images were not uploading and errors ...
1
vote
1answer
103 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 ...
1
vote
1answer
30 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 ...
1
vote
0answers
80 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 http://routeviews.org. My ...
1
vote
1answer
72 views

Net::FTP Perl module hangs

So, I'm running Perl 5.8.8 on a RHEL5.2 system. I recently moved the LDAP source for authentication, and now I'm having issues with Net::FTP. Authentication works with the new LDAP source perfectly. ...
1
vote
0answers
573 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 ...
1
vote
1answer
156 views

Munin mysql plugins results inconsistent, with IPC::Sharelite store() error: Identifier removed

I've recently setup a munin-node on a CentOS server. All was working fine until I tried to add the apache plugin (which works fine). For some odd reason, the mysql plugins for munin that used to work ...
1
vote
1answer
194 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
1answer
1k views

Missing perl modules error for properly installed perl modules on FreeBSD 8.3, perl 5.16

Trying to run a Nagios plugin on 8.3-RELEASE-p3, I get the error: Missing perl modules: Net::SMTP::SSL I have rebuilt the ports for both p5-Net-SMTP-SSL and perl5.16. cpan -i Net::SMTP::SSL reports ...
1
vote
1answer
274 views

Retrieve Windows Username via SSPI + CGI Perl

I need to retrieve the username of the windows user logged in currently when he is accessing my intranet page. I am trying to authenticate my webpage using SSPI(mod_auth_sspi.so) on Windows Server ...
1
vote
2answers
510 views

BugZilla: Adding PerlConfigRequire to apache2 conf generates errors when restarting service

I've been following the BugZilla installation documentation and using mod_perl w/ apache2. Everything has gone fairly smooth and bugzilla pages appear to be getting rendered and served correctly, but ...
1
vote
1answer
258 views

perl app on apache and cgi behaves terribly with 504 gateway timeouts

Note: This question is about my server configuration giving 504 timeouts. I made a project here http://www.tryperl.com/ (requires auth with GitHub to sign in). Please be kind, I'm working on to learn ...
1
vote
0answers
71 views

Dedicated TMP and AMAVIS

I perfectly configured my server and now I made 2 stupid mistakes, I updated perl along with it's dependencies and I made a dedicated TMP dir and included it in fstab to prevent code execution with a ...
1
vote
0answers
381 views

File::Temp version 0.18 required--this is only version 16

I ran YUM on a server running BestPractical's RT. Now Apache won't start. Looking at the error log I get this error: File::Temp version 0.18 required--this is only version 0.16 at ...
1
vote
0answers
210 views

Installing BugZilla on Snow Leopard Server: Perl install issues

I'm installing BugZilla on Snow Leopard Server (latest version) using these instructions. And I'm having problems installing required perl modules. It says to run commands that look like this to ...
1
vote
0answers
478 views

Perl / BerkelyDB @INC problems trying to install Amavisd-new (CentOS)

I'm trying to follow this guide here to install Amavis, SpamAssassin + ClamAV... http://wiki.centos.org/HowTos/Amavisd Things mostly went well but Amavisd would not start... # service amavisd start ...
1
vote
1answer
63 views

How to run Mason (HTML-Mason) on IIS 7?

I have a website using Mason that I must transfer to an IIS7 server. I followed the instructions here http://www.masonhq.com/?RunningMasonUnderIIS, but they seem specific for IIS 6 and I have ...
1
vote
0answers
460 views

What does the error message “Communication link failure (SQL-08S01)” actually mean?

Our application is running on dozens of servers and only a few get this error message. What is worse, is that the SQL query that causes this error message seems to be executing. The application is ...
1
vote
1answer
89 views

Watch logfile for absence of a string

I'm trying to watch Apache logs for the absence of an event that should occur hourly. For instance it could be a string like: 123.123.123.123 GET /backup.tar.gz It looks like existing code does not ...
1
vote
0answers
1k views

Apache caught SIGTERM, shutting down and port 80 using by perl procceses

Apache randomly shutdown and cant restart. Port 80 used by perl processes. When I kill processes which use port 80, apache can restart again. log and results : tail -50 /var/log/httpd/error_log ...
1
vote
1answer
816 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
0answers
36 views

Granting Perl group permision

I just installed PERL into my apache2 configuration so that I could use SimpleScripts, however SimpleScripts gave me the following errors: [18 Nov 21:08] Upload success: ...
1
vote
0answers
1k views

Installing apxs on windows 64

I'm trying to set up my localhost apache2.2, running on windows 7, as a flash streaming server. So far I've discovered that I need to install mod_flv, which means I need apxs. I found apxs for win32 ...
1
vote
2answers
244 views

Run perl file from plesk's scheduled tasks every minute

Can anyone please tell how to run perl file from plesk's scheduled tasks every minute... There are plenty of tutorials for php files but can't find anything useful for perl... Any ideas?
1
vote
1answer
187 views

scilinux6 (rhel6) perl pathing question

Working on SL6. [CODE] $ cat /etc/redhat-release Scientific Linux release 6.0 (Carbon) $ uname -an Linux bigbox.em.local 2.6.32-131.6.1.el6.x86_64 #1 SMP Tue Jul 12 17:14:50 CDT 2011 x86_64 x86_64 ...
1
vote
3answers
55 views

Processing perl CGI on external server from web server

I have a web server (IIS) running perl. Is there any way to offload the perl processing to an external server? For example, I have server_a with various sites that may include perl CGI scripts. I ...
1
vote
2answers
277 views

Odd behaviour of gettimeofday on RHEL5 server

I'm experiencing very odd behaviour from Time::HiRes on RHEL5. Since Time::HiRes is in the Perl standard installation, and is basically a wrapper around the gettimeofday system call, I'm inclined to ...
1
vote
1answer
748 views

Migration of Xen domains using libvirt API and perl failing

I am trying to get work offline migration using libvirt API in perl. I have 2 servers (on both is): - debian squeeze - xen-hypervisor-4.0-i386 - libvirt (1st server - 0.8.7 and 2nd server - 0.8.3) In ...
1
vote
1answer
311 views

perl + recursive rename files and directories

Maybe some one have tool script (perl or shell script) that rename files names or directory names? For example The tool needs to read from the file as the following: more file /var ...
1
vote
0answers
35 views

unable to switch Spamassasin module loading in amavisd-new

I have a default installation of 'amavisd-new' and with it an old SpamAssassin installation version 3.2.5. Now I have compiled Spamassassin version 3.3.1 from source and installed it at a custom ...
1
vote
2answers
9k 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 ...
1
vote
1answer
200 views

Setup CGI on Ubuntu 9.04

I've reviewed numerous guides to find out why my CGI isn't working and cant' seem to find it. My site config looks like this: <VirtualHost *:80> ServerName dev.domain.com # Directory Root. ...
1
vote
1answer
453 views

mod perl in apache 2.2 not parsing perl scripts

I've set up a fresh Apache 2.2.15 server on windows server 2008 R2 with mod_perl (mod perl v2.0.4 / perl v5.10.1). Mod_perl and Perl 5.10 has been installed and loaded without problems. However, ...
0
votes
2answers
158 views

Is this script nefarious?

This is sitting in my web site's cgi-bin. Should I be concerned about it? #!/usr/bin/perl print <<HTML; Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 ...