Multiple errors are displayed after running the "show ha syncfailures" command on HA secondary node

Multiple errors are displayed after running the "show ha syncfailures" command on HA secondary node

book

Article ID: CTX489560

calendar_today

Updated On:

Description

Multiple errors are displayed after running the "show ha syncfailures" command on the HA secondary node, like below: 
----------
> show ha syncfailures
exec: bind policy patset ns_vpn_client_useragents AGEE -index 1 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_vpn_client_useragents CitrixReceiver -index 2 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_vpn_client_useragents AGMacClient -index 3 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_vpn_client_useragents "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0" -index 4 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_vpn_client_useragents "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0" -index 5 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents Apple-iPhone -index 1 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents Apple-iPad -index 2 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents SAMSUNG-GT -index 3 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents "SAMSUNG GT" -index 4 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents AirWatch -index 5 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: bind policy patset ns_aaa_activesync_useragents "TouchDown(MSRPC)" -index 6 -charset ASCII
ERROR: Pattern index already in use, try using other index
exec: add authentication noAuthAction NO_AUTHN
ERROR: Action name is already in use [by an authentication action]
exec: add ssl certKey ns-server-certificate -cert ns-server.cert -key ns-server.key -expiryMonitor DISABLED
ERROR: Resource already exists [certkeyName Object, ns-server-certificate]
exec: set bot settings -proxyPort 0
ERROR: Feature(s) not licensed [Bot]
exec: set ns cqaparam -lr1probthresh 0.00e+00 -lr2probthresh 0.00e+00
ERROR: Feature(s) not licensed [CQA]
exec: add urlfiltering Categorization
ERROR: Feature(s) not licensed [URLFiltering]
exec: set videooptimization parameter -RandomSamplingPercentage 0.00e+00
ERROR: Feature(s) not licensed [VideoOptimization]
----------

Environment

This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.

Resolution

Delete /var/nssynclog/sync_batch_failures.log file.

Problem Cause

1.When run "show ha syncfailures" command, the content printed in CLI is sourced from "/var/nssynclog/sync_batch_failures.log".
2.In customer's environment, the sync_batch_failures.log was generated at 2022/12/12, It means that ADC HA only had a sync failure event on 2022/12/12.