Tagged Questions

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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.
...

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 ...

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
...

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 ...

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 ...

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 ...

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
...

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 ...

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 ...

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 ...

What's your rationale for when to write a Bash script and when to use a more powerful scripting language (Python, Perl, Ruby, ...)?
I'm finding that very simple scripts are nicer with Bash, but many ...