For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

jlarger's avatar
jlarger
Icon for Cirrus rankCirrus
Oct 07, 2022
Solved

Capturing load sys config verify errors to a file

If I pipe tmsh load sys config verify to file, and an error is generated, the system message for that error is not captured to the file.  

I am simply using:

tmsh load sys config verify >> /path/name.txt

This is piped to the file:

Validating system configuration...
/defaults/asm_base.conf 

etc etc 

But not this system message:

01070585:3: Virtual server (/Common/somevs) cannot reference rule (/Common/somerule) more than once (check persistence, auth and rules).
Unexpected Error: Validating configuration process failed.

How can I pipe the error to the file also?

  • Try using

    tmsh load sys config verify &> /path/name.txt

    to get both standard error and command output

1 Reply

  • Try using

    tmsh load sys config verify &> /path/name.txt

    to get both standard error and command output