LogLogic Microsoft SQL Server Log Configuration Guide



Similar documents
LogLogic Trend Micro OfficeScan Log Configuration Guide

LogLogic General Database Collector for Microsoft SQL Server Log Configuration Guide

LogLogic Microsoft Dynamic Host Configuration Protocol (DHCP) Log Configuration Guide

LogLogic Cisco IPS Log Configuration Guide

LogLogic Cisco NetFlow Log Configuration Guide

LogLogic Microsoft Domain Name System (DNS) Log Configuration Guide

LogLogic Symantec Endpoint Protection Log Configuration Guide

Juniper Secure Access SSL VPN Log Configuration Guide

LogLogic Blue Coat ProxySG Syslog Log Configuration Guide

Microsoft Active Directory (AD) Service Log Configuration Guide

LogLogic Cisco NetFlow Log Configuration Guide

LogLogic Juniper Networks Intrusion Detection and Prevention (IDP) Log Configuration Guide

LogLogic Microsoft Internet Information Services (IIS) Log Configuration Guide

LogLogic Microsoft Windows Server 2000/2003 Log Configuration Guide

LogLogic Check Point Management Station Log Configuration Guide

LogLogic IBM i5/os Collector Guide

LogLogic Apache Web Server Log Configuration Guide

RSA Security Analytics

LogLogic McAfee Firewall Enterprise (Sidewinder) Log Configuration Guide

Setting up an MS SQL Server for IGSS

Dell InTrust Preparing for Auditing Microsoft SQL Server

Database Maintenance Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

MS SQL Server Database Management

IBM Security QRadar Version (MR1) WinCollect User Guide

Polycom CMA System Upgrade Guide

EMC Data Domain Management Center

PROJECTIONS SUITE. Database Setup Utility (and Prerequisites) Installation and General Instructions. v0.9 draft prepared by David Weinstein

User Migration Tool. Note. Staging Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted Release 9.0(1) 1

WhatsUp Gold v16.1 Installation and Configuration Guide

Microsoft SQL Server Security Best Practices

Sophos for Microsoft SharePoint startup guide

TROUBLESHOOTING GUIDE

Remote Management System

TIBCO LogLogic Log Management Intelligence (LMI) Configuration and Upgrade Guide

Moving the TRITON Reporting Databases

Copyright 2012 Trend Micro Incorporated. All rights reserved.

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Enterprise Manager. Version 6.2. Installation Guide

EVENT LOG MANAGEMENT...

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

3 Setting up Databases on a Microsoft SQL 7.0 Server

WhatsUp Gold v16.2 Installation and Configuration Guide

BrightStor ARCserve Backup for Windows

Support Document: Microsoft SQL Server - LiveVault 7.6X

WhatsUp Gold v16.2 Database Migration and Management Guide

Install SQL Server 2014 Express Edition

USER GUIDE WEB-BASED SYSTEM CONTROL APPLICATION. August 2014 Phone: Publication: , Rev. C

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

Database Migration and Management Guide v15.0

Hillstone StoneOS User Manual Hillstone Unified Intelligence Firewall Installation Manual

WhatsUp Gold v16.3 Installation and Configuration Guide

SafeCom G2 Enterprise Disaster Recovery Manual

WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express

How To Back Up Your Pplsk Data On A Pc Or Mac Or Mac With A Backup Utility (For A Premium) On A Computer Or Mac (For Free) On Your Pc Or Ipad Or Mac On A Mac Or Pc Or

DBMoto 6.5 Setup Guide for SQL Server Transactional Replications

Version 4.61 or Later. Copyright 2013 Interactive Financial Solutions, Inc. All Rights Reserved. ProviderPro Network Administration Guide.

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

Interworks. Interworks Cloud Platform Installation Guide

Dell KACE K1000 System Management Appliance Version 5.4. Service Desk Administrator Guide

Sage Estimating. (formerly Sage Timberline Estimating) SQL Server Guide

Using Logon Agent for Transparent User Identification

Immotec Systems, Inc. SQL Server 2005 Installation Document

QUANTIFY INSTALLATION GUIDE

Integrating LANGuardian with Active Directory

Installing RMFT on an MS Cluster

enicq 5 System Administrator s Guide

Protecting SQL Server Databases Software Pursuits, Inc.

Bosch ReadykeyPRO Unlimited Installation Guide, product version 6.5. This guide is item number DOC , revision 2.029, May 2012.

Spector 360 Deployment Guide. Version 7

System Monitoring Plug-in for Microsoft SQL Server User s Guide Release for Windows

NovaBACKUP xsp Version 15.0 Upgrade Guide

Management Center. Installation and Upgrade Guide. Version 8 FR4

SPHOL207: Database Snapshots with SharePoint 2013

WhatsUp Gold v16.0 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2005 Express

LogLogic Blue Coat ProxySG Log Configuration Guide

Nexio Connectus Cluster Set Up with SQL Server Backend

SteelEye Protection Suite for Windows Microsoft SQL Server Recovery Kit. Administration Guide

Business Intelligence Tutorial: Introduction to the Data Warehouse Center

Avatier Identity Management Suite

Rev 7 06-OCT Site Manager Installation Guide

FileMaker Server 12. FileMaker Server Help

How to Copy A SQL Database SQL Server Express (Making a History Company)

Copyright 2013 Trend Micro Incorporated. All rights reserved.

Troubleshooting Failover in Cisco Unity 8.x

Plesk for Windows Copyright Notice

File Auditor for NAS, Net App Edition

FileMaker Server 14. FileMaker Server Help

VMware Mirage Web Manager Guide

SQL Backup and Restore using CDP

Setup and configuration for Intelicode. SQL Server Express

NMS300 Network Management System

Migrating MSDE to Microsoft SQL 2008 R2 Express

KeyAdvantage System DMS Integration. Software User Manual

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

FileMaker Server 11. FileMaker Server Help

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

CaseWare Time. CaseWare Cloud Integration Guide. For Time 2015 and CaseWare Cloud

Using RADIUS Agent for Transparent User Identification

Microsoft SQL Server 2008 Administrator's Pocket Consultant

Transcription:

LogLogic Microsoft SQL Server Log Configuration Guide Document Release: March 2012 Part Number: LL600028-00ELS090002 This manual supports LogLogic Microsoft SQL Server Release 2.0 and later, and LogLogic Software Release 5.1 and later until replaced by a new edition.

2012 LogLogic, Inc. Proprietary Information Trademarks This document contains proprietary and confidential information of LogLogic, Inc. and its licensors. In accordance with the license, this document may not be copied, disclosed, modified, transmitted, or translated except as permitted in writing by LogLogic, Inc. LogLogic and the LogLogic logo are trademarks or registered trademarks of LogLogic, Inc. in the United States and/or foreign countries. All other company or product names are trademarks or registered trademarks of their respective owners. Notice The information contained in this document is subject to change at any time without notice. All warranties with respect to the software and accompanying documentation are set our exclusively in the Software License Agreement or in the Product Purchase Agreement that covers the documentation. LogLogic, Inc. 110 Rose Orchard Way, Suite 200 San Jose, CA 95134 Tel: +1 408 215 5900 Fax: +1 408 774 1752 U.S. Toll Free: 888 347 3883 www.loglogic.com

Contents Preface About This Guide.........................................................5 Technical Support........................................................5 Documentation Support.................................................... 6 Conventions............................................................. 6 Chapter 1 Configuring LogLogic s Microsoft SQL Server Log Collection Introduction to Microsoft SQL Server......................................... 7 Prerequisites............................................................ 8 Configuring Microsoft SQL Server for Audit s.............................. 8 Configuring Login and C2 Audit Logging on Microsoft SQL Server................ 8 Configuring Server-Side Traces.......................................... 11 Configuring Microsoft SQL Server for Trace File Log Collection................. 12 Purging Trace Files................................................... 16 Configuring Microsoft SQL Server for Operational s........................ 17 Installing and Configuring Lasso......................................... 17 Enabling the LogLogic Appliance to Capture Log Data........................... 17 Automatically Identifying a Microsoft SQL Server Device...................... 17 Adding a Microsoft SQL Server Device.................................... 18 Verifying the Configuration................................................ 21 Chapter 2 How LogLogic Supports Microsoft SQL Server How LogLogic Captures Microsoft SQL Server Log Data........................ 22 Supported Microsoft SQL Server Log Data.................................... 23 LogLogic Real-Time Reports............................................... 24 LogLogic Filters................................................... 25 Chapter 3 Troubleshooting Troubleshooting......................................................... 26 Frequently Asked Questions............................................... 27 Appendix A Reference LogLogic Support for Microsoft SQL Server s............................. 29 Microsoft SQL Server Log Configuration Guide 3

4 Microsoft SQL Server Log Configuration Guide

