Error: "Some commands failed" When Generating Reports from NetScaler Appliance

Error: "Some commands failed" When Generating Reports from NetScaler Appliance

book

Article ID: CTX121511

calendar_today

Updated On:

Description

When generating reports on the NetScaler appliance, the appliance displays the following error messages:
Error retrieving data.
Return code = 1059.
Error Message = Some commands failed.

    Resolution

    To resolve this issues, switch to the shell prompt of the NetScaler appliance and run the following commands:
    # rm –rf /var/log/db/default
    # /netscaler/nscollect stop
    # /netscaler/nscollect start &


      Problem Cause

      Starting NetScaler software release 9.0, the appliance includes the nscollect process. This process collects the data from the NetScaler appliance and store in an XML data source. The data source is used to create various report graphs in the Reporting tab of the NetScaler GUI.

      At times the XML file, which can be up to 10,000 lines, might get corrupted. The nscollect process does not recover the data in this file and still accesses the file. As a result this issue is noticed.

      Issue/Introduction

      When generating reports on the NetScaler appliance, the appliance displayed the following error messages: Error Message = Some commands failed.