I have SQL 2008 R2 Base (10.50.1600) installed on a server running Windows 2008 R2 (no service pack).
SQL log shows the final DB backup completed at 12:24AM. There is nothing in the log until 3:18AM when you see SQL getting shut down. It didn't come back up until I restarted it later in the morning.
2013-08-20 00:24:53.72 Backup Database backed up. Database: FlowCastArchive, creation date(time): 2012/12/21(07:03:21), pages dumped: 474, first LSN: 118:13731:48, last LSN: 118:13750:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'G:\Backups\User\FlowCastArchive\FlowCastArchive_backup_2013_08_20_002304_0936847.bak'}). This is an informational message only. No user action is required.
2013-08-20 03:18:18.19 spid52 Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.
2013-08-20 03:18:18.19 spid52 FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2013-08-20 03:18:20.00 spid14s Service Broker manager has shut down.
2013-08-20 03:18:22.73 spid7s SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.
2013-08-20 03:18:22.76 spid7s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2013-08-20 03:18:22.86 Server The SQL Server Network Interface library successfully deregistered the Service Principal Name (SPN) [ MSSQLSvc/PMC-PIA-DB17.intranet.osfnet.org ] for the SQL Server service.
2013-08-20 03:18:22.86 Server The SQL Server Network Interface library successfully deregistered the Service Principal Name (SPN) [ MSSQLSvc/PMC-PIA-DB17.intranet.osfnet.org:1433 ] for the SQL Server service.
SQL Agent error log shows
2013-08-20 03:18:16 - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...
2013-08-20 03:18:18 - ? [098] SQLServerAgent terminated (normally)
Windows error logs show me nothing more than a SQL Server shutdown taking place at 3:18AM. In the event log shutdown entry, the userID that performed the shutdown was the service account we run SQL under.
I don't have a dump file. The Windows guys tell me there were no MS updates being applied. The SQL Services all have the Recovery tab configured to auto-restart SQL (twice) if it goes down unexpectedly. From what I can tell, it was a graceful shutdown. It never tried to restart.
I checked the default trace file and saw an application admin connected to a DB on the server at 3:13AM. He claims he never got connected to the DB but the command shows as being successful in the trace file. He does have admin privs on the machine.
I need to provide a root cause for this downtime. I have been at this for hours. How can I determine if the OS shut SQL down or if something else did? I think I have read every post out there. Does anyone have any suggestions as to other things I should look at?