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

3
votes
2answers
648 views

Windows Apache 2.2 painfully slow executing CGI

I've recently set up Apache 2.2 and git on one of our Windows XP PCs for gitweb access using the setup at https://git.wiki.kernel.org/index.php/MSysGit:GitWeb As noted on the wiki, the only version of ...
2
votes
1answer
832 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 ...
-1
votes
0answers
31 views

Cannot access / on server [closed]

I'm currently transferring a clients site over to our server, including the domain so it has the same URL etc. But upon transferring all the files over, and changing the .htaccess file to match the ...
1
vote
1answer
624 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 ...
0
votes
2answers
7k 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
0answers
16 views

watch perldoc output preserving formatting [migrated]

When I use watch to follow a perlpod documentation i am writing, the formatting gets mangeled (see NAME and Synopsis sections): Every 2,0s: perldoc lib/Uki/Handlers/SOS.pm ...
1
vote
2answers
1k views

Strawberry Perl libeay32_.dll problem

I've installed Strawberry Perl (v5.12.3) on Windows Server 2008 32 bit and I was hoping to run simpledb CLI tools. I had a small issue with HOME environment variable, I renamed it to HOMEPATH to ...
0
votes
1answer
30 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 ...
0
votes
2answers
49 views

Is it possible to save the perl modules using cpanm?

The following commands attempts to reinstall, I just want to download w/o installing. I'm usnig Ubuntu. cpanm Test::Fatal --save-dists saved
0
votes
1answer
65 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 ...
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 ...
0
votes
1answer
92 views

Downgrade Perl 5.16 to 5.14

I carelessly did yum update on my Amazon Linux AMI and updated Perl. Now my Movable Type install doesn't work. I did some google but could not find any solution except downgrading Perl to 5.14. ...
1
vote
2answers
41 views

monitorix 3.4.0 error: File 'monitorix.conf.path' was not found

I am running monitorix on CentOS using my apache server (as opposed to the built-in server) wit the following addition to the virtualhost: Alias /monitorix /usr/share/monitorix <Directory ...
2
votes
1answer
930 views

Installing Bugzilla on Ubuntu 9.04 and Plesk

Hey guys. I'm trying to install the latest Bugzilla version on my ubuntu server. (Want to use a subdomain like bugs.domain.com) I already installed all necessary perl modules and check_modules.pl ...
0
votes
1answer
652 views

run specific perl script as root under apache

I have a perl program that runs fine when called through the Internet via apache on Fedora Linux server. In that perl script I have a system command which does not run because it needs to be run as ...
2
votes
4answers
849 views

Handy parsing for numbers with unit suffixes?

Let's say you have data with quantities in human-readable format, such as the output of du -h, and want to further operate on those numbers. Let's say you want to pipe your data through grep to do a ...
1
vote
2answers
45 views

Installing perl-Time-HiRes on RHEL6.2 gives perl dependency error

I get the following when trying to install perl-Time-HiRes: host1:user1 > sudo yum install perl-Time-HiRes Loaded plugins: product-id, security, subscription-manager This system is not registered ...
0
votes
0answers
24 views

Can't get locally installed CPAN to read modules for installation on server with no internet

I've been wrestling with getting Bugzilla installed on an airgapped (absolutely no internet connection) server for months now. I've made many different attempts to install cpan, and strangely most of ...
0
votes
3answers
51 views

Most efficient way to serve less than 10 http requests per day using cgi

Our company manages over one hundred servers and we would like to "ask" these servers for basic usage info once or twice a day using http. The usage info can be easily found with a perl cgi script ...
1
vote
1answer
30 views

FC14 and yum dependancies

I've got my hands on an FC14 machine and I've been trying to get yum working on it over the past couple of days. The machine (which is an appliance) shipped with a conflicting package to ...
1
vote
2answers
13k views

Setup Oracle instant client on CentOS/RHEL Linux - for PHP and Perl

I'm trying to setup a CentOS 5.5/64 bit VM to access a remote Oracle database with PHP and Perl scripts. (I have no experience with Oracle, have only programmed and administrated some PostgreSQl and ...
0
votes
3answers
916 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
1answer
54 views

Perl - Using Net::SNMP::Interfaces to list interfaces of host