Preface About This Guide The LogLogic Appliance-based solution lets you capture and manage log data from all types of log sources in your enterprise. The LogLogic support for Microsoft SQL Server enables LogLogic Appliances to capture logs from machines running Microsoft SQL Server. Once the logs are captured and parsed, you can generate reports and create alerts on Microsoft SQL Server s operations. For more information on creating reports and alerts, see the LogLogic User Guide and LogLogic Online Help. Technical Support LogLogic is committed to the success of our customers and to ensuring our products improve customers' ability to maintain secure, reliable networks. Although LogLogic products are easy to use and maintain, occasional assistance might be necessary. LogLogic provides timely and comprehensive customer support and technical assistance from highly knowledgeable, experienced engineers who can help you maximize the performance of your LogLogic Appliances. To reach LogLogic Customer Support: Telephone: Toll Free, US 1 800 957 LOGS (5647) Toll 1 408 834 7480 Telephone: Toll Free, Canada 1 800 957 LOGS (5647) Toll 1 408 834 7480 Telephone: Toll Free, Mexico 1 800 957 LOGS (5647) Toll 1 408 834 7480 Telephone: Toll Free, United Kingdom 00 800 0330 4444 Toll 01480 479391 Telephone: Toll Free, Mainland Europe 00 800 0330 4444 Toll +44 1480 479391 Telephone: Toll Free, Japan C 0061 800 0330 4444 Toll Not Available Telephone: Toll Free, Japan KDD 0010 800 0330 4444 Toll Not Available Telephone: Toll Free, Brazil 0021 800 0330 4444 Toll Not Available Email: support@loglogic.com You can also visit the LogLogic Support website at: http://www.loglogic.com/services/support. When contacting Customer Support, be prepared to provide: Your name, email address, phone number, and fax number Your company name and company address Your machine type and release version A description of the problem and the content of pertinent error messages (if any) Microsoft SQL Server Log Configuration Guide 5

Documentation Support Conventions Your feedback on LogLogic documentation is important to us. Send e-mail to DocComments@loglogic.com if you have questions or comments. Your comments will be reviewed and addressed by the LogLogic technical writing team. In your e-mail message, please indicate the software name and version you are using, as well as the title and document date of your documentation. LogLogic documentation uses the following conventions to highlight code and command-line elements: A monospace font is used for programming elements (such as code fragments, objects, methods, parameters, and HTML tags) and system elements (such as filenames, directories, paths, and URLs). A monospace bold font is used to distinguish system prompts or screen output from user responses, as in this example: username: system home directory: home\app A monospace italic font is used for placeholders, which are general names that you replace with names specific to your site, as in this example: LogLogic_home_directory\upgrade\ Straight brackets signal options in command-line syntax. For example: ls [-AabCcdFfgiLlmnopqRrstux1] [-X attr] [path...] 6 Microsoft SQL Server Log Configuration Guide

Chapter 1 Configuring LogLogic s Microsoft SQL Server Log Collection This chapter describes configuration steps involved to enable a LogLogic Appliance to capture Microsoft SQL Server logs. The configuration steps assume that you have a functioning LogLogic Appliance that can be configured to capture Microsoft SQL Server log data. Introduction to Microsoft SQL Server........................................... 7 Prerequisites............................................................. 8 Configuring Microsoft SQL Server for Audit s................................ 8 Configuring Microsoft SQL Server for Operational s.......................... 17 Enabling the LogLogic Appliance to Capture Log Data............................ 17 Verifying the Configuration.................................................. 21 Introduction to Microsoft SQL Server The LogLogic Appliance enables captures Microsoft SQL Server audit and operational log data. Audit events can capture critical information for Microsoft SQL Server that is essential to meet compliance requirement. Microsoft SQL Server provides options to audit user activity, critical changes to database schema, changes in user and object level permissions, etc. Audit logs are generated per Microsoft SQL Server instance and activities for all databases under the instance are logged. Microsoft SQL Server logs operational information within Logs. Operational logs contain information such as database backup activity, replication, server shutdown, and success/failure login information. Note: Operational logs only contain success/failure login information if Login auditing is enabled on Microsoft SQL Server. For more information, see Configuring Login and C2 Audit Logging on Microsoft SQL Server on page 8. Microsoft SQL Server audit logs are captured via JDBC using LogLogic s Database Collector. Microsoft SQL Server operational logs are captured by LogLogic s Lasso collector. Lasso can run in Agent Mode, Collector Mode, or both (i.e., a hybrid mode). Regardless of the mode used, all collected operational logs are forwarded to the LogLogic Appliance using Syslog via UDP or TCP. The configuration procedures for Microsoft SQL Server and the LogLogic Appliance depend upon your environment, what logs you want to capture, and how Lasso is configured (if applicable). For more information, see How LogLogic Captures Microsoft SQL Server Log Data on page 22 and the LogLogic Lasso Collector Guide. Microsoft SQL Server Log Configuration Guide 7

Prerequisites Prior to configuring Microsoft SQL Server and the LogLogic Appliance, ensure that you meet the following prerequisites: Microsoft SQL Server 2000/2005,(2008 R1/R2) Standard or Enterprise running on 2000 SP4 or later/ 2003 SP1 or later/ 2008 or later, respectively Note: LogLogic recommends using Microsoft SQL Server 2000 SP4 in order to read active trace files. If another version is used, then only inactive trace files will be read. A database user with the proper access permissions to execute traces: For Microsoft SQL Server 2000/2005/2008, a user with sysadmin permissions for the xp_cmdshell and fn_trace_gettable functions is required For capturing operational logs: Lasso Release 2.0 or later installed on the machine. For more information, see the LogLogic Lasso Collector Guide. LogLogic Appliance running Release 5.1 or later installed with a Log Source Package that includes Microsoft SQL Server support Administrative access on the LogLogic Appliance Configuring Microsoft SQL Server for Audit s The following sections describe how to configure your Microsoft SQL Server to capture and log login and C2 audit events. Configuring Login and C2 Audit Logging on Microsoft SQL Server Caution: If you have enabled C2 auditing, you might want to disable login auditing, otherwise you will record the same type of event twice, unnecessarily degrading your server performance. To configure Microsoft SQL Server 2000/2005/2008 audit logging: 1. Log in to the Microsoft SQL Server 2000/2005/2008 machine. 2. In Microsoft SQL Server Management Studio, connect to an instance of the Microsoft SQL Server Database Engine with Object Explorer. 3. In Object Explorer, right-click the server name and select Properties. 4. On the Security page, under Login auditing section select the radio button for the desired option. The available options are: None Failed logins only ful logins only Both failed and successful logins 5. Click OK. 8 Microsoft SQL Server Log Configuration Guide

Figure 1 Object Explorer - Server Properties > Security To configure Microsoft SQL Server 2000 C2 auditing: To configure the C2 audit mode option in Microsoft SQL Server 2000, you must use the sp_configure stored procedure with the C2 audit mode parameter. Permissions to perform the configuration are limited to members of the sysadmin fixed server role. 1. Log in to the Microsoft SQL Server 2000 machine. 2. Open the Microsoft Query Analyzer. 3. Run the following sequence of T-SQL commands: USE master EXEC sp_configure 'show advanced option', '1' RECONFIGURE EXEC sp_configure 'c2 audit mode', 1 RECONFIGURE Microsoft SQL Server Log Configuration Guide 9

Assigning the c2 audit mode parameter a value of 1 enables auditing, 0 is the default. c2 audit mode is an advanced option, so you must turn on the show advanced option setting by assigning the parameter a value of 1. Changing the c2 audit mode parameter requires a Microsoft SQL Server restart. To configure Microsoft SQL Server 2005/2008 C2 auditing: 1. Log in to the Microsoft SQL Server 2005/2008 machine. 2. In Microsoft SQL Server Management Studio, connect to an instance of the Microsoft SQL Server Database Engine with Object Explorer. 3. In Object Explorer, right-click the server name and select Properties. 4. On the Security page, under the Options section, select the Enable C2 audit tracing checkbox. 5. Click OK. Figure 2 Object Explorer - Server Properties > Security 10 Microsoft SQL Server Log Configuration Guide

Configuring Server-Side Traces C2 audit does not provide granularity on the event data and objects to be audited, so a recommended approach to collect audit log information is to enable server-side traces. Trace configuration can be customized to capture selected events only at the server/database/object scope with required information per event. The trace is enabled by executing a series of stored procedures that must be run every time Microsoft SQL Server is restarted. For more information on server-side traces for Microsoft SQL Server, see: http://www.microsoft.com/technet/security/prodtech/sqlserver/sql2kaud.mspx IMPORTANT! If you plan to use server-side traces to collect audit log information, make sure that you do not use underscores (_) in the trace filenames. Using underscores in the filename causes the Database Collector on the LogLogic Appliance to skip those files during collection. Installing the LogLogic Audit Trace Configuration Script An audit-trace-config.sql script is provided with LogLogic s Log Source Package that will setup a server-side trace and also give option to enable or disable audit events as per your requirements. This script should be run every time Microsoft SQL Server restarts. This can be done using Microsoft SQL Server Agent. Note: The Audit_Trace_s.sql script is located in the scripts.tar package distributed with the LSP. This script uses Microsoft SQL Server built-in stored procedures for automating the server-side traces. Execute this.sql script file in the Query Browser of Microsoft SQL Server along with valid input parameters for the trace file size and location of the trace file on file system. After Microsoft SQL Server is restarted the existing trace file is stopped. You can run the script manually, or you can configure it to run according to a schedule or in response to alerts. If you want to run the script on a schedule, you can use SQL Server Agent jobs to automate routine administrative tasks and run them on a recurring basis, making administration more efficient. To create a job, a user must be a member of one of the SQL Server Agent fixed database roles or the sysadmin fixed server role. For more information about the SQL Server Agent, see the Microsoft SQL Server Product Documentation. Stopping a Server-side Trace on Microsoft SQL Server After server-side trace is started, the trace continues to run and generate output until you stop the trace manually. To manually stop a server-side trace on Microsoft SQL Sever 2000/2005/2008: 1. Log in to the Microsoft SQL Server 2000/2005/2008 machine. 2. Open the Microsoft Query Analyzer. 3. Connect to the instance of SQL Server where the server-side trace is running. 4. Run the following Transact-SQL statement to retrieve the list of the running trace: SELECT * FROM ::fn_trace_getinfo(null) Make sure to note the traceid of the server-side trace that you want to stop. 5. Run the following Transact-SQL statement to stop the server-side trace (where traceid is the id of the server-side trace that you noted in Step 4: EXEC sp_trace_setstatus @traceid = traceid, @status = 0 Microsoft SQL Server Log Configuration Guide 11

