I have installed Nagwin (free version) onto a win2k3 sr2 machine. Things seemed to be ok untill I installed active perl (32bit V5.16.3). Suddenly the machine started crashing every 2-3 min. So I un-installed both perl and nagwin.
I then installed perl first , then nagwin. All seemed fine (though I never started any nagwin services). I was just running the configuration file check as I was manipulating the config files. On my last check, once again the machine completely crashed. The computer is currently hosed and I am awaiting a physical being to go manually cycle it as it is now not comming back up correctly.,
1) Is there compatability issues with active state perl?
2) what versio of perl is compatable with nagwin? do I have to purchase the "small" package to get a correct version of perl?
3) If ther eis not an issue with this active state version of perl, do you have any clue as to why this is happening?
Paid editions come with Cygwin perl which is known to work without problems. We have not any experience with other perl interpreters.
OK, So I broke down and purchased the paid version. Now I am missing perl modules to peform the functions that I need to.
I tried to copy over DBI.pm and the DBI directory to the a porting of the path and it still can not find it.
The module was copied to:
C:\Program Files\ICW\lib\perl5\5.10
Please help. this is just one of may perl script I will need to write to check miscellaneous items. For example it is important that I check the actual connectivity of SQL server. Here is a simple script:
#!/usr/bin/perl
use 5.010;
use strict;
use DBI;
use Data::Dumper;
$|=1;
my $error='';
my $DBCONN_SERVER='';
my $dbh;
my $sth;
if(@ARGV[0])
{
$DBCONN_SERVER = @ARGV[0];
}else{
die("Required Server Name Missing");
}
$dbh=DBI->connect("dbi:ODBC:$DBCONN_SERVER", 'user', 'password') or die "Status: CRITICAL Couldn't connect to database: " . DBI->errstr;
$sth = $dbh->prepare("SELECT * from master..sysobjects(nolock)") or die "Status: CRITICAL Couldn't prepare statement: " . $dbh->errstr;
$sth->execute() or die "Status: CRITICAL Couldn't execute statement: " . $sth->errstr;
print "Status: OK\n";
exit;
Now I wrote/tested this script using ActiveState Perl (5.14) on a development machine, and it works fine. Being able to figure out how to install any missing modules would be great!
You can simply use cpan command to install missing perl modules.