The commit fails because the log receiver process exits on every commits
205
Created On 10/29/23 13:23 PM - Last Modified 10/22/25 02:47 AM
Symptom
- The commit will fail because the log receiver process has exited.
- Core will get generate with sd-wan rx bytes on thread
Thread 1 (Thread 0x7fc89c5ac700 (LWP 2828)):
#0 0x00007fc8aa7cead8 in pan_logrec_get_flatbuf_sdwan_impacted_link_rx_bytes (lr=<optimized out>) at pan_reports.c:527
#1 0x00007fc8a9e621b1 in pan_log_template_apply_int (trarg=trarg@entry=0x7fc89c5abbb0, lparg=lparg@entry=0x7fc89c5abc30, logrec=logrec@entry=0x56095756f1e2, logid=logid@entry=0, tmpl=tmpl@entry=0x560956ee09a0, sb=<optimized out>, html_fmt=<optimized out>, http_content_type=<optimized out>, corr_email=<optimized out>, fmt=<optimized out>) at pan_log_template.c:570
#2 0x00007fc8a9e63897 in pan_log_template_apply_http (trarg=trarg@entry=0x7fc89c5abbb0, lparg=lparg@entry=0x7fc89c5abc30, logrec=logrec@entry=0x56095756f1e2, logid=logid@entry=0, tmpl=tmpl@entry=0x560956ee09a0, sb=<optimized out>, html_fmt=0, http_content_type=PAN_HTTP_ASCII, fmt=PAN_LOGDB_STORAGE_FLATBUFFER) at pan_log_template.c:411
#3 0x00007fc8aa572c5a in pan_apply_log_template (logdata=logdata@entry=0x5609586fc5d0, logp=logp@entry=0x56095756f180, tmpl=<optimized out>, tld=tld@entry=0x560898dc21a0, html_fmt=html_fmt@entry=0, is_syslog=is_syslog@entry=1, http_content_type=PAN_HTTP_ASCII) at pan_logforward.c:1286
#4 0x00007fc8aa573881 in pan_logfwd_syslog_handler (task=<optimized out>) at pan_logforward.c:1428
#5 0x00007fc8aa8b3f9d in _taskq_worker_impl (thread=<optimized out>, line=<optimized out>, func=<optimized out>, file=<optimized out>, worker_arg=0x560898d6a7e0) at pan_taskq.c:640
#6 _taskq_worker (worker_arg=0x560898d6a7e0) at pan_taskq.c:679
#7 0x00007fc8a855eeb5 in start_thread (arg=0x7fc89c5ac700) at pthread_create.c:307
#8 0x00007fc8a95d78fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Environment
- PAN-OS
- Log forwarding
- Commit
Cause
- The issue is that the SD-WAN has been configured for log forwarding, but it does not actually exist.
- With this invalid configuration, when committing, the log receiver does not recognize it as valid. As a result, it exits from the commit process and generates a core.
Resolution
- For any log forwarding profile, if the SD-WAN logs are set to forward but the SD-WAN is not utilized, please remove the SD-WAN log configuration.