6. Run the following Transact-SQL statement to close the trace and to delete the trace information (where traceid is the id of the server-side trace that you noted in Step 4): EXEC sp_trace_setstatus @traceid = traceid, @status = 2 Configuring Microsoft SQL Server for Trace File Log Collection To capture audit logs from Microsoft SQL 2000 Server for the LogLogic Appliance, you must enable xp_cmdshell, mixed mode authentication, and create a user with proper access permissions on the xp_cmdshell and fn_trace_gettable functions. To capture audit logs from Microsoft SQL 2005/2008 Server for the LogLogic Appliance, you may choose to use or SQL Server authentication, xp_cmdshell and/or LogLogic s MSSQL xp_cmd replacement. Note: If you choose to use xp_cmdshell on Microsoft SQL 2005/2008 Server you will must still enable xp_cmdshell, and create a user with proper access permissions on the xp_cmdshell and fn_trace_gettable functions. Enabling xp_cmdshell In Microsoft SQL Server 2000, xp_cmdshell is enabled by default. In Microsoft SQL Server 2005/ 2008, you must enable the configuration manually. To enable xp_cmdshell in Microsoft SQL Server 2005/2008: 1. From the Start menu, select Microsoft SQL Server 2005/2008 > Configuration Tools > SQL Server Surface Area Configuration Tool. 2. Click on Surface Area Configuration for Features. 3. Make sure that the View by Instance tab is select on the left, and click xp_cmdshell in the list. 4. Select the Enable xp_cmdshell checkbox. 5. Click OK. 12 Microsoft SQL Server Log Configuration Guide

Figure 3 Surface Area Configuration for Features Window To enable xp_cmdshell in Microsoft SQL Server 2008: Run the following Transact-SQL statement: -- To allow advanced options to be changed. EXEC sp_configure 'show advanced options', 1 GO --To update the currently configured value for advanced options. RECONFIGURE GO -- To enable the feature. EXEC sp_configure 'xp_cmdshell', 1 GO -- To update the currently configured value for this feature. RECONFIGURE GO Microsoft SQL Server Log Configuration Guide 13

Installing the LogLogic MSSQL xp_cmdshell replacement on Microsoft SQL Server 2005/2008 An mssql_xp_cmdshell_replacement.zip archive is provided with LogLogic s Log Source Package that will setup a server-side Trace File List function that will allow the LogLogic Applicance to retreave the list of trace files to collect without using xp_cmdshell. The mssql_xp_cmdshell_replacement.zip archive contains an install script called Install_ListTraceFiles.sql which is included with the ListTraceFiles.dll file. To install ListTraceFiles.dll: 1. Extract mssql_xp_cmdshell_replacement.zip on the local Microsoft SQL 2005/2008 server 2. Open the Install_ListTraceFiles.sql file in Microsoft SQL Server Management Studio and follow the instructions included in the SQL file. Enabling Mixed Mode Authentication To enable LogLogic Appliance to collect audit logs in trace files from Microsoft SQL Server, you must enable Mixed Mode authentication. Due to a limitation of the Microsoft JDBC driver, Microsoft SQL Server needs to be configured to use Mixed Mode authentication (i.e., SQL Server and Authentication Mode) to collect trace files. authentication is not supported for connections to Microsoft SQL Server from the LogLogic Appliance. To enable Mixed Mode authentication in Microsoft SQL Server 2000/2005/2008: 1. Log in to the Microsoft SQL Server 2000/2005/2008 machine. 2. In Microsoft SQL Server Management Studio, connect to an instance of the Microsoft SQL Server Database Engine with Object Explorer. 3. In Object Explorer, right-click the server name and select Properties. 4. On the Security page, under the Server authentication section, select the SQL Server and Authentication Mode radio button. 5. Click OK. Note: For Microsoft SQL Server 2005/2008 Authentication is supported. The user must have a Server Role of public & sysadmin. 14 Microsoft SQL Server Log Configuration Guide

Figure 4 Object Explorer - Server Properties > Security Creating a User with Proper Permissions In order for the database collector on the LogLogic Appliance to read the audit trace files, a LogLogic user needs to be created on Microsoft SQL Server with the proper permissions for the xp_cmdshell and fn_trace_gettable functions. For Microsoft SQL Server 2000/2005/2008, the user must have sysadmin permissions for both functions. Note: The user and password for this user must be given while configuring Microsoft SQL Server Collector. For more information, see Adding a Microsoft SQL Server Device on page 18. Microsoft SQL Server Log Configuration Guide 15

Purging Trace Files LogLogic collects the audit log data from the trace files located on Microsoft SQL Server. Trace files are not purged or archived by LogLogic s Database Collector. However, LogLogic does provide information on the data obtained by the collector from the trace files. A Microsoft SQL Server administrator can make use of this information to determine what trace files can be purged or archived in their Microsoft SQL Server file system. To obtain trace file information from the LogLogic Appliance: 1. Log in to the LogLogic Appliance s Command Line Interface (CLI). 2. Type in the following command: curl -k -u "user:password" https://applianceipaddress/logapp20/ db_collector_status?device_type=sqlserver&server=mssqlserveripaddr ess" applianceipaddress - IP address of the LogLogic Appliance where the Microsoft SQL Server device was configured mssqlserveripaddress - IP address of the host machine where Microsoft SQL Server is installed For example, curl -k -u "admin:passw0rd" "https://10.16.8.22/logapp20/ db_collector_status?device_type=sqlserver&server=10.116.24.52 The command returns a list of trace files that were read by the collector including the timestamp. Figure 5 Trace File Information 16 Microsoft SQL Server Log Configuration Guide

Configuring Microsoft SQL Server for Operational s Microsoft SQL Server operational events are posted in the Viewer. The events are located in the System logs. These events can be captured by LogLogic Appliance using Lasso. Note: Operational logs only contain success/failure login information if Login auditing is enabled on Microsoft SQL Server. For more information, see Configuring Login and C2 Audit Logging on Microsoft SQL Server on page 8. Installing and Configuring Lasso The Microsoft SQL Server operational logs are collected and transported using Lasso. Lasso is used to collect and transfer logs to the LogLogic Appliance. By default, the Lasso program directory is located at: C:\Program Files\Lasso Lasso spools log messages if the connection to the Appliance is temporarily lost. By default, the following directory contains all spooled log messages: C:\Program Files\Lasso\LassoRepository\Spool You can change the host machine and event log identification information by editing the hostlist.ini configuration file in Lasso. You can change the spool log location and other Lasso monitoring parameters by editing the Lasso.ini file. For the complete installation and configuration procedures for Lasso, including information on the Lasso.ini and hostlist.ini files, see the LogLogic Lasso Collector Guide. Enabling the LogLogic Appliance to Capture Log Data The following sections describe how to enable the LogLogic Appliance to capture Microsoft SQL Server log data. Automatically Identifying a Microsoft SQL Server Device With the auto-identification feature, the LogLogic Appliance recognizes Microsoft SQL Server operational log messages in Syslog format using Lasso. As the Syslog messages come into the Appliance, they are collected the same as any other MS Application event, and they are identified as originating from a device and added to the log source device list. Default values are used for certain properties, such as the device name. IMPORTANT! The Microsoft SQL Server device is auto-identified when operational events are captured by Lasso. However, you must add the device manually if you are capturing audit events using LogLogic s Database Collector. For more information, see Adding a Microsoft SQL Server Device on page 18. To enable auto-identification in the LogLogic Appliance: 1. Log in to the LogLogic Appliance. 2. From the navigation menu, select Administration > System Settings. The General tab appears. Microsoft SQL Server Log Configuration Guide 17

3. For Auto-identify Log Sources, select Yes. 4. Click Update. Once the automatically identified device is added, you can edit its properties. IMPORTANT! Do not change the auto-identified Device Type and Host IP information. To edit an existing Microsoft SQL Server device: 1. Log in to the LogLogic Appliance. 2. From the navigation menu, select Management > Devices. The Devices tab appears. 3. Click on an existing Microsoft SQL Server device in the list and click Modify Device. The Modify Device tab appears. 4. Edit the device fields as needed, then click Update Device. Adding a Microsoft SQL Server Device The LogLogic Database Collector is a base component of the LogLogic Appliance that connects to Microsoft SQL Server and retrieves the audit log information. You must add the server as a new device so LogLogic can properly handle the log file data to make it available through reports and searching. To add Microsoft SQL Server as a new device 1. Log in to the LogLogic Appliance. 2. From the navigation menu, select Management > Devices. The Devices tab appears. 3. Click Add New. The Add Device tab appears. 4. Type in the following information for the device: Name Name for the Microsoft SQL Server device Description (optional) Description of the Microsoft SQL Server device Device Type Select Microsoft SQL Server from the drop-down menu Host IP IP address of the Microsoft SQL Server appliance Enable Data Collection Select the Yes radio button Refresh Device Name through DNS Lookups (optional) Select this checkbox to enable the Name field to be automatically updated. The name is obtained using a reverse DNS lookup on the configured refresh interval. The DNS name overrides any manual name you assign. 18 Microsoft SQL Server Log Configuration Guide

5. Under the MS SQL Server Configuration section, type in the following information: Use DBCC TRACEON (optional) Select this checkbox to use SQL query DBCC TRACEON (1903) before collection of log data. Use XP Cmd Shell (optional) - Select this checkbox to use xp_cmdshell Authentication Select SQL Authentication or Authentication. Domain Name If you have selected Authentication provide the corresponding domain name of the user. Database Name Microsoft SQL Server database instance name Server Port Port number for Microsoft SQL Server User User name for the Microsoft SQL Server sysadmin user or Authentication domain user based on the selection of the Authentication type. Password/Confirm Password Password for the corresponding user authentication type. Trace Files Path Audit log file name for Microsoft SQL Server. The pathname must be the absolute path to the trace (.trc) file. The LogLogic Appliances need to be able to read new trace files that are created after server restart. Start Collection From Date Date and time that the LogLogic Appliance will begin to collect log data. Note: User can collect data from trace files at multiple locations, to specify different location use Add Row button and input data for trace file path and start time. 6. Click Add. Microsoft SQL Server Log Configuration Guide 19

Figure 6 Adding a Device to the LogLogic Appliance 7. Click Add. 8. Verify that your new device appears in the Devices tab and that Enabled is set to Yes. When the logs arrive from the specified Microsoft SQL Server appliance, the LogLogic Appliance uses the device you just added if the hostname or IP match. 20 Microsoft SQL Server Log Configuration Guide

Verifying the Configuration The section describes how to verify that the configuration changes made to Microsoft SQL Server and the LogLogic Appliance are applied correctly. To verify the configuration: 1. Log in to the LogLogic Appliance. 2. From the navigation menu, select Dashboards > Log Source Status. The Log Source Status tab appears. 3. Locate the IP address for each Microsoft SQL Server device. If the device name (Microsoft SQL Server) appears in the list of devices, then the configuration is correct. If the device does not appear in the Log Source Status tab, check the Microsoft SQL Server logs for events that should have been sent. If events were detected and are still not appearing on the LogLogic Appliance, verify the Microsoft SQL Server configuration, the Lasso configuration (for operational logs), and the LogLogic Appliance configuration. You can also verify that the LogLogic Appliance is properly capturing log data from Microsoft SQL Server by trying to view the data in the reports. LogLogic recommends checking the reports to make sure that the data obtained is valid and matches expectations. For more information, see LogLogic Real-Time Reports on page 24. If the device name appears in the list of devices but operational log data for the device is not appearing within your reports, see Troubleshooting on page 26 for more information. If the device name appears in the list of devices but audit log data for the device is not appearing within your reports, you need to verify that your database connection is up and running properly.. Microsoft SQL Server Log Configuration Guide 21

Chapter 2 How LogLogic Supports Microsoft SQL Server This chapter describes LogLogic s support for Microsoft SQL Server. LogLogic enables you to capture log data to monitor Microsoft SQL Server events. How LogLogic Captures Microsoft SQL Server Log Data.......................... 22 Supported Microsoft SQL Server Log Data..................................... 23 LogLogic Real-Time Reports................................................ 24 LogLogic Filters.................................................... 25 How LogLogic Captures Microsoft SQL Server Log Data In order to collect audit log data from Microsoft SQL Server, C2 audit logging or a server-side traces must be enabled on the database. C2 audit logging does not provide granularity on the event data and objects to be audited, so LogLogic recommends collecting audit log information via server-side traces. For more information, see Configuring Login and C2 Audit Logging on Microsoft SQL Server on page 8 and Configuring Server-Side Traces on page 11. Regardless of the method used to collect the audit log information, LogLogic s Database Collector can connect to multiple databases, via JDBC, to capture the log data. LogLogic s Lasso Collector is used to collect Microsoft SQL Server operational logs stored in the Log. The operational logs are converted into text format by Lasso and sent to the Syslog Listener of the LogLogic Appliance via UDP or TCP. Note: Lasso can run in Agent Mode, Collector Mode, or both (i.e., a hybrid mode) on a remote Host Server or on the host machine where Microsoft SQL Server is installed. For more information, see the LogLogic Lasso Collector Guide. Figure 7 Microsoft SQL Server with LogLogic Appliance Components and Processes 22 Microsoft SQL Server Log Configuration Guide

Once the data is captured and parsed, you can generate reports. In addition, you can create alerts to notify you of issues on Microsoft SQL Server. For more information on creating reports and alerts, see the LogLogic User Guide and LogLogic Online Help. Note: When a log file is transferred, each file contains a timestamp which consists of a date and time. The timestamp refers to the file creation date and time for a particular message in the file. For a listing of LogLogic supported date and time formats, see the LogLogic Administration Guide. Supported Microsoft SQL Server Log Data The audit facility of Microsoft SQL Server acts at an instance level, recording all instance level activities and database level activities. Microsoft SQL Server supports logging of audit data in two ways C2 audit and server-side traces. Enabling C2 auditing logs many events and can affect performance. LogLogic recommends configuring custom server-side traces for the audit events that are important as per the security policy of your organization. Table 1 on page 30 and Table 2 on page 32 lists the Microsoft SQL Server 2005 audit and operational events that are supported by the LogLogic Appliance. Table 3 on page 49 and Table 4 on page 50 lists the Microsoft SQL Server 2000 audit and operational events that are supported by the LogLogic Appliance. Note: The LogLogic Appliance captures all messages from the Microsoft SQL Server logs, but includes only specific messages for report/alert generation. For more information, see Appendix A Reference on page 29 for sample log messages for each event and event to category mapping. Microsoft SQL Server Log Configuration Guide 23

LogLogic Real-Time Reports LogLogic provides pre-configured Real-Time Reports for Microsoft SQL Server log data. The following Real-Time Reports are available: All Database s Displays the event types that are occurring. The report returns all Microsoft SQL Server events. All Unparsed s Displays data for all events retrieved from the Microsoft SQL Server log for a specified time interval Database Access Displays all database server connections including user access and failed user access attempts. The access type field indicates if the event occurred during login, logoff, or logout and shows the access mechanism such as ODBC or SQL Shell. Database Data Access Displays user access and changes to your data for a specified time period Database Privilege Modifications Displays database privilege changes (e.g., user reconfiguration and privilege manipulation) Database System Modifications Displays system database changes (e.g., table drops and schema changes) User Access Displays data access and changes done to data during a specified time interval User Authentication Displays identity and access related events during a specified time interval User Last Activity Displays user specific details and used to track user activity during a specified time interval s Displays event information served during a specified time interval To access LMI 5 Real-Time Reports: 1. From the top navigation menu, click Reports. 2. Click Access Control. The following Real-Time Reports are available: User Access User Authentication User Last Activity s 3. Click Database Activity. The following Real-Time Reports are available: All Database s Database Access Database Data Access Database Privilege Modifications Database System Modifications 4. Click Operational. The following Real-Time Report is available: All Unparsed s You can create custom reports from the existing Real-Time Report templates. For Microsoft SQL Server, LogLogic provides a set of pre-configured custom reports. For more information, see Chapter 3 Troubleshooting on page 26 and the LogLogic User Guide and LogLogic Online Help. 24 Microsoft SQL Server Log Configuration Guide

LogLogic Filters LogLogic provides pre-configured Filters for Microsoft SQL Server log data. Filters are used to filter report data and create alerts. To access Filter-Based Reports: 1. From the navigation menu, select. 2. Select Filters. The following Filters are available: MS SQL Server: Aborting Displays information related to SQL Server abort events MS SQL Server: Backup Complete Displays information about completed SQL Server backup events MS SQL Server: Backup s Displays information about failed SQL Server backup events MS SQL Server: Login Failed Displays information about SQL Server failed login events MS SQL Server: Login ful Displays information about SQL Server successful login events MS SQL Server: Memory Stack Overflow Displays information about SQL Server memory stack overflow events MS SQL Server: Paused Displays information about events where SQL Server was paused MS SQL Server: Recovery Complete Displays information about completed SQL Server recovery events MS SQL Server: Recovery Displays information about failed SQL Server recovery events MS SQL Server: Restore Complete Displays information about completed SQL Server restore events MS SQL Server: Restore Displays information about failed SQL Server restore events MS SQL Server: Shutdown Displays information about completed SQL Server shutdown events MS SQL Server: Start Displays information about completed SQL Server startup events MS SQL Server: Startup Failed Displays information about failed SQL Server startup events MS SQL Server: Terminating Displays information about events where SQL Server was terminated For more information on Filters, reports, and alerts see the LogLogic User Guide and LogLogic Online Help. Microsoft SQL Server Log Configuration Guide 25

Chapter 3 Troubleshooting This chapter contains troubleshooting information regarding the configuration and/or use of log collection for Microsoft SQL Server. It also contains Frequently Asked Questions (FAQ), providing quick answers to common questions. Troubleshooting.......................................................... 26 Frequently Asked Questions................................................ 27 Troubleshooting Is your version of Microsoft SQL Server supported? For more information, see Prerequisites on page 8. Is your LogLogic Appliance running Release 5.1 or later? If you are running an release prior to 5.1, you might require an upgrade. Contact LogLogic Support for more information. Are you running Lasso 4.0 or later? If you are running an release prior to 4.0, you might require an upgrade. Contact LogLogic Support for more information. Is the appropriate Log Source Package (LSP) installed properly? Check to make sure that the LSP that is installed includes support for Microsoft SQL Server. Also make sure that the package was installed successfully. For more information on LSP installation procedures, see the LogLogic Log Source Package Release Notes. If Microsoft SQL Server operational events are not appearing on the LogLogic Appliance... You can verify that your log files are received by viewing the File Transfer History. You can view the history from the Administration > File Transfer History tab. Make sure that you have properly installed and configured the Lasso Collector, and that no errors are present in Lasso s error log (LassoTrace.log). For more information, see the LogLogic Lasso Collector Guide. Also make sure that the Appliance is properly auto-identifying the device. If not, then try to add the device to the Appliance manually. For more information, Automatically Identifying a Microsoft SQL Server Device on page 17. If operational events are not displaying on the LogLogic Appliance even after configuring Microsoft SQL Server and Lasso correctly... Microsoft SQL Server sends the logs, via UDP or TCP in Syslog format, to the LogLogic Appliance. Make sure that the UDP or TCP port is enabled on the Microsoft SQL Server machine. For more information on supported protocols and ports, see the LogLogic Administration Guide and the LogLogic Lasso Collector Guide. 26 Microsoft SQL Server Log Configuration Guide

