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
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
486 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
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 ...
1
vote
2answers
272 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 ...
0
votes
2answers
689 views

Installing /usr/bin/perl install-module.pl Encode::Detect throws /usr/bin/make — NOT OK

I am installing PERL and its modules (to install bugzilla thereafter) on my Centos 5.8 VPS. When I install /usr/bin/perl install-module.pl Encode::Detect it throws and error /usr/bin/make -- NOT ...
0
votes
2answers
482 views

Proper acting when a process is consuming 100% time of CPU

On several machines I have a problem with a process that is using 100% time of a CPU. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 85740 100.0 0.2 34668 ...
0
votes
2answers
167 views

How to process incoming email sent to a catchall address (and a few valid email addresses)

I need to build a web application where people can send an email to custom email addresses (like - 1week@example.com, or 2days@example.com) and the email address '1week' and '2days' is used to perform ...
0
votes
2answers
156 views

Mod_Perl configuration for multiple domains

Reading the Mod_Perl module documentation, can we configure it on per domain basis, what I mean can we configure it to run on every domain or specific domain only. What I see in the docs is: ...
0
votes
2answers
153 views

Dynamically set current domain in nginx with perl module

I know how to set variables and use subroutines with the nginx builtin perl module INSIDE a "server" directive but, what I need to do is to set/rewrite the current domain before. Let's say, we have a ...
0
votes
2answers
683 views

SciLinux6 perl Test::Trap and Tk installation…how?

A more or less fresh install of SciLinux 6: [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 ...
0
votes
2answers
509 views

Can't install perl-suid on Debian 5

I'm trying to install perl-suid needed for some script I've downloaded and getting the following $ sudo apt-get install perl-suid The following packages have unmet dependencies: perl-suid: Depends: ...
0
votes
2answers
177 views

Can't install Apache::Template on Debian

When I try to install this module via cpan: cpan -i Apache::Template I get an error "512, won't make". This behavior is the same on Debian Lenny or Squeeze. Any ideas on how to get it to build?
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
1answer
122 views

mod_fastcgi.so + FCGI (perl) make 500 error with graceful restart on apache 2.2

We'd like to construct a perl (FCGI) application on apache2.2 with mod_fastcgi.so but it makes 500 error when I graceful it. Do you have any idea or solution for it? LoadModule fastcgi_module ...
0
votes
1answer
116 views

perl Net::DNS weird error (root servers “did not give answers”)

I'm trying to install Net::DNS as part of setting up ASSP Deluxe. I've installed my own 5.14.1 perl on a CentOS box, and when it tries to 'make test' Net::DNS, I get: Servers [202.12.27.33 ...
0
votes
1answer
64 views

command in perl script not working

When I place this command in a perl script, it won't work: `chkconfig --level 3 nslcd on`; But if I execute it on a linux command shell, it works. [root@barf Scripts]# chkconfig --level 3 nslcd on ...
0
votes
1answer
545 views

Troubles monitoring a zimbra installation with nagios

I am trying to monitor my legacy zimbra installation (running on an outdated Ubuntu 8.x) from my nagios install (running on a more recent OpenBSD). The problem is that when I run check_nrpe from the ...
0
votes
1answer
796 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
1answer
116 views

Server Performance

I know very little about performance tuning of servers etc... so i thought i'd put this up here as i start some research on it, just to get some direction. I am in the process of migrating from my ...
0
votes
1answer
194 views

perl dbd::mysql cant install (from asterisk perl script)

I ve got problem with perl script for asterisk. I've investigate that when tping use DBI; -- all statcks. After that i added: my @driver_names = DBI->available_drivers; foreach ...
0
votes
1answer
317 views

Mod_Perl AddType .pl execution on apache

I've recently been using PHP via mod_php, and I assumed that getting mod_perl running properly was going to require a similar setup: AddType application/x-httpd-php .php unfortunately this does ...
0
votes
1answer
665 views

Amavisd-new cannot start - missing Unix::Syslog (CentOS)

I followed the basic instructions here for installing amavisd, spamassassin + clamav... http://wiki.centos.org/HowTos/Amavisd I get the following error when trying to start amavisd... # service ...
0
votes
1answer
465 views

Check_webinject plugin will not connect to https site using

We're using Nagios to monitor some of our web sites. We have a script that uses the older plugin that we are trying to switch to using webinject.pl from cpan. When the script runs, it generates this ...
0
votes
1answer
51 views

Modify apache 2 to use different Perl instance

I have 2 installed Perl on the OS, now my cgi script need to run the module on newly installed Perl, I've already set played the PERL5LIB, @INC to include the new instance but it doesn't work. Any ...
0
votes
1answer
353 views

Random Connections to MySQL refused (Error 111)

A Perl/CGI webapp that has been running fine for almost a year has started to randomly been unable to connect to a remotely hosted MySQL. The Error thrown is : Can't connect to MySQL server on ...
0
votes
1answer
199 views

Not able to install Statistics::Basic on RHEL5

I am trying to install the perl module Statistics::Basic::Mode on a RHEL 5 system and am having issues. I have tried MCPAN and RPM. Here is the result of running sudo perl -MCPAN -e shell > ...
0
votes
1answer
222 views

cpan configuration wrong - how to change?

I seem to have misconfigured spam and am now trying to change it. I read elsewhere to remove /root/.cpam, which I did but that did not help to get me the initiation dialog. When I type into the ...
0
votes
1answer
91 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. I've ...
0
votes
1answer
37 views

Is there a Perl/PHP/Ruby/Other webtop-like filemangager platform?

EDIT: Is there a web based file manager / Workspace similar to EyeOS but uses Unix authentication and allows them to edit their files? If that makes sense? Thanks. It'd be awesome if something like ...
0
votes
1answer
221 views

OpenWebmail on Debian 5 (Perl 5.10)

I've upgraded server running OpenWebmail from Debian 4.0 to Debian 5.0. Perl was upgraded to 5.10 as well. I have issues with some functions of OpenWebmail (attachments are 0 bytes size, ...
0
votes
1answer
227 views

Perl module error on solaris-10

I have installed perl and pm_dbdmysql perl module on solaris-10. I have a perl script which makes the mysql DB connection to a diff server and runs some queries and returns the results. Its working ...
0
votes
1answer
303 views

apache don't execute perl source

I need to enable web interface for Asterisk Voice mail. To do that I put Perl scripts from asterisk dir to /var/www/vmail. And started Apache2. But when I go to localhost/vmail/vmail.cgi it doesn't ...
0
votes
1answer
629 views

Accessing UNC paths from inside Perl CGI under IIS6

For space reasons, we need to move some files off our main file/webserver to another network fileserver. However, the original file/webserver is still responsible for providing access to these files, ...
0
votes
1answer
401 views

How can i Move or copy files (or folder) from solaris server to removable disk.(Backup Tape drive)

i need to move or copy some zip(.tar,.gz,.Z) files from solaris server to Backup tape drive and also i want to retrive from tapedrive when ever i want without any loss. kindly expain the procedure. i ...
-1
votes
1answer
51 views

perl script running only once on IIS 7 server

I am on Windows 7 (IIS 7). When I run a perl script it works fine once and returns the output to any browser. It takes input from html form and prints the input as text. Upon reload or second run, the ...