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

4
votes
1answer
516 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 ...
1
vote
1answer
41 views

ssh gatekeeper script and system calls

I'm using the openssh gatekeeper script from calomel.org to make a semblance of two-factor authentication. I've tried to use a curl to the localhost to send a randomly generated string via text ...
1
vote
1answer
234 views

Apache environment variables for CGI not setting

I am trying to set my environment variables for the Apache webserver as it is not the correct Perl package. I followed the recommendation of one of the answers on Server Fault for updating the httpd ...
1
vote
1answer
123 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
40 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 random-user@...
1
vote
1answer
75 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
93 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
1answer
1k 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
398 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 ...
2
votes
0answers
25 views

System reboot results in T_DKIM_INVALID spamassassin

I have installed and configured OpenDKIM in my Ubuntu 16.04 digitalocean vps and enabled the DKIM Plugin in SpamAssassin with loadplugin Mail::SpamAssassin::Plugin::DKIM in one of the .pre files ...
2
votes
0answers
37 views

Server Hangup messges

First question on Server Fault! (If I have done anything wrong let me know) I manage a server and also the 3 large perl based web applications, which run on this server. The server is running CentOS ...
2
votes
0answers
695 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.2.9,...
2
votes
0answers
282 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
35 views

Openldap configuration on RHEL 6.6 client

We have a shell script which runs perl program to connect to LDAP server and make entries. This is the only script which uses ldap. This server is hosting all batch related files and run batch jobs ...
1
vote
0answers
22 views

Awstats shows no operating system

I have AWStats running for two applications and for both no operating system is displayed. Instead only "unknown" is shown (100%). All the other stats are interpreted correctly, only the operating ...
1
vote
0answers
43 views

Unable to query DKIM because of DNS timeout

I run dkimproxy to sign outbound email and verify inbound email. Since a while, I am experiencing the following permanent problem. The dkimproxy service is unable to query the DNS. Each and every ...
1
vote
0answers
26 views

Building old Perl from source - How to add math library?

When I make Perl 5.10.1 I get some errors, I found some related threads that stated: The error messages are from the linker, not from the compiler. You should get away by placing a -lm at the end ...
1
vote
0answers
10 views

Clean way to run Perl CGI script on Mac?

I'm trying to run a server to serve a Perl file on my Mac, but I'd like to not use Apache and its CGI. Is there a clean way, a la Python's SimpleHTTPServer, to run Perl without mucking with Apache?
1
vote
0answers
45 views

perl smokeping false packet loss (solved)

I'm getting false packet loss from time to time. The period lasts about month, you can see it on graph. We checked it using the same fping command and got no loss at all. So maybe were are hosts limit ...
1
vote
0answers
84 views

HLS loadtest with VLC without GUI

Im out to test how many connections my HLS stream can handle. So i think that VLC without GUI can be usefull to do the work. But the problem is that i'm not manage to start the stream without ...
1
vote
0answers
58 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
128 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 test....
1
vote
0answers
1k 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
83 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
498 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 /usr/lib/perl5/...
1
vote
0answers
300 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
619 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
612 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
2k 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
41 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: vanillaforums-hk4jxv....
1
vote
0answers
2k 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
37 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 ...
0
votes
0answers
26 views

check_esx.pl doesn't work

I try to execute a shinken plugin: /var/lib/shinken/libexec/check_esx3.pl. It fails. error CHECK_ESX3.PL CRITICAL - Server version unavailable at 'https://dc-srv03.rthd.intra:443/sdk/vimService.wsdl'...
0
votes
0answers
28 views

Ubuntu hangs while running make test in IO Socket ssl

Hello I am running ubuntu 14.04 and perl version 5.23.9 (compiled) When I try to build the IO::Socket::SSL module , the machine always freezes. So I installed the module manually. Download from ...
0
votes
0answers
21 views

perl custom script to delete exim queue

Some years ago I wanted to lean perl and written a script to delete the exim queue if a condition is met: #!/usr/bin/perl use strict; use warnings; use Mail::Sendmail; my $host = `/bin/hostname`; ...
0
votes
0answers
40 views

NFSen - init.d script not working but it can be run manually

I recently installed NFSen to get the NetFLow from our Cisco and the application is working fine if I launch it manually with /etc/init.d/nfsen start but it does not start the processes automatically ...
0
votes
0answers
12 views

Configure IIS to log CGI Output/errors?

I am trying to debug some API problems with Bugzilla (written in Perl) on my IIS 8.5 install and need to know how to configure IIS 8.5 to log CGI output/errors. Is this possible to do and if so how? ...
0
votes
0answers
54 views

Script not found or unable to stat, in “.cgi” script in some location

I have many errors in directadmin "appache error log" like this: [Wed Jan 27 15:46:26.972238 2016] [cgi:error] [pid 15176] [client 135.83.212.120:18585] AH02811: script not found or unable to stat: /...
0
votes
0answers
20 views

Random newlines in CGI warnings written to the Apache error log

Since upgrading a server from Debian 7.8 to 8.2 (64-bit) the Apache upgrade (to 2.4.10) has introduced a very strange fault: random newlines in error_log. Example: [Mon Nov 16 13:29:54.388526 2015] [...
0
votes
0answers
67 views

I'm having trouble installing perl module Crypt::OpenSSL::AES

I'm having trouble installing a perl module onto my server called Crypt::OpenSSL::AES I'm using cpan to try to install it but it keeps coming back with an error: Checking if your kit is complete......
0
votes
0answers
39 views

lighttpd cgi.conf applying script path rather than documents path to returned data

I have an application that has both static html files and dynamic html file created using perl. The static pages are in a directory /usr/local/domain/htdocs with a number of sub-directories ...
0
votes
0answers
86 views

FastCGI: manager (pid YYYYY): server (pid XXXX) exited with status 13

FastCGI: manager (pid 6776): server (pid 20254) exited with status 13 FastCGI: manager (pid 6776): server (pid 18918) started FastCGI: server (pid 18918): initialized I am getting above mentioned ...
0
votes
0answers
23 views

Ocsinventory custom plugin not updating a new added field

I made a custom plugin for ocsinventory and it worked alright. The hostname gets updated on the plugin alright, but not the ipaddress that I added later. Here's the structure of the table: +----------...
0
votes
0answers
64 views

Perl scripts stopped working after Debian 8.1 upgrade

I am currently playing around on my dev server, to try and get it running the latest Debian (Jessie). I've got it all upgraded using this tutorial: http://linuxconfig.org/how-to-upgrade-debian-linux-...
0
votes
0answers
103 views

CentOS7.1 missing many perl rpms

I just install a Centos7.1! It seems to be missing soo many perl rpms. Ex: perl-PerlIO-gz, perl-DBD-Sybase... I can't seem to find them in any repo. Any ideas? Thanks,
0
votes
0answers
152 views

Where does Apache get the value for Perl @INC?

I run Apache2 server on Debian, user is set www-data and also group is www-data. When I run Perl CGI-scripts I noticed that their @INC differs from scripts I run from command line as same www-data-...
0
votes
0answers
104 views

Apache keep catching SIGTERM out of the blue

I have apache 2.2.15 server on CentOS release 6.6 (Final). It runs mod_perl and some perl scripts in junction with mysql DB. The problem I'm encountering is that from time to time apache gets SIGTERM ...
0
votes
0answers
59 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
208 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
250 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 ...