<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have an script for checking my database. I am getting an error but I am unable to trouble shoot.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please see error .<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/xymon/client/ext/bb-roracle.ksh[58]: (VAR0+=2),(VAR1+=2): syntax error<o:p></o:p></p><p class=MsoNormal>/xymon/client/ext/bb-roracle.ksh[58]: (VAR0+=2),(VAR1+=2): syntax error<o:p></o:p></p><p class=MsoNormal>bash-3.00#<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The script output is below. Part of the script is running. But the output is not being diaplayed on xymon web page.<o:p></o:p></p><p class=MsoNormal>See below:-<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>bash-3.00# more bb-roracle.ksh.16030.sun1_test<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal></pre><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Process Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>   &clear Database process test disabled<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Database Checks</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal>   &green Database check: cnp1 is up<o:p></o:p></p><p class=MsoNormal><br>   &clear User count check: Disabled<o:p></o:p></p><p class=MsoNormal><br>   &clear User check: Disabled<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Tablespace Check</b></FONT> (cnp1)(Show greens Y)<hr><o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:USERS totals 208.8Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:UNDOTBS1 totals 6585.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:TNIDX totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:TNDATA totals 1300.0Mb and is <B>4%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:TEPSIDX totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:TEPSDATA totals 100.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:SYSTEM totals 3200.0Mb and is <B>10%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:SYSAUX totals 570.0Mb and is <B>2%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:ROCIND totals 1300.0Mb and is <B>3%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:ROCDATA totals 9830.0Mb and is <B>28%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:ROC totals 1000.0Mb and is <B>2%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:PORTALIND totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:PORTAL totals 650.0Mb and is <B>2%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:OTSIDX totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:OTSDATA totals 400.0Mb and is <B>1%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSSMSP totals 30.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSSMS totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSPORTAL totals 200.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSONL totals 1180.0Mb and is <B>3%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSMFA totals 70.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSMAST totals 150.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSFRT totals 80.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSEPS totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSDECLARANT totals 30.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YE<o:p></o:p></p><p class=MsoNormal>S<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MNSBOELK totals 19.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MCCICO totals 450.0Mb and is <B>1%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:MASTUTOR totals 100.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:FPSDATA totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:EPSMOHENV totals 10.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:EPSMOH totals 60.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:EPSENV totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:DMSIND totals 5.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:DMSDATA totals 507.0Mb and is <B>1%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:CNPMS totals 10.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:CNPIND totals 4746.0Mb and is <B>13%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:CNP totals 20480.0Mb and is <B>50%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:BANKIND totals 800.0Mb and is <B>2%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:BANKDATA totals 4000.0Mb and is <B>11%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><br>   &green Tablespace cnp1:ARCH totals 50.0Mb and is <B>0%</B> used, AUTOEXTENSIBLE=YES<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Extent Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>   &green No objects are exceeding extent thresholds. Extent test ok.<o:p></o:p></p><p class=MsoNormal><br>   &clear Shadow check: Disabled<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>PIN hit ratio for lib cache Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>ERROR: invalid permissions for user (system) in cnp1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>SQL Area Hit Ratio Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>ERROR: invalid permissions for user (system) in cnp1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Block Buffer Hit Ratio Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>ERROR: invalid permissions for user (system) in cnp1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>Shared Memory Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>ERROR: invalid permissions for user (system) in cnp1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><br><FONT SIZE=+2><b>RollBack Check</b></FONT> (cnp1)<hr><o:p></o:p></p><p class=MsoNormal><br>   &red Object cnp1: ROLL BACK percentage for SYSTEM is <B><U><FONT COLOR=RED>98.97%</FONT></<o:p></o:p></p><p class=MsoNormal>U></B>.  Extremely High<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<br>Sailesh<o:p></o:p></p></div></body></html>