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
2answers
3k views

PERL+mysql: undefined symbol: mysql_init

I've updated mysql (client+server+dev) from the rpms available on mysql.com. rpm -i MySQL-server-5.5.14-1.linux2.6.x86_64.rpm rpm -i MySQL-client-5.5.14-1.linux2.6.x86_64.rpm rpm -i ...
1
vote
1answer
945 views

HAProxy perl plugin and Net-SNMPd on Ubuntu 10.04

I am trying to monitor HAProxy states through SNMP. There is a haproxy.pl file for use with NetSNMP which I've copied and set up in snmpd.conf according to ...
1
vote
1answer
321 views

Execute a Perl script after reboot on Solaris 10

During my activities on Solaris 10 machine I need twice reboot the Solaris unit and after reboot I'd like to run several scripts. Before first reboot I store in /etc/rc3.d/S99myScript some bash ...
1
vote
2answers
217 views

Help Installing Perl Module XML::Parser using CPAN

I'm trying to install the XML::Parser perl module using CPAN and can't get it to work. Below is the output that is being displayed by CPAN which appears to indicate that Expat is the issue. Geting ...
1
vote
1answer
3k views

How do I configure nginx's embedded Perl to use Perl modules?

I have configured nginx to use a specific version of Perl. $ sudo /opt/nginx/sbin/nginx -V nginx version: nginx/0.8.54 built by gcc 4.1.2 20080704 (Red Hat 4.1.2-46) TLS SNI support disabled ...
1
vote
1answer
2k views

Reliable file copy (move) process - mostly Unix/Linux

Short story : We have a need for a rock-solid reliable file mover process. We have source directories that are often being written to that we need to move files from. The files come in pairs - a big ...
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
225 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
903 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
3answers
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
666 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
109 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
281 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
465 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
496 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
704 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
886 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
23 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
65 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
65 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
196 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
119 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
31 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
1answer
78 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
644 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
168 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
231 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
297 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
532 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
271 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
72 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
393 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
221 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
489 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
64 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
480 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
90 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
866 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
37 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
251 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
188 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
284 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
763 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
318 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 ...