If Microsoft SQL Server audit events are not appearing on the LogLogic Appliance... You need to verify if the database connection information provided to the LogLogic Appliance is correct and that the connection is up and running. For more information, see Adding a Microsoft SQL Server Device on page 18. When using the LogLogic MSSQL xp_cmdshell replacement, and I click the Test button, no logs are shown as eligible for collection. Check to be sure that the Database Name configured in LogLogic matches that of the database specified in Step 3. (Enable Trustworthy) of the Install_ListTraceFiles.sql. What does the following error mean? This means that the LogLogic MSSQL xp_cmd replacement has not be installed correctly. For more information see Installing the LogLogic MSSQL xp_cmdshell replacement on Microsoft SQL Server 2005/2008 on page 14. Frequently Asked Questions How does the LogLogic Appliance collect logs from Microsoft SQL Server? For audit log collection, C2 audit logging or a server-side trace is enabled on the database. LogLogic s Database Collector connects to the database via JDBC to capture the log data. For operational log collection, a Lasso Collector is required in order to read the.evt files from the machine, convert them into text format, and forward them via Syslog using UDP or TCP to the LogLogic Appliance. The LogLogic Appliance functions as the Syslog server. For more information, see How LogLogic Captures Microsoft SQL Server Log Data on page 22. What access permissions are required? To configure logging on Microsoft SQL Server, the user must have administrative permissions and the database user must have the proper access permissions to execute traces. For more information, see Prerequisites on page 8. How do I configure logging on Microsoft SQL Server? For audit logs, follow the procedures on Configuring Microsoft SQL Server for Audit s on page 8. Also make sure that you have properly added the device and configured the database information on the LogLogic Appliance. For more information, see Adding a Microsoft SQL Server Device on page 18. For operational logs, make sure that you have properly installed and configured Lasso. For more information, see Configuring Microsoft SQL Server for Operational s on page 17 and the LogLogic Lasso Collector Guide. Note: Operational logs only contain success/failure login information if Login auditing is enabled on Microsoft SQL Server. For more information, see Configuring Login and C2 Audit Logging on Microsoft SQL Server on page 8. Microsoft SQL Server Log Configuration Guide 27

28 Microsoft SQL Server Log Configuration Guide

Appendix A Reference This appendix lists the LogLogic-supported Microsoft SQL Server events. The Microsoft SQL Server event table identifies events that can be analyzed through LogLogic reports. All sample operational log messages were captured by Lasso and forwarded to the Syslog Listener on the LogLogic Appliance. All sample audit log messages were captured by the LogLogic s Database Collector on the LogLogic Appliance. LogLogic Support for Microsoft SQL Server s The following list describes the contents of each of the columns in the tables below. Microsoft SQL Server event identifier Defines if the Microsoft SQL Server event is available through the LogLogic Report Engine or through the search capabilities. If the event is available through the Report Engine, then you can use LogLogic s Real-Time Reports and Summary Reports to analyze and display the captured log data. Otherwise, all other supported events that are captured by the LogLogic Appliance can be viewed by performing a search for the log data. Description of the event of events such as Audit or Operational Type Type of event such as or Sample Microsoft SQL Server 2000/2005 log messages Microsoft SQL Server Log Configuration Guide 29

Table 1 Microsoft SQL Server 2005 Audit s # Type 1 14 Audit Login Audit / Log not available in text format 2 15 Audit Logout Audit / Log not available in text format 3 18 Audit Server Starts And Stops Audit / Log not available in text format 4 20 Audit Login Failed Audit Log not available in text format 5 25 Lock:Deadlock Audit Log not available in text format 6 33 Exception Audit Log not available in text format 7 46 Object:Created Audit Log not available in text format 8 47 Object:Deleted Audit Log not available in text format 9 59 Lock:Deadlock Chain Audit Log not available in text format 10 102 Audit Database Scope GDR Audit / Log not available in text format 11 103 Audit Schema Object GDR Audit / Log not available in text format 12 104 Audit Addlogin Audit / Log not available in text format 13 105 Audit Login GDR Audit / Log not available in text format 14 106 Audit Login Change Property Audit / Log not available in text format 15 107 Audit Login Change Password Audit / Log not available in text format 16 108 Audit Add Login to Server Role Audit / Log not available in text format 17 109 Audit Add DB User Audit / Log not available in text format 18 110 Audit Add Member to DB Role Audit / Log not available in text format 19 111 Audit Add Role Audit / Log not available in text format 20 112 Audit App Role Change Password Audit / Log not available in text format 21 113 Audit Statement Permission Audit / Log not available in text format 22 114 Audit Schema Object Access Audit / Log not available in text format 23 115 Audit Backup/Restore Audit / Log not available in text format 24 116 Audit DBCC Audit / Log not available in text format 25 117 Audit Change Audit Audit / Log not available in text format 26 118 Audit Object Derived Permission Audit / Log not available in text format 27 128 Audit Database Management Audit / Log not available in text format 28 129 Audit Database Object Management Audit / Log not available in text format 29 130 Audit Database Principal Management Audit / Log not available in text format 30 131 Audit Schema Object Management Audit / Log not available in text format 31 132 Audit Server Principal Impersonation Audit / Log not available in text format 32 133 Audit Database Principal Impersonation Audit / Log not available in text format 33 134 Audit Server Object Take Ownership Audit / Log not available in text format 34 135 Audit Database Object Take Ownership Audit / Log not available in text format 35 137 Blocked process report Audit Log not available in text format 36 152 Audit Change Database Owner Audit / Log not available in text format 30 Microsoft SQL Server Log Configuration Guide

# Type 37 153 Audit Schema Object Take Ownership Audit / Log not available in text format 38 164 Object:Altered Audit Log not available in text format 39 167 Database Mirroring State Change Audit Log not available in text format 40 170 Audit Server Scope GDR Audit / Log not available in text format 41 171 Audit Server Object GDR Audit / Log not available in text format 42 172 Audit Database Object GDR Audit / Log not available in text format 43 173 Audit Server Operation Audit / Log not available in text format 44 175 Audit Server Alter Trace Audit / Log not available in text format 45 176 Audit Server Object Management Audit / Log not available in text format 46 177 Audit Server Principal Management Audit / Log not available in text format 47 180 Audit Database Object Access Audit / Log not available in text format 48 193 Background Job Audit Log not available in text format Microsoft SQL Server Log Configuration Guide 31

Table 2 Microsoft SQL Server 2005 Operational s # 1 211 Possible schema corruption 2 540 Insufficient system memory to run RAISERROR. 3 566 occurred while writing audit trace. 4 615 Could not find database 5 701 Insufficient system memory to run query. Type 0 Application 1 Wed Aug 09 19:12:43 2006 211 Possible schema corruption. Run DBCC CHECKCATALOG. 1 0 Application 2 Wed Aug 09 19:12:43 2006 540 There is insufficient system memory to run RAISERROR. 2 0 Application 3 Wed Aug 09 19:12:43 2006 566 An error occurred while writing an audit trace. SQL Server is shutting down. Check and correct error conditions such as insufficient disk space, and then restart SQL Server. If the problem persists, disable auditing by starting the server at the command prompt with the "-f" switch, and using SP_CONFIGURE. 3 0 Application 4 Wed Aug 09 19:12:43 2006 615 Could not find database 102, name 'DBNAME'. The database may be offline. Wait a few minutes and try again. 4 0 Application 5 Wed Aug 09 19:12:43 2006 701 There is insufficient system memory to run this query. 5 32 Microsoft SQL Server Log Configuration Guide

# 6 708 Low on virtual address space or low on virtual memory. 7 829 Possible disk corruption. 8 913 Could not find database 9 1445 Bypassing recovery for database 10 1453 Database Mirroring suspended. Type 0 Application 6 Wed Aug 09 19:12:43 2006 708 Server is running low on virtual address space or machine is running low on virtual memory. Reserved memory used 3 times since startup. Cancel query and re-run, decrease server load, or cancel other applications. 6 0 Application 8 Wed Aug 09 19:12:43 2006 913 Could not find database 102. Database may not be activated yet or may be in transition. Reissue the query once the database is available. If you do not think this error is due to a database that is transitioning its state and this error continues to occur, contact your primary support provider. Please have available for review the Microsoft SQL Server error log and any additional information relevant to the circumstances when the error occurred. 8 0 Application 9 Wed Aug 09 19:12:43 2006 1445 Bypassing recovery for database 'DBNAME' because it is marked as an inaccessible database mirroring database. A problem exists with the mirroring session. The session either lacks a quorum or the communications links are broken because of problems with links, endpoint configuration, or permissions (for the server account or security certificate). To gain access to the database, figure out what has changed in the session configuration and undo the change. 9 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. Microsoft SQL Server Log Configuration Guide 33

