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.
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 &
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.