[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     RE: [snips-users] Problems with snipsperl.conf...

Did you manage to get the notifier.pl script working? (same system.  RH 7.1
i386 , perl 5.6.1)

I get the following outputs

Use of uninitialized value in pattern match (m//) at
./notifier.pl.doesntwork line 172.
Use of uninitialized value in pattern match (m//) at
./notifier.pl.doesntwork line 172.
Argument "`" isn't numeric in subtraction (-) at ./notifier.pl.doesntwork
line 177.
Use of uninitialized value in localtime at ./notifier.pl.doesntwork line
181.
Use of uninitialized value in substitution iterator at
./notifier.pl.doesntwork line 220.

And I can't seem to find anything untowards in the script.  I am hacking
away at it.. But can't seem to get it going.   

Also my keepalive monitors fails with the following error.

No monitors for ARRAY(0x8105b10) at ./keepalive_monitors.pl line 58.

Yet the old nocol one works so that's what I am currently using.


> -----Original Message-----
> From: Lightfoot, Kirk [mailto:klightfoot at station sony.com] 
> Sent: Wednesday, 15 August 2001 5:52 a.m.
> To: 'snips-users at navya com'
> Cc: 'snips-bugs at navya com'
> Subject: [snips-users] Problems with snipsperl.conf...
> 
> 
> I'm running Snips 1.0 on a RedHat 7.1 Intel machine with perl 
> version 5.6.1. I was getting the following errors when 
> executing the keepalive script from snips 1.0
> 
> cannot chdir $snipsroot/bin No such file or directory at 
> ./keepalive_monitors.pl line 78.
> 
> I was able to fix this by replacing the following lines in 
> snipsperl.conf
> 
> $snipsroot = q(/usr/local/snips) unless $snipsroot;     # SET_THIS
> $etcdir    = q($snipsroot/etc)  unless $etcdir; # location of 
> config files
> $bindir    = q($snipsroot/bin)  unless $bindir;
> $rundir    = q($snipsroot/run)  unless $rundir;
> 
> with this...
> 
> $snipsroot = "/usr/local/snips" unless $snipsroot;     # SET_THIS
> $etcdir    = "$snipsroot/etc"  unless $etcdir; # location of 
> config files
> $bindir    = "$snipsroot/bin"  unless $bindir;
> $rundir    = "$snipsroot/run"  unless $rundir;
> 
> I hope this helps anyone having similar problems...
> 
> -Kirk
> 
> 
> Kirk Lightfoot
> Sr. Unix Administrator
> Sony On-Line Entertainment
> 

The information contained in this email is privileged and confidential
and intended for the addressee only. If you are not the intended 
recipient, you are asked to respect that confidentiality and not 
disclose, copy or make use of its contents. If received in error 
you are asked to destroy this email and contact the sender immediately. 
Your assistance is appreciated.

Zyrion Traverse Network Monitoring & Network Management Software