# 11 1454 Database Mirroring suspended. 12 1457 Synchronization of the mirror database was interrupted 13 1458 Database Mirroring suspended. 14 1459 occurred while accessing the database mirroring metadata. 15 1499 Database mirroring error. 16 3041 BACKUP failed to complete the command 17 3151 Failed to restore master database.shutting down SQL Server Type The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 16 Wed Aug 09 19:12:43 2006 3041 BACKUP failed to complete the command BACKUP DATABASE [HealthST1_SITE] TO DISK = N'\\Ushsfs\ITUtilities\SharePoint Portal Server\backup1-ushsdb-HealthST1_SITE.SPB' WITH INIT, NOUNLOAD, NOSKIP, STATS = 5, NOFORMAT. Check the backup application log for detailed messages. 16 0 Application 17 Wed Aug 09 19:12:43 2006 3151 Failed to restore master database. Shutting down SQL Server. Check the error logs, and rebuild the master database. For more information about how to rebuild the master database, see SQL Server Books Online. 17 34 Microsoft SQL Server Log Configuration Guide

# 18 3301 The transaction log contains a record that is not valid. 19 3315 During rollback following process did not hold 20 3316 during undo of a logged operation in database 21 3408 Recovery is complete. 22 3420 Database snapshot has failed an IO operation and is marked suspect. 23 3449 Shutting down SQL Server 24 3456 Could not redo log record Type 0 Application 18 Wed Aug 09 19:12:43 2006 3301 The transaction log contains a record (logop 42) that is not valid. The log has been corrupted. Restore the database from a full backup, or repair the database. 18 0 Application 19 Wed Aug 09 19:12:43 2006 3315 During rollback, the following process did not hold an expected lock: process 51 with mode 8 at level 2 for row Rid pageid is (1:73) and row num is 0x0 in database 'DatabaseName' under transaction (0:546).Restore a backup of the database, or repair the database. 19 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 21 Wed Aug 09 19:12:43 2006 3408 Recovery is complete. This is an informational message only. No user action is required. 21 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. Microsoft SQL Server Log Configuration Guide 35

# 25 3620 Automatic checkpointing is disabled in database 26 5084 Setting database option 27 6006 Shutting down SQL Server 28 6536 Shutting down SQL Server 29 6537 Shutting down SQL Server 30 8353 Tracing for failed to start. Type 0 Application 25 Wed Aug 09 19:12:43 2006 3620 Automatic checkpointing is disabled in database 'Test' because the log is out of space. Automatic checkpointing will be enabled when the database owner successfully checkpoints the database. Contact the database owner to either truncate the log file or add more disk space to the log. Then retry the CHECKPOINT statement. 25 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 27 Wed Aug 09 19:12:43 2006 6006 Server shut down by LOGLOGIC\administrator from login LOGLOGIC\administrator. 27 0 Application 28 Wed Aug 09 19:12:43 2006 6536 A fatal error occurred in.net Framework runtime. The server is shutting down. 28 0 Application 29 Wed Aug 09 19:12:43 2006 6537.NET Framework runtime was shut down by user code. The server is shutting down. 29 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 36 Microsoft SQL Server Log Configuration Guide

# 31 10325 Shutting down SQL Server 32 11300 Shutting down SQL Server 33 11302 Shutting down SQL Server 34 11304 Failed to record outcome of a local two-phase commit transaction. 35 14151 Replication agent failed. 36 14265 The MSSQLServer service terminated unexpectedly. Type 0 Application 31 Wed Aug 09 19:12:43 2006 10325 The server is shutting down due to stack overflow in user's unmanaged code. 31 0 Application 32 Wed Aug 09 19:12:43 2006 11300 wile committing a readonly or a TEMPDB XDES, Shutting down the server. 32 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 34 Wed Aug 09 19:12:43 2006 11304 Failed to record outcome of a local two-phase commit transaction. Taking database offline. 34 0 Application 35 Wed Aug 09 19:12:43 2006 14151 Replication-Agen name: agent Test failed. sdhsd 35 0 Application 36 Wed Aug 09 19:12:43 2006 14265 The MSSQLServer service terminated unexpectedly. Check the SQL Server error log and System and Application event logs for possible causes. 36 Microsoft SQL Server Log Configuration Guide 37

# 37 17108 Password policy update was successful. 38 17130 Not enough memory for the configured number of locks. 39 17131 Server startup failed due to insufficient memory 40 17142 SQL Server service paused. Type 0 Application 37 Wed Aug 09 19:12:43 2006 17108 Password policy update was successful. 37 0 Application 38 Wed Aug 09 19:12:43 2006 17130 Not enough memory for the configured number of locks. Attempting to start with a smaller lock hash table, which may impact performance. Contact the database administrator to configure more memory for this instance of the Database Engine. 38 0 Application 39 Wed Aug 09 19:12:43 2006 17131 Server startup failed due to insufficient memory for descriptor hash tables. Reduce non-essential memory load or increase system memory. 39 0 Application 40 Wed Aug 09 19:12:43 2006 17142 SQL Server service has been paused. No new connections will be allowed. To resume the service, use SQL Computer Manager or the Services application in Control Panel. 40 38 Microsoft SQL Server Log Configuration Guide

# 41 17144 SQL Server service paused. 42 17147 Shutting down SQL Server 43 17148 SQL Server is terminating 44 17163 SQL Server is starting at high priority base 13. Type Unknown 0 Application 41 Wed Aug 09 19:12:43 2006 17144 SQL Server is not allowing new connections because the Service Control Manager requested a pause. To resume the service, use SQL Computer Manager or the Services application in Control Panel. 41 0 Application 42 Wed Aug 09 19:12:43 2006 17147 SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required. 42 0 Application 43 Wed Aug 09 19:12:43 2006 17148 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. 43 0 Application 44 Wed Aug 09 19:12:43 2006 17163 SQL Server is starting at high priority base (=13). This is an informational message only. No user action is required. 44 Microsoft SQL Server Log Configuration Guide 39

# 45 17197 / Login failed 46 17300 SQL Server was unable to run a new system task 47 17308 Process generated an access violation. 48 17311 SQL Server is terminating 49 17312 SQL Server is terminating Type 0 Application 45 Wed Aug 09 19:12:43 2006 17197 Login failed due to timeout; the connection has been closed. This error may indicate heavy server load. Reduce the load on the server and retry login.loglogic\administrator 45 0 Application 46 Wed Aug 09 19:12:43 2006 17300 SQL Server was unable to run a new system task, either because there is insufficient memory or the number of configured sessions exceeds the maximum allowed in the server. Verify that the server has adequate memory. Use sp_configure to check the maximum number of sessions allowed. Use sys.sessions to check the current number of sessions, including user processes. 46 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 48 Wed Aug 09 19:12:43 2006 17311 SQL Server is terminating because of fatal exception %lx. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown. To recover from this error, restart the server (unless SQLAgent is configured to auto restart). 48 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 40 Microsoft SQL Server Log Configuration Guide

# 50 17550 DBCC TRACEON 51 17551 DBCC TRACEOFF 52 17557 DBCC DBRECOVER failed 53 17676 Shutting down SQL Server 54 17752 Insufficient memory to run the extended stored procedure Type Unknown 0 Application 50 Wed Aug 09 19:12:43 2006 17550 DBCC TRACEON 208, server process (SP) 13.This is an informational message only; no user action is required. 50 0 Application 51 Wed Aug 09 19:12:43 2006 17551 DBCC TRACEOFF 208, server process (SP) 13.This is an informational message only; no user action is required. 51 0 Application 52 Wed Aug 09 19:12:43 2006 17557 DBCC DBRECOVER failed for database 102. Restore the database from a backup. 52 0 Application 53 Wed Aug 09 19:12:43 2006 17676 SQL Server shutdown due to Ctrl-C or Ctrl-Break signal. This is an informational message only. No user action is required. 53 0 Application 54 Wed Aug 09 19:12:43 2006 17752 SQL Server has insufficient memory to run the extended stored procedure 'sp_adduser'. Release server memory resources by closing connections or ending transactions. 54 Microsoft SQL Server Log Configuration Guide 41

# 55 18113 Shutting down SQL Server 56 18204 Backup device failed 57 18210 on backup device 58 18264 Database backed up. Type 0 Application 55 Wed Aug 09 19:12:43 2006 18113 SQL Server shutdown after verifying system indexes. 55 0 Application 56 Wed Aug 09 19:12:43 2006 18204 BackupDiskFile::OpenMedia: Backup device'l:\sqldata\mssql\backup\vnbu)-1580-1612 ' failed to open. Operating system error=2 (The system cannot find the file specified.) 56 0 Application 57 Wed Aug 09 19:12:43 2006 18210 BackupTapeFile::WriteFileMark: WriteTapemark failure on backup device '\\.\Tape0'. Operating system error 1112(error not found). 57 0 Application 58 Wed Aug 09 19:12:43 2006 18264 Database backed up: Database: anjali, creation date(time): 2006/08/31(14:50:29), pages dumped: 171, first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}).This is an informational message only. No user action is required. 58 42 Microsoft SQL Server Log Configuration Guide

# 59 18266 Database file was backed up. 60 18267 Database was restored 61 18269 Database file was restored. 62 18270 Database differential changes were backed up Type 0 Application 59 Wed Aug 09 19:12:43 2006 18266 Database file was backed up: Database: anjali, creation date(time): 2006/08/31(14:50:29), pages dumped: 171, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). This is an informational message only. No user action is required. 59 0 Application 60 Wed Aug 09 19:12:43 2006 18267 Database was restored: Database: anjali, creation date(time): 2006/08/31(14:50:29), first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). This is an informational message only. No user action is required. 60 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 63 Wed Aug 09 19:12:43 2006 18270 Database differential changes were backed up: Database: anjali, creation date(time): 2006/08/ 31(14:50:29), pages dumped: 171, first LSN: 19:242:212, last LSN: 19:332:1, full backup LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). This is an informational message. No user action is required. 63 Microsoft SQL Server Log Configuration Guide 43

