After successfully upgrading the logical standby database from 11.2.0.4 to 19.11.0.0 and with the primary still on 11.2.0.4, below error is seen while applying logs on logical standby.
ORA-26808: Apply process AS02 died unexpectedly.
ORA-23421: job number 4002 is not a job in the job queue
CHANGES
Upgraded database from 11.2.0.4 to 19.11
CAUSE
Job exists on primary under sys schema is not present in standby and hence the statement is failing and causing the error on standby log apply
It is not required to sync 'SYS'.'JOB$' related transactions on logical standby
SOLUTION
Execute the below steps on Logical standby database to start the SQL apply: