Skip to main content
sseriramalu
Staff
Staff
Feb 24, 2026 7:35 PM UTC

Troubleshooting Tip: FortiAnalyzer prompts 'command fail. Return code 256' when executing 'execute sensor list'

Description This article describes how to troubleshoot the 'command fail. Return code 256' prompt in FortiAnalyzer after executing the CLI command 'execute sensor list'.
Scope FortiAnalyzer ,FortiManager 
Solution
  1. Ensure the affected FortiAnalyzer/FortiManager model comes with IPMI (The Intelligent Platform Management Interface).
  2. For more information, see Technical Tip: FortiManager and FortiAnalyzer models that support monitoring of sensor readings.
  3. Perform the troubleshooting steps below:
    1. Gracefully shut down the FortiAnalyzer. It is necessary to keep integrity of the file system and DB:

 

exec shutdown

 

    1. Unplug power cords and follow the next step while all power cords are disconnected:
      • Press down the system power button (front-top-right) and hold it down for 30 seconds.
      • Release the power button (after 30sec)
      • Reconnect all power cords.
      • Power up the device by pressing the power button.

 

  1. Once FortiAnalyzer boots up, run the command again.

exec sensor list

   

  1. FortiAnalyzer should be able to display the output of 'exec sensor list'.
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024