Skip to main content
axel_gonzalez_FTNT
Staff
Staff
February 6, 2022

Troubleshooting Tip: How to troubleshoot TCL script failure in FortiManager

  • February 6, 2022
  • 0 replies
  • 4958 views

Description

 

This article describes how when a TCL Script is running in FortiManager, it is possible to see that it will not install it due to errors like 'running tcl script failed. Reason: Run script fail'.

 

Follow the recommendations below.

 

Scope

 

FortiManager.

 

Solution

 

Make sure the FortiGate has an updated and valid user/password under 'Device Manager' of the FortiManager.

 

axel_gonzalez_FTNT_3-1643923899955.png

 

Try to log in using the CLI Widget using System Information under the 'Device manager' of the FortiManager.

 

axel_gonzalez_FTNT_1-1643923428048.png

 

Make sure to have connectivity with the user and consider that if the user has a Trusted host enabled, it is necessary to add the network segment 169.254.0.0/24.

 

axel_gonzalez_FTNT_2-1643923584330.png

 

After validating the user/password and ensuring connectivity is acceptable, it is necessary to know that all TCL scripts may fail due to an invalid command being used.

 

It is possible to get more details in FortiGate by running the following command.

Share output with TAC support if there are any reasons why it is failing.

 

diagnose debug cli 8

diagnose debug application sshd -1

diagnose debug enable

 

Related document: