From the Perl documentation: 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 language ...
-2
votes
0answers
28 views
Can't locate Bugzilla/Search/Recent.pm in @INC
Software error:
Can't locate Bugzilla/Search/Recent.pm in @INC (@INC contains: . lib C:/Bugzilla/perl/perl/lib C:/Bugzilla/perl/perl/site/lib) at CGI.pm line 30.
BEGIN failed--compilation aborted at ...
0
votes
1answer
33 views
Install Facebook Perl Module Debian
I'm getting an error
Can't locate Facebook.pm
I'm wondering if anyone can tell me how to install the perl facebook module under debian.
Thanks
the full error is
Can't locate Facebook.pm in ...
-1
votes
0answers
19 views
Can I execute complicated linux command inside perl? [closed]
Possible Duplicate:
how can execute complicated linux command inside perl
Sir,
#!/usr/bin/perl
@HOSTS = ("192.168.14.112", "192.168.14.90", "192.168.160.1", "192.168.160.100");
...
-3
votes
1answer
39 views
how can execute complicated linux command inside perl [closed]
#!/usr/bin/perl
@HOSTS = ("192.168.14.112", "192.168.14.90", "192.168.160.1", "192.168.160.100");
my $COUNT = 4;
my $date =`date`;
for my $myHost (@HOSTS) {
**$count = `ping ...
1
vote
2answers
56 views
How to call perl from crontab?
I can run this command fine from the SSH console of my rackservers shared hosting:
cd /home/myaccount/public_html/whatever; perl -w
-I/home/myaccount/public_html/whatever rss2txt.pl ...
0
votes
1answer
87 views
Config Server Firewall: You need to install the missing perl modules and then install cxs
I am trying to install config server firewall however when i follow the tutorial and run install.sh i get the following error. Can anyone help?
root@localhost:~/csf# sh install.sh
Configuring for OS
...
2
votes
2answers
54 views
Perl command line + add PATH before string in file
I want to add the PATH - /usr/local/bin/perl befpore string in the file by perl command line ( the perl command line must be in my bash script ) , I have solaris machine
the target to add - ...
-1
votes
0answers
40 views
Compile error during Inline::Python install on Amazon EC2
While attempting to install Inline::Python, directly from a CPAN shell command, I get the compile errors shown below.
QUESTION: how to install a Inline::Python that runs under Perl 5.10.1 on this EC2 ...
1
vote
0answers
11 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
29 views
How to listen for SNMP Traps from SNMP enabled network devices?
I just began working for my school's networking department, and I was assigned a project to develop a program to listen for traps from SNMP network devices.
The device I am testing with an Access ...
2
votes
2answers
44 views
perl + Match last number in file and reduce it by one
I want to add the following perl command in my bash script please advice
how to change (reduce by one ) the last number that start with "+" character in file with perl ?
Example of original file ( ...
0
votes
1answer
80 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
16 views
Perl Script to Make Dynamic Apache MPM-ITK Config
I have multiple users with their own /home folder. These users also sub-domain of my server. for example :
mac.example.com >> /home/mac.example.com
max.example.com >> ...
0
votes
1answer
47 views
nginx redirect issue with upstream configuration
I have a website running with nginx and Plack/Starman as upstream. simple configuration looks like:
upstream findmjob {
server unix:/tmp/findmjob.sock;
}
server {
listen 80;
...
0
votes
0answers
12 views
After upgrading ActivePerl from 5.10.1 to 5.14.1 mod_dav_svn throws an error?
We have a very awkward Windows Sever 2003 R2 SP2. It's configured to not have a proper internet connection for various reasons. So to upgrade our bugzilla installation, I first installed and ...
1
vote
1answer
23 views
How to grep string in perl [closed]
How to grep the string in perl.
Variable sessionWeb contains a web page html code. I want to grep "active Sessions" from this and want to print as below. For example the line in the web page will be
...
1
vote
2answers
109 views
What's wrong with this installation of Net::SSH2 Perl module?
I am trying to install Net:SSH2 Perl module, but I run in this error:
[root@script-server fmzbih_cms_weather_updater]# cpanm Net::SSH2
--> Working on Net::SSH2
Fetching ...
0
votes
1answer
29 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
71 views
awk + perl + get two arguments in to awk syntax
please advice what wrong with my awk syntax and how to fix it ( this syntax is in my ksh script ) and I run my script on linux machine
my target is to get from the file.txt only the lines that ...
-1
votes
2answers
55 views
merging two files using perl keeping the copy of original file in other file [closed]
I have to files like A.ini and B.ini ,I want to merge both the files in A.ini
examples of files:
A.ini::
a=123
b=xyx
c=434
B.ini contains:
a=abc
m=shank
n=paul
my output in files A.ini should be ...
1
vote
2answers
79 views
Perl missing while installing nginx on centos
I am trying to install nginx on my server, however it keeps returning "./configure: error: perl 5.6.1 or higher is required" eventhough I have perl v5.8.8!!!!
I have already downloaded perl and ...
7
votes
2answers
374 views
Why are all Linux commands broken after installing Perl?
I installed perl using following command:
curl -L http://xrl.us/installperlnix | bash
after that i run following command to create soft link
ln -sf /usr/local/bin/perl /usr/bin/perl
now I'm ...
1
vote
0answers
50 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
1answer
68 views
Perl sendmail attach log files match date format
I want to send log files matching date format, e.g. YYYY-MM-DD-*.log as attachments in Perl script. In BASH, this can be easily done by:
[ -f $DIR/explog/$(date "+%Y-%m-%d")-*-host1.log ] && ...
0
votes
2answers
88 views
Mail::Sendmail with attachments and embed Perl in Bash script
1> I want to embed below Perl script in BASH script, and the Message should read from a message.txt file. How to realize this?
use Mail::Sendmail;
%mail = ( To => 'you@there.com',
...
0
votes
1answer
37 views
Mount remote partition using perl scripts
I am trying to mount remote server partition to put backup. I already have th perl script to take backup of data. I trying to add the mount command in the script. The below is the script, Please guide ...
2
votes
1answer
180 views
Squid with php or perl “url_rewrite_program” on windows
I want to redirect all my http proxy traffic to a perl or php script.
I have a working squid setup, and have this in my squid.conf
url_rewrite_program "c:\\squid\\redirect.pl"
But when I start ...
0
votes
2answers
28 views
What may be wrong with String::ToIdentifier::EN tests?
I try to install Perl module String::ToIdentifier::EN (as depndency of DBIx::Class::Schema::Loader) but it fails on tests. I googled those errors but get no picture, where is problem:
Building and ...
0
votes
0answers
30 views
Single MySQL DB - Multiple Servers Limiting Logins
Basically as the title says. I have two servers that talk to a central database. I want to be able to limit the logins so that only one server may talk to the DB at a time, but the login can have ...
0
votes
1answer
29 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
20 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
28 views
what is DDODBC.DAT
The file /var/local/odbc/DDODBC.DAT is being created/accessed on some (not all) servers when the database is accessed via Perl dbi:ODBC.
I did a full crawl through /var/local/odbc on a server that ...
-1
votes
1answer
109 views
installation & configuation the Apache 2 on OpenSuse 12.1 - a quick walktrough
experts, good day.
sorry for being the newbie - i am pretty new to linux and Apache.
i am pretty new to Linux i tried to installl & configure the Apache 2 on OpenSuse 12.1 - here my quick ...
1
vote
1answer
97 views
Nginx directory aliasing incorrectly passing to fcgi
I have a website virtual host, example.com, which is statically served out of /home/erealms/www.
However, the website runs through a series of perl scripts, which are located in various directories. ...
1
vote
1answer
48 views
perl equivalent of sh -e
In /bin/sh and /bin/bash (and I guess a lot of other shells), starting scripts with #!/bin/sh -e (or executing set -e in someplace in the script) would cause the script to abort when any command line ...
1
vote
2answers
71 views
Perl script and out of memory errors
We have a midsized server with 48GB of RAM and are attempting to import a list of around 100,000 opt-in email subscribers to a new list management system written in Perl. From my understanding, Perl ...
0
votes
2answers
71 views
Is this script nefarious?
This is sitting in my web site's cgi-bin. Should I be concerned about it?
#!/usr/bin/perl
print <<HTML;
Content-type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 ...
0
votes
3answers
76 views
Silent and scripted install of CPAN and Perl modules?
I need to install CPAN and some Perl modules automatically in a Scientific Linux (RHEL) installation script. Unfortunately the specific modules I want (at least one of them) cannot be found as RPM:s ...
1
vote
4answers
299 views
SSH key based authentication in Perl server
I have a server written in Perl that clients connect to in order to perform some management tasks. Without going into details I would like to achieve two things:
encrypt connection channel between ...
1
vote
2answers
36 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 ...
2
votes
2answers
62 views
Is Redhat Linux dependent on the install time version Perl?
I'm migrating from a Solaris server with Perl 5.6.1 to a Redhat Linux server with Perl 5.8.8 .
My stance is that we keep the newer version of Perl and do not downgrade to the older version to avoid ...
1
vote
2answers
74 views
How to tell is apache is configured to use perl?
I've spent enough time looking around for answers to this with google and I give up. Plenty of discussions about how to build apache with perl support but I want to find out how to tell if the apache ...
0
votes
1answer
64 views
Include Virtual SSI not working for CGI script
I have the following Server Side Includes within an .html file called test.html...
<!--#include virtual="/cgi-bin/myScript.cgi"-->
<!--#include virtual="/includes/myFile.html"-->
When ...
3
votes
4answers
137 views
SSH file transfers hang after ~700KB
OVERVIEW
I'm scripting SFTP file transfers on a Windows 7 box in the field. When I transfer zip files larger than a megabyte or so, the transfer (and SSH) stops unexpectedly after about 700KB. The ...
2
votes
1answer
313 views
SVN Authentication over Apache (DAV) and Redmine not work
NEED HELP!!! I installed apache2, svn and redmine on an ubuntu server. After that I tried to do my authentication for svn over the redmine accounts.
My apache config looks like this (stored in ...
0
votes
2answers
49 views
How can I install a perl module available only to my user ID?
I need to install some Perl Modules for my Perl scripts. However those modules are not available on the servers I want to run the scripts on. I also do not want to mess with server wide library ...
1
vote
1answer
36 views
weird behavior of perl's Compress-Zlib?
I'm been going crazy on this one...
I've been using the gzflush() function for years in my collectl tool and recently noticed something very unusual with it on debian. I'm actually thinking it's ...
0
votes
1answer
87 views
ksh + print the last value from parameter ( as $_ in perl)
I need advice - how to print the same last value in ksh scripts without to print param argument
for example in perl last value is $_ , but we not have this option in ksh script
example - of ksh ...
1
vote
1answer
106 views
perl process causing high server load, how to find what its doing
I've got a Debian webhosting machine with cpu loads around 11. Using top I see that perl is using 99% of the cpu as user www-data. How can I find out more about what perl is actually doing?
0
votes
0answers
282 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
...