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

2
votes
1answer
427 views

Calculate average of every 5 samples with rrdtool or other languages

I want to make an average of 5 samples and calculate a single value: Current output - I put resolution of 5 minutes but receive 5 samples: $ rrdtool fetch file.rrd AVERAGE -r 300 --start 1200000000 ...
2
votes
1answer
952 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
vote
1answer
39 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
63 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
55 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
1answer
662 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
121 views

Nginx module to remove lines in html output

I got production server with nginx and php , I googled for a way to remove lines in html output and minify it ... ended with 2 modules I cannot implement even on my testing fedora server ( I am ...
1
vote
1answer
427 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
1answer
19 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
1answer
206 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
1answer
142 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
1answer
109 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 ...
0
votes
1answer
59 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 ...
0
votes
1answer
235 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 - ...
0
votes
1answer
79 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
108 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
62 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
427 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 ...
2
votes
0answers
45 views

Nginx & fcgiwrap, logging perl errors to error log

This is similar to this question, which got no responses: How to debug CGI over fcgiwrap/nginx How do I get perl errors to be automatically placed in the nginx error log? Right now, when there is any ...
2
votes
0answers
395 views

Strange Apache/PHP&Perl behavior—error (70007)

I’m dealing with a particular strange situation: I have two Linux machines, one with Scientific Linux (v4.8) and one with CentOS (v6.2). On the SL machine I have a XAMPP distribution with Apache ...
2
votes
0answers
174 views

Can't get NetSNMP agent to answer using my prorietary MIB

I have to add a proprietary MIB to debian's snmpd that I must be able to query (get and set) from another networked computer on a non-standard UDP port (network aspects will be a further step). I ...
1
vote
0answers
151 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
0answers
50 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
251 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
172 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
313 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
0answers
362 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
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
0answers
34 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
947 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
0answers
32 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
0answers
257 views

Building perl cpan B::Size with perl 5.10

I'm trying to install B::TerseSize (used with Apache::Status for memory debugging). The build fails on the B::Size dependency when building with perl 5.10 (.0 and .1) Does anyone know how I can build ...
0
votes
0answers
31 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
0answers
27 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
80 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
0
votes
0answers
63 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
0answers
34 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
0answers
53 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
0answers
268 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
0answers
205 views

How to delay xinetd starting a process until data is received

I maintain a server that receives data on many ports using xinetd in tcp mode. The data is processed by a perl script. Twelve of the 16 clients that connect to my server that way, apparently also ...
0
votes
0answers
40 views

httpd service keep restarting. after 15-20 mins

I have recently purchased Dedicated Server which has 16bg ram and 1TB Harddisk. It has Cpanel and for firewall CSF Installd. I am mainly going to install it for File hosting service. Now the day ...
0
votes
0answers
39 views

cgi-bin for virtualhosts in apache

Let's assume that I have 2 virtualhosts running for the domains domain1.com and domain2.com. For these domains I set the documentroot to c:\server\htdocs\user\domains\domain1.com and ...
0
votes
0answers
197 views

Strawberry perl 5 .6.21 cannot locate swtich.pm when i run perl scripts via perl commandline

im trying to run a pulledpork.pl script in conjunction with snort. The pulledpork.pl script can work i believe, but for some reasons. strawberry perl cannot locate switch.pm and thus is aborting ...
0
votes
0answers
82 views

How to change HTTP_REFERER using perl?

I tried to change log format and change HTTP_REFERER using perl to change browser's referrer like below. [pattern1] Log Format : %{HTTP_REFERER}o perl : $ENV{'HTTP_REFERER'} = ...
0
votes
0answers
72 views

Remote access of Perl script no longer working

I have a Perl script on my server that another 3rd party website runs to add a username and password to a file on my server. This used to work without any problems for years but recently we had a HDD ...
0
votes
0answers
63 views

What causes newlines to be stripped when a buffer is flushed to a full ext3 partition?

We noticed this when we got disk full problems on our log partition. The resulting log files would have many lines concatenated together as if newlines were being stripped. A single line would be ...
0
votes
0answers
91 views

How do I make mod_rewrite.c work with mod_perl.c?

Basically I want to do this: RewriteCond %{QUERY_STRING} (^|&)t= RewriteRule .* - [E=tag:name] But the E only works with CGI ,I need to use something like this to work in mod_perl: PerlSetEnv ...
-1
votes
0answers
108 views

Debian 6, trouble with: apt-get -f install

I'm having trouble with installation of any package. This was occured after one failed installation with error "Data quota exceed"(df -H showed me 80% of free space). I've asked support team to fix ...