Errata

Unix for Oracle DBAs Pocket Reference

Errata for Unix for Oracle DBAs Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 98
Lsast code block

The last code block contains the following statement:

if [ $oracle_num -gt 0 ]
then
exit 0
fi

This is not correct, because if $oracle_num is greater than
zero, if the database CANNOT be reached ("error" was detetected
in output). The mail should only be send
in the case of an error ( $oracle_num > 0 ).

The statement should read:

if [ $oracle_num -eq 0 ]
then
exit 0
fi

Anonymous   
Printed Page 98
Lsast code block

The last code block contains the following statement:

if [ $oracle_num -gt 0 ]
then
exit 0
fi

This is not correct, because if $oracle_num is greater than
zero, if the database CANNOT be reached ("error" was detetected
in output). The mail should only be send
in the case of an error ( $oracle_num > 0 ).

The statement should read:

if [ $oracle_num -eq 0 ]
then
exit 0
fi

Anonymous