How could i get a list of all interfaces on a host with snmp, i am using. use Net::SNMP::Interfaces; my $interfaces = Net::SNMP::Interfaces->new(Hostname => 'localhost', ...
0
votes
0answers
23 views

Failures from MySQLDump

I'm using the following command to dump a mysql installation to disk one DB at a time: mysqldump -ubkp_user -ppasswd -hdbserver.edu --single-transaction --flush-logs --master-data=2 --routines ...
0
votes
1answer
75 views

How to access min/max/avg value in munin plugins?

I'm writing a munin plugin and display a GAUGE which displays a value which constantly increases. What I want to add to that plugin is a day/week/etc. average. I simply have to substract the day's ...
5
votes
4answers
9k views

Munin on Centos 6 - missing perl MODULE_COMPAT_5.8.8

I'm trying to install Munin on a new VPS through yum install munin but I keep getting an error about a missing perl module: Requires: perl(:MODULE_COMPAT_5.8.8). This is the perl version currently ...
1
vote
2answers
64 views

How do I build and configure a local CPAN module repo?

I'm a sys admin administering three air gapped (zero internet access) supercomputers. On one of the supercomputers we need to run Bugzilla. I already built my own local yum repository, but now I ...
1
vote
0answers
66 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
3answers
178 views

How to get password prompt from ssh in Perl script

When I execute this from command line, I get prompted for joe's password (which is what I want): ssh -t 192.168.1.32 'scp joe@192.168.1.31:/etc/hosts /tmp' When I try to run the same command from ...
0
votes
1answer
43 views

cpan perl module warning error

Trying to install multiple perl modules. I've already installed cpan and perl via yum on the centos 6 64bit box I get similar errors as below. CPAN.pm: Going to build G/GA/GAAS/URI-1.60.tar.gz ...
1
vote
2answers
76 views

AWStats process dies while processing large logs

I have really large nginx log files - as much as 250MB. When I have ran like 10 days of the month of log files - then the next daily logs would cause my awstats to die. Like so: ...
1
vote
2answers
287 views

Locating Rogue Perl Script

I've been trying to source the location of a perl script which is causing havoc on a server which I control. I'm also trying to find out exactly how this script was installed on the server - my best ...
-1
votes
2answers
217 views

Install Crypt::SSLeay Debian [closed]

Crypt::SSLeay In debian? What's the command. Thanks
0
votes
1answer
40 views

Safety of concurrent samba writes and perl move

I have samba (3.6.3-0.30.1-2920-SUSE-CODE11-x86_64) running on a SLES11 server which receives files from a Windows machine. The samba share is actually a NFS mount from an other server, and I need to ...
3
votes
1answer
272 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
1answer
142 views

nginx dynamic servername with regular expression doesn't work for co.uk

I'm trying to setup a nginx server which dynamically loads content from a folder for a domain. To do this I'm using regular expressions in the server name like so: server_name ...
0
votes
4answers
2k views

Removing perl module installed with cpanm

I am Perl beginner. I wanted to use Log::Log4perl module as I am familiar how it works in Java. I used cpanm script to download module, but I ran it without "sudo". Then it installed this module to my ...
2
votes
2answers
2k views

Exit code 13 from Perl's system() command?

I am trying to call system commands from perl, using system(). That usually works fine, but when I don't start the perl script myself, but have a compiled C program run it using the C popen() ...
0
votes
1answer
711 views

Nagios plugin script not working as expected

I have modified an off-the-shelf Nagios plugin perl script to (in theory) return a one or zero according to the existence, or not, of a file on a remote linux server. The script runs a remote ssh ...
0
votes
0answers
44 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 ...
0
votes
2answers
56 views

Optimizing Apache2 for high volume of small requests

I have a Perl script which returns a string, it's very simple and small. It is running on CentOS 6.4 with mod-prefork and mod_cgi via httpd 2.2.15 over SSL. It is the directory index, so when you ...
1
vote
1answer
59 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 ...
0
votes
2answers
355 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
536 views

install_driver(mysql) failed: Unable to get DBI state function. DBI not loaded

I installed OTRS from a rpm and the web installer /orts/installer.pl stops with: Error during AJAX communication. Status: error, Error: Internal Server Error Apache error_log ...
0
votes
0answers
219 views

Setting up Git, Gitweb, Gitolite on a Fedora 19 Server - Getting a '404 - No project found' message

All - I'm getting a 404 - No projects found trying to get a gitweb server up. Git and gitolite work fine, but I can't get projects to show up. Here's my setup: I'm working on getting Gitweb up on ...
0
votes
1answer
88 views

Cacti CLI tools: List present graphs per host

How can I list the graphs for a host, or at the very least the number of graphs? I'm thinking of a condition where I'd add more graphs depending on such output but all I see is to list available ...
0
votes
1answer
200 views

Postfix content filter not passing back message

I'm using a simple content filter to pass off mail to a perl script to encrypt using a pgp key. Master.Cf Under smtp -o content_filter=mail_encrypt:dummy Then mail_encrypt unix - ...
-1
votes
1answer
36 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 ...
0
votes
2answers
1k views

Munin with postgresql 9.2

I am trying to set up Munin to collect stats on a server with postgresql 9.1 and 9.2 (the server is currently running 9.1, have tested on a fresh VM with 9.2 to rule out some weird problem on the ...
0
votes
1answer
93 views

Free Perl for IIS

I'd like to use awstats for website statistics. Is there some free Perl distribution that plays nicely with IIS 7? This is what I've tried: Googling for perl iis yields a lot of tutorials, all of ...