# Type 63 18271 Database changes were restored. 0 Application 64 Wed Aug 09 19:12:43 2006 18271 Database changes were restored: Database: anjali, creation date(time): 2006/08/31(14:50:29), first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}).This is an informational message. No user action is required. 64 64 18450 / LOGON failed for login 0 Application 65 Wed Aug 09 19:12:43 2006 18450 LOGLOGIC-SRV1 Logon 0000: 50 0d 00 00 0a 00 00 Login failed for login "LOGLOGIC\administrator". The login is not defined as a valid login of a trusted SQL Server connection. [CLIENT: <local machine>] 65 65 18451 / LOGON failed for user 0 Application 66 Wed Aug 09 19:12:43 2006 18451 LOGLOGIC-SRV1 Logon 0000: 50 0d 00 00 0a 00 00 Login failed for user 'LOGLOGIC\administrator'. Only administrators may connect at this time. [CLIENT: <local machine>] 66 66 18452 / LOGON failed for user 0 Application 67 Wed Aug 09 19:12:43 2006 18452 LOGLOGIC-SRV1 Logon 0000: 50 0d 00 00 0a 00 00 Login failed for user 'LOGLOGIC\administrator'. The user is not associated with a trusted SQL Server connection. [CLIENT: <local machine>] 67 44 Microsoft SQL Server Log Configuration Guide

# Type 67 18453 / LOGON succeeded for user <13>Sep 14 15:40:11 10.116.28.102 MSWinLog 0 Application 12 Thu Sep 14 15:30:00 2006 18453 MSSQLSERVER Administrator User Audit LOGLOGIC-SRV1 Logon 0000: 15 48 00 00 0a 00 00 00 H..... 0008: 0e 00 00 00 4c 00 4f 00...L.O. Login succeeded for user 'LOGLOGIC\administrator'. Connection: trusted. [CLIENT: <local machine>] 68 68 18454 / LOGON succeeded for user 0 Application 69 Wed Aug 09 19:12:43 2006 18454 Login succeeded for user 'LOGLOGIC\administrator'. Connection: non-trusted. [CLIENT: <local machine>] 69 69 18455 / LOGON succeeded for user 0 Application 70 Wed Aug 09 19:12:43 2006 18455 Login succeeded for user 'LOGLOGIC\administrator'. [CLIENT: <local machine>] 70 70 18456 / LOGON failed for user 0 Application 71 Wed Aug 09 19:12:43 2006 18456 Login failed for user 'LOGLOGIC\administrator'. [CLIENT: <local machine>] 71 71 18457 / LOGON failed for user 0 Application 72 Wed Aug 09 19:12:43 2006 18457 Login failed for user 'LOGLOGIC\administrator'. The user name contains a mapping character or is longer than 30 characters. [CLIENT: <local machine>] 72 Microsoft SQL Server Log Configuration Guide 45

# Type 72 18458 / LOGON failed. 0 Application 73 Wed Aug 09 19:12:43 2006 18458 Login failed. The number of simultaneous users already equals the %d registered licenses for this server. To increase the maximum number of simultaneous users, obtain additional licenses and then register them through the Licensing item in Control Panel. [CLIENT: <local machine>] 73 73 18459 / LOGON failed. 0 Application 74 Wed Aug 09 19:12:43 2006 18459 Login failed. The workstation licensing limit for SQL Server access has already been reached. [CLIENT: <local machine>] 74 74 18460 / LOGON failed. The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 75 18461 / LOGON failed for user 0 Application 76 Wed Aug 09 19:12:43 2006 18461 Login failed for user 'LOGLOGIC\administrator'. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: <local machine>] 76 76 18470 / LOGON failed for user 0 Application 77 Wed Aug 09 19:12:43 2006 18470 Login failed for user 'LOGLOGIC\administrator'. Reason: The account is disabled. [CLIENT: <local machine>] 77 46 Microsoft SQL Server Log Configuration Guide

# Type 77 18486 / LOGON failed for user 0 Application 78 Wed Aug 09 19:12:43 2006 18486 Login failed for user 'LOGLOGIC\administrator' because the account is currently locked out. The system administrator can unlock it. [CLIENT: <local machine>] 78 78 18487 / LOGON failed for user 0 Application 79 Wed Aug 09 19:12:43 2006 18487 Login failed for user 'LOGLOGIC\administrator'. Reason: The password of the account has expired. [CLIENT: <local machine>] 79 79 18488 / LOGON failed for user 0 Application 80 Wed Aug 09 19:12:43 2006 18488 Login failed for user 'LOGLOGIC\administrator'. Reason: The password of the account must be changed. [CLIENT: <local machine>] 80 80 19030 / SQL Trace started by login 0 Application 81 Wed Aug 09 19:12:43 2006 19030 SQL Trace 2 was started by login "LOGLOGIC\administrator". 81 81 19031 / SQL Trace stopped by login 0 Application 82 Wed Aug 09 19:12:43 2006 19031 SQL Trace stopped. Trace = '2'. Login Name = 'LOGLOGIC\administrator'. 82 Microsoft SQL Server Log Configuration Guide 47

# 82 19032 SQL Trace was stopped due to server shutdown. 83 19033 Server started with '-f' option. Auditing will not be started. 84 19034 Shutting down SQL Server 85 19098 occurred while starting default trace. 86 19099 Trace stopped Type 0 Application 83 Wed Aug 09 19:12:43 2006 19032 SQL Trace was stopped due to server shutdown. Trace = '2'. This is an informational message only; no user action is required. 83 0 Application 84 Wed Aug 09 19:12:43 2006 19033 Server started with '-f' option. Auditing will not be started. This is an informational message only; no user action is required. 84 0 Application 85 Wed Aug 09 19:12:43 2006 19034 Cannot start C2 audit trace. SQL Server is shutting down. = %ls 85 0 Application 86 Wed Aug 09 19:12:43 2006 19098 An error occurred starting the default trace. Cause: %ls Use sp_configure to turn off and then turn on the 'default trace enabled' advanced server configuration option. 86 0 Application 87 Wed Aug 09 19:12:43 2006 19099 Trace '%d' was stopped because of an error. Cause: %ls. Restart the trace after correcting the problem. 87 48 Microsoft SQL Server Log Configuration Guide

Table 3 Microsoft SQL Server 2000 Audit s # Type 1 14 Audit Login Audit / Log not available in text format 2 15 Audit Logout Audit / Log not available in text format 3 18 Audit Server Starts And Stops Audit / Log not available in text format 4 20 Audit Login Failed Audit / Log not available in text format 5 25 Lock:Deadlock Audit / Log not available in text format 6 33 Exception Audit / Log not available in text format 7 46 Object:Created Audit / Log not available in text format 8 47 Object:Deleted Audit / Log not available in text format 9 59 Lock:Deadlock Chain Audit / Log not available in text format 10 102 Audit Statement GDR Audit / Log not available in text format 11 103 Audit Object GDR Audit / Log not available in text format 12 104 Audit Addlogin Audit / Log not available in text format 13 105 Audit Login GDR Audit / Log not available in text format 14 106 Audit Login Change Property Audit / Log not available in text format 15 107 Audit Login Change Password Audit / Log not available in text format 16 108 Audit Add Login to Server Role Audit / Log not available in text format 17 109 Audit Add DB User Audit / Log not available in text format 18 110 Audit Add Member to DB Audit / Log not available in text format 19 111 Audit Add Role Audit / Log not available in text format 20 112 Audit App Role Change Password Audit / Log not available in text format 21 113 Audit Statement Permission Audit / Log not available in text format 22 114 Audit Object Permission Audit / Log not available in text format 23 115 Audit Backup/Restore Audit / Log not available in text format 24 116 Audit DBCC Audit / Log not available in text format 25 117 Audit Change Audit Audit / Log not available in text format 26 118 Audit Object Derived Permission Audit / Log not available in text format Microsoft SQL Server Log Configuration Guide 49

Table 4 Microsoft SQL Server 2000 Operational s # 1 566 writing audit trace. 2 615 Could not find database table 3 701 Insufficient system memory 4 708 Low virtual memory. 5 913 Could not find database Type 0 Application 1 Wed Aug 09 19:12:43 2006 566 writing audit trace. SQL Server is shutting down. 464 0 Application 2 Wed Aug 09 19:12:43 2006 615 Could not find database table 6, name 'DBNAME'. 465 0 Application 3 Wed Aug 09 19:12:43 2006 701 There is insufficient system memory to run this query. 466 0 Application 4 Wed Aug 09 19:12:43 2006 708 Warning: Due to low virtual memory, special reserved memory used %d times since startup. Increase virtual memory on server. 467 0 Application 5 Wed Aug 09 19:12:43 2006 913 Could not find database 102. Database may not be activated yet or may be in transition. 468 50 Microsoft SQL Server Log Configuration Guide

