Hi all<br><br>I just had a scan through one of my old USB thumb-drives on my key-ring, and behold, I found a copy of my version from 2006.<br>Doing a compare though, I see the only change is to use a different instance of ksh.<br>
I think I must have got fed up trying to mod the code.<br><br>Sorry I can't help you much further.<br><br>Regards<br>     Vernon<br><br><br><br><div class="gmail_quote">On 12 December 2011 06:28, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I remember bumping into this one some time back.<br>I cannot remember how I fixed it - although I have vague recollections of modifying it to suite my ksh version.<br>
That was about 5 or 6 contracts ago, so I no longer have the code, but I think I did pass it on to somebody on the list.<br>
<br>There is also a remake of bb-moracle on the Xymonton web page. It looks like it needs sh, making it a little more portable.<br>Why not check if that will suit you needs?<br><br>Regards<br>     Vernon<div class="HOEnZb">
<div class="h5"><br><br><br><div class="gmail_quote">
On 10 December 2011 23:44, Gore, David W (David) <span dir="ltr"><<a href="mailto:david.gore@verizon.com" target="_blank">david.gore@verizon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

It may be important to keep in mind the different versions of Korn shell.  I cannot remember which script assumed that I had ksh93 which wasn't the version installed on our Solaris machines, maybe it was AIX or HPUX who knows. So it caused errors that could only be resolved by knowing the differences and how to resolve those differences between the older and newer versions of Korn shell.  Regardless, although it took me some time to understand some database details, <a href="http://dbcheck.pl" target="_blank">dbcheck.pl</a> seemed to be a better tool that you can run from the Xymon server.<br>


<span><font color="#888888"><br>
<br>
~David<br>
</font></span><div><div><br>
-----Original Message-----<br>
From: <a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a> [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>] On Behalf Of <a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a><br>


Sent: Wednesday, December 07, 2011 07:37<br>
To: Sailesh<br>
Cc: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: Re: [Xymon] error on script<br>
<br>
On Wed, 7 Dec 2011 12:08:54 +0400, "Sailesh"<br>
<<a href="mailto:sailesh.mohabeer@mns.intnet.mu" target="_blank">sailesh.mohabeer@mns.intnet.mu</a>> wrote:<br>
> I have an script for checking my database. I am getting an error but I<br>
am<br>
> unable to trouble shoot.<br>
><br>
> /xymon/client/ext/bb-roracle.ksh[58]: (VAR0+=2),(VAR1+=2): syntax error<br>
> /xymon/client/ext/bb-roracle.ksh[58]: (VAR0+=2),(VAR1+=2): syntax error<br>
> bash-3.00#<br>
<br>
The script appears to use the Korn Shell (ksh), so you'll have to install<br>
that for it to work. From the command prompt, it seems you are running<br>
Bash.<br>
<br>
On Linux, you can usually install the "ksh" or "pdksh" packages to get a<br>
working ksh. And make sure the first line of the script points to your<br>
"ksh" binary, like<br>
<br>
  #!/bin/ksh<br>
<br>
if it is installed in /bin<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>"While it is futile to try to eliminate risk, and questionable to try to minimize it, it is essential that the risks taken be the right risks. "<br>

- Peter F. Drucker <br><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>"While it is futile to try to eliminate risk, and questionable to try to minimize it, it is essential that the risks taken be the right risks. "<br>
- Peter F. Drucker <br><br>