Description

License check core-dump was generated on a device without performing any actions.

 

This can happen when sending a snmp walk with license feature OID .1.3.6.1.4.1.2636.3.63.1.1.1.2.1.2.

 

root@device> show system core-dumps no-forwarding

 

-rw-rw---- 1 root wheel    798804 May 29 22:09 /var/tmp/license-check.core-tarball.0.tgz

-rw------- 1 root wheel    700377 May 29 23:23 /var/tmp/license-check.core.1.gz

total files: 2

Host Crash Info:

------------------------------------------------------

No corefiles present on the host.

 

 

Symptoms

logs from var/logs:

May 29 22:08:09.056  device inetd[7250]: /usr/sbin/sshd[54812]: exited, status 255
May 29 22:08:33.936  device jlaunchd: license-service (PID 10353) terminated by signal number 11. Core dumped!
May 29 22:08:33.936  device jlaunchd: Registered PID 54950((null)): exec_command
May 29 22:08:33.936  device jlaunchd: Dump Command: /bin/sh (PID 54950) started
May 29 22:08:33.937  device jlaunchd: Registered PID 54951(license-service): exec_command
May 29 22:08:33.937  device jlaunchd: license-service (PID 54951) started
May 29 22:08:33.937  device jlaunchd: Registered PID 54951(license-service): new process
May 29 22:08:34.039  device license-check[54951]: LIBJSNMP_SA_IPC_REG_ROWS: ns_subagent_register_mibs: registering 3 rows
May 29 22:08:36.224  device phone-home: PHCD_TRACE: [CONFIG] phcd_platform_tvp_data_init: support ph_led:0 jweb:0 att:0 ph_supports_vc:0
May 29 22:08:36.228  device phone-home: PHCD_TRACE: [CONFIG] main: Parsed cli options: xml:1,logLevel:0, vflag:1
May 29 22:08:49.095  device dyn-sess-prof: DYN-SESS-PROF-NOT-SUPPORTED: show_shm_statistics: Command supported only on BBE platforms. Current platform: pvi-model
May 29 22:08:55.750  device subinfo: LIBSDB_CLIENT_COUNT_SUPPORT_SCALING_TYPE: Scaling type of this platform is 2 
May 29 22:08:55.750  device subinfo: LIBSDB_MODEL_BASED_CLIENT_COUNT_SUPPORTED: model: 169 supported_clients: 48000 
May 29 22:09:34.394  device dumpd: Core and context for license-check saved in /var/tmp/license-check.core-tarball.0.tgz
May 29 22:09:35.291  device mgd[54970]: UI_CHILD_SIGNALED: Child received signal: PID 54971, signal Terminated, command='/usr/libexec/ui/show-support'
May 29 22:09:44.599  device sshd[55401]: Accepted password for a1ngdcupgrade from 10.220.36.56 port 53474 ssh2

 

Solution

On this box there could a license which is not licensable or not supported on any of the features and it is getting added to the license patricia tree because of this bug and hence the core.

This is a generic issue and is not related to any specific feature. This is removed in the new upgrades.

 

This fix was used to :

"Skip adding licensing features to SNMP patricia tree which are not supported on any platform."

 

Fixed version - junos:21.2R3-S5 

junos:21.4R3-S4

junos:22.4R3

junos:23.1R2

junos:23.2R1

junos:23.3R1

Modification History

2024-07-09 : Article Created