Machine crashes after installing perl

4 posts / 0 new
Last post
bwarbis
Offline
Last seen: 7 years 4 months ago
Joined: 27.06.2013 - 16:09
Machine crashes after installing perl

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?

itefix
Offline
Last seen: 22 min 35 sec ago
Joined: 01.05.2008 - 21:33
Paid editions come with

Paid editions come with Cygwin perl which is known to work without problems. We have not any experience with other perl interpreters.

brian@haberstroh.com
Offline
Last seen: 7 years 2 months ago
Joined: 18.07.2013 - 17:17
OK, So I broke down and

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!

 

itefix
Offline
Last seen: 22 min 35 sec ago
Joined: 01.05.2008 - 21:33
You can simply use cpan

You can simply use cpan command to install missing perl modules.