var/log/syslog
:2022-05-27T11:50:58.409768+00:00 edge01.corp.local NSX 8006 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="ERROR" errorCode="EDG9999999"] [########-####-####-####-##########08] init_by_lua error: error loading module 'ruleset' from file '/config/vmware/edge/lb/etc/########-####-####-####-##########08/ruleset.lua':#012#011.../lb/etc/########-####-####-####-##########08/ruleset.lua:55: invalid escape sequence near '"$appname'#012stack traceback:#012#011[C]: at 0x6d6d13c94380#012#011[C]: in function 'require'#012#011init_by_lua:3: in main chunk
> get load-balancer ########-####-####-####-##########08 status
Fri May 27 2022 UTC 11:12:49.104
24304: Internal Error: Query LB Engine Failed.
> get load-balancer ########-####-####-####-##########08 snat-pools
Fri May 27 2022 UTC 11:14:39.070
% An unexpected error occurred: LB service is not running currently
> get load-balancer ########-####-####-####-##########08 diagnosis
Fri May 27 2022 UTC 11:53:23.950
Checking
Action : checking system
Result : passed
Action : checking crash
Result : passed
Action : checking daemon status
Result : passed
Action : checking configuration
Result : not_found_in_db: LbCurrentMsg -> this error is on the impacted LB.
"header_value": "$newname\\.$_server_addr"
Remove the special character from REGEX condition in the Load balancer rule.