016-06-19 after windows updates were installed and system was rebooted SQL Server agent started and few seconds after stopped. After manual start of SQL Server Agent service by using SQL Server configuration manager it stops again.
The following items are displayed in Agent Log:
Date 6/19/2016 2:12:38 AM
Log SQL Server Agent (Archive #9 - 6/19/2016 2:11:00 AM)
Message
[LOG] Exception 5 caught at line 4175 of file d:\b\s2\sources\sql\mpu\sqlagent\src\job.cpp. SQLServerAgent initiating self-termination
Date 6/19/2016 2:12:40 AM
Log SQL Server Agent (Archive #9 - 6/19/2016 2:11:00 AM)
Message
[000] Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457) Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000]
(Message 15457) Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)
Date 6/19/2016 2:12:40 AM
Log SQL Server Agent (Archive #9 - 6/19/2016 2:11:00 AM)
Message
[097] Memory leak detected [2048 bytes]
Date 6/19/2016 2:12:40 AM
Log SQL Server Agent (Archive #9 - 6/19/2016 2:11:00 AM)
Message
[098] SQLServerAgent terminated (normally)
Microsoft SQL Server Enterprise: Core-based Licensing (64-bit)SQL Server
SQL Server version 12.0.4213.0
Windows Server 2012R2