# 6 3041 BACKUP failed to complete command 7 3151 The master database failed to restore.shutting down SQL Server. 8 3301 Invalid log record found 9 3315 During rollback following process did not hold Type 0 Application 6 Wed Aug 09 19:12:43 2006 3041 BACKUP failed to complete the command BACKUP DATABASE [HealthST1_SITE] TO DISK = N'\\Ushsfs\ITUtilities\SharePoint Portal Server\backup1-ushsdb-HealthST1_SITE.SPB' WITH INIT, NOUNLOAD, NOSKIP, STATS = 5, NOFORMAT 469 0 Application 7 Wed Aug 09 19:12:43 2006 3151 The master database failed to restore. Use the rebuildm utility to rebuild the master database. Shutting down SQL Server. 470 0 Application 8 Wed Aug 09 19:12:43 2006 3301 Invalid log record found in Syslogs (logop 42) 471 0 Application 9 Wed Aug 09 19:12:43 2006 3315 During rollback, the following process did not hold an expected lock: process 51 with mode 8 at level 2 for row Rid pageid is (1:73) and row num is 0x0 in database 'DatabaseName' under transaction (0:546). 472 Microsoft SQL Server Log Configuration Guide 51

# 10 3408 Recovery is complete. 11 3449 Shutting down SQL Server 12 3456 Could not redo log record 13 3620 Automatic checkpointing is disabled in database 14 6006 SQL Server shut down by request Type 0 Application 10 Wed Aug 09 19:12:43 2006 3408 Recovery complete. 473 0 Application 11 Wed Aug 09 19:12:43 2006 3449 An error has occurred that requires SQL Server to shut down so that recovery can be performed on database 102. 474 0 Application 12 Wed Aug 09 19:12:43 2006 3456 Could not redo log record (15:40:4), for transaction (0:5033), on page (1:24), database '<Database Name>' (11). Page: LSN = (15:29:2), type = 1. Log: OpCode = 9, context 2, PrevPageLSN: (14:503:4). 475 0 Application 13 Wed Aug 09 19:12:43 2006 3620 Automatic checkpointing is disabled in database 'DBNAME' because the log is out of space. It will continue when the database owner successfully checkpoints the database. Free up some space or extend the database and then run the CHECKPOINT statement. 476 0 Application 14 Wed Aug 09 19:12:43 2006 6006 Server shut down by request. 477 52 Microsoft SQL Server Log Configuration Guide

# 15 14151 Replication agent failed. 16 14265 The MSSQLServer service terminated unexpectedly. 17 17130 Not enough memory for the configured number of locks. 18 17131 Not enough memory for descriptor hash tables 19 17142 SQL Server service paused. Type 0 Application 15 Wed Aug 09 19:12:43 2006 14151 Replication-Replication Snapshot Subsystem: agent SERVER-SQL-Jobsheet-Jobsheet-12 failed. 478 0 Application 16 Wed Aug 09 19:12:43 2006 14265 The MSSQLServer service terminated unexpectedly. 479 0 Application 17 Wed Aug 09 19:12:43 2006 17130 initdata: No memory for kernel locks. 480 0 Application 18 Wed Aug 09 19:12:43 2006 17131 initdata: Not enough memory for descriptor hash tables. 481 0 Application 19 Wed Aug 09 19:12:43 2006 17142 SQL Server has been paused. No new connections will be allowed. 482 Microsoft SQL Server Log Configuration Guide 53

# 20 17144 SQL Server has been paused. 21 17147 Shutting down SQL Server 22 17148 SQL Server terminating because of system shutdown 23 17300 Not enough memory for process status structure 24 17308 Process generated an access violation. 25 17311 SQL Server is aborting Type 0 Application 20 Wed Aug 09 19:12:43 2006 17144 SQL Server is disallowing new connections due to 'pause' request from Service Control Manager. 483 0 Application 21 Wed Aug 09 19:12:43 2006 17147 SQL Server terminating because of system shutdown. 484 0 Application 22 Wed Aug 09 19:12:43 2006 17148 SQL Server is terminating due to 'stop' request from Service Control Manager. 485 0 Application 23 Wed Aug 09 19:12:43 2006 17300 Not enough memory for process status structure (PSS) allocation. 486 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 25 Wed Aug 09 19:12:43 2006 17311 SQL Server is aborting. Fatal exception c000001d caught. 488 54 Microsoft SQL Server Log Configuration Guide

# 26 17550 DBCC TRACEON 27 17551 DBCC TRACEOFF 28 17557 DBCC DBRECOVER failed 29 17676 SQL Server shutdown due to Ctrl-C or Ctrl-Break signal. 30 17752 Insufficient memory to run the extended stored procedure 31 18113 SQL Server shutdown after verifying system indexes. Type Unknown 0 Application 26 Wed Aug 09 19:12:43 2006 17550 DBCC TRACEON 208, server process (SP) 13. 489 0 Application 27 Wed Aug 09 19:12:43 2006 17551 DBCC TRACEOFF 208, server process (SP) 13. 490 0 Application 28 Wed Aug 09 19:12:43 2006 17557 DBCC DBRECOVER failed for database 102. 491 0 Application 29 Wed Aug 09 19:12:43 2006 17676 SQL Server shutdown due to Ctrl-C or Ctrl-Break signal. 492 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 31 Wed Aug 09 19:12:43 2006 18113 SQL Server shutdown after verifying system indexes. 494 Microsoft SQL Server Log Configuration Guide 55

# 32 18204 Backup device failed 33 18210 on backup device 34 18264 Database backed up. 35 18266 Database file backed up. Type 0 Application 32 Wed Aug 09 19:12:43 2006 18204 BackupDiskFile::OpenMedia: Backup device'l:\sqldata\mssql\backup\vnbu)-1580-1612 ' failed to open. Operating system error=2 (The system cannot find the file specified.) 495 0 Application 33 Wed Aug 09 19:12:43 2006 18210 BackupTapeFile::WriteFileMark: WriteTapemark failure on backup device '\\.\Tape0'. Operating system error 1112(error not found). 496 0 Application 34 Wed Aug 09 19:12:43 2006 18264 Database backed up: Database: anjali, creation date(time): 2006/08/31(14:50:29), pages dumped: 171, first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). 497 0 Application 35 Wed Aug 09 19:12:43 2006 18266 Database file backed up: Database: anjali, creation date(time): 2006/08/31(14:50:29), pages dumped: 171, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). 498 56 Microsoft SQL Server Log Configuration Guide

# 36 18267 Database restored 37 18269 Database file was restored. 38 18270 Database differential changes backed up 39 18271 Database changes restored. 40 18450 / LOGON failed for Login Type 0 Application 36 Wed Aug 09 19:12:43 2006 18267 Database restored: Database: anjali, creation date(time): 2006/08/31(14:50:29), first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). 499 The log format for this event is supported by the LogLogic Appliance, but the event has not been fully validated by LogLogic. Therefore no sample log message is available. For more information on this event, see the Microsoft Product Documentation. 0 Application 38 Wed Aug 09 19:12:43 2006 18270 Database differential changes backed up: Database: anjali, creation date(time): 2006/08/31(14:50:29), pages dumped: 171, first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). 501 0 Application 39 Wed Aug 09 19:12:43 2006 18271 Database changes restored: Database: anjali, creation date(time): 2006/08/31(14:50:29), first LSN: 19:242:212, last LSN: 19:332:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\anjali\anj.bak'}). 502 0 Application 40 Wed Aug 09 19:12:43 2006 18450 Login failed- User: loginid Reason: Not defined as a valid user of a trusted SQL Server connection 503 Microsoft SQL Server Log Configuration Guide 57

# Type 41 18451 / LOGON failed for user 0 Application 41 Wed Aug 09 19:12:43 2006 18451 Login failed for user 'DBuser'. Only administrators may connect at this time. 504 42 18452 / LOGON failed for user 0 Application 42 Wed Aug 09 19:12:43 2006 18452 Login Failed- User: sa Reason: Not associated with a Trusted SQL Server Connection 505 43 18453 / LOGON succeeded for user 0 Application 43 Wed Aug 09 19:12:43 2006 18453 Login succeeded for user 'admin'. Connection: Trusted. 506 44 18454 / LOGON succeeded for user 0 Application 44 Wed Aug 09 19:12:43 2006 18454 Login succeeded for user 'admin'. Connection: Non-Trusted. 507 45 18455 / LOGON succeeded for user 0 Application 45 Wed Aug 09 19:12:43 2006 18455 Login succeeded for user 'admin'. 508 58 Microsoft SQL Server Log Configuration Guide

# Type 46 18456 / LOGON failed for user 0 Application 46 Wed Aug 09 19:12:43 2006 18456 Login failed for user 'DOMAIN\user'. 509 47 18457 / LOGON failed for user 0 Application 47 Wed Aug 09 19:12:43 2006 18457 Login failed for user 'jdoe'. Reason: User name contains a mapping character or is longer than 30 characters. 510 48 18458 / LOGON failed. 0 Application 48 Wed Aug 09 19:12:43 2006 18458 Login failed. The maximum simultaneous user count of 50 licenses for this server has been exceeded. Additional licenses should be obtained and registered through the Licensing application in the NT Control Panel. 511 49 18459 / LOGON failed. 0 Application 49 Wed Aug 09 19:12:43 2006 18459 Login failed. The maximum workstation licensing limit for SQL Server access has been exceeded. 512 50 18460 / LOGON failed. 0 Application 50 Wed Aug 09 19:12:43 2006 18460 Login failed. The maximum simultaneous user count of 1 licenses for this 'Standard Edition' server has been exceeded. Additional license should be obtained and installed or you should upgrade to a full version. 513 Microsoft SQL Server Log Configuration Guide 59

# Type 51 18461 / LOGON failed for user 0 Application 51 Wed Aug 09 19:12:43 2006 18461 Login failed for user 'jdoe'. Reason: Server is in single user mode. Only one administrator can connect at this time. 514 60 Microsoft SQL Server Log Configuration Guide