Technical Tip: Unable to run debug command
| Description | This article describe the configuration to verify if administrator could not run debug commands in FortiGate CLI.
In some environments, administrator can be restricted to perform debug/diagnostic but still allowed to perform configuration. |
| Scope | FortiGate |
| Solution | If the 'Unknown action 0' error appears when running the debug command as below:
diagnose debug application sslvpn -1
Check the user admin profile using the following command:
show full system accprofile
The administrator will not be allowed to run the diagnostic commands if 'system-diagnostics' is set to disable.
To allow the administrator to have right to perform diagnostic (Only super admin can change this setting).: Enable Permit usage of CLI diagnostic commands from system > Admin profile:
CLI command: config system accprofile edit <adminprofile_name>
Note:
Additionally, enable cli-diagnose in the CLI:
config system accprofile edit <adminprofile_name>
Related document: |


