Ask the Community
Groups
Test scripts exit codes - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Application Test exit codes</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <div>Those are the values returned when application tests for a VM are being executed:</div> <div> <p> </p> <div>Check Exchange Integrity:</div> <div> <div> /// 0 - Ok</div> <div> /// 2 - Not enough arguments</div> <div> /// 3 - Database file not found</div> <div> /// 4 - Exception running Exchange database integrity command</div> </div> <div> </div> <div>Check Ping:</div> <div> <div> /// 0 - Ok.</div> <div> /// 1 - Without conectivity</div> <div> /// 2 - Bad arguments</div> </div> <div> </div> <div>Check Service:</div> <div> <div> /// 0 - Ok. If every service is running</div> <div> /// 92 - Service name not found</div> <div> /// 93 - Exception starting service</div> <div> /// 94 - Exception pausing service </div> <div> /// 95 - Exception resuming service</div> <div> /// 96 - Exception stopping service</div> <div> /// 97 - Error obtaining service's state</div> <div> /// 101 - A service name is required</div> <div> /// 102 - Wrong timeout format</div> <div> /// 103 - Service is not running<br><br>Check SQL Query:</div> </div> <div> <div> /// 0 - Ok</div> <div> /// 2 - Not enough arguments</div> <div> /// 3 - Exception opening database connection</div> <div> /// 4 - Exception running SQL query</div> <div> /// 5 - Outputs don't match</div> <div> /// 6 - Exception closing database connection</div> </div> <div> </div> <div>Check Web Site:</div> <div> <div> /// 0 - Ok. </div> <div> /// 111 - Not enough arguments</div> <div> /// 112 - Exception requesting HTML code</div> <div> /// 113 - Keywords don't match</div> <div> </div> <div> </div> <div> <div> <br> </div> <div> </div> <p> </p> </div> </div> </div> </article> </main>