?
Solved

Message: Shrink log

Posted on 2016-09-16
4
Medium Priority
?
112 Views
Last Modified: 2016-11-02
Executed as user: NT AUTHORITY\SYSTEM. DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  Cannot shrink file '2' in database 'MSCRM_CONFIG' to 256 pages as it only contains 160 pages.
[SQLSTATE 01000] (Message 7993)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  Cannot shrink log file 2 (Kofax_log) because total number of logical log files cannot be fewer than 2.
[SQLSTATE 01000] (Message 9006)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  Cannot shrink file '2' in database 'kofax1' to 256 pages as it only contains 104 pages.
[SQLSTATE 01000] (Message 7993)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[SQLSTATE 01000] (Message 2528)  Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized.
Reissue the statement after the current backup or file manipulation operation is completed. [SQLSTATE 42000] (Error 3023)  DBCC execution completed.
If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Error 2528).  The step failed.
0
Comment
Question by:Sumeet Singh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Assisted Solution

by:Nakul Vachhrajani
Nakul Vachhrajani earned 2000 total points
ID: 41802167
Looks like your log shrink and a DB backup operation (or even file growth, for that matter) conflicted with each other. Arrange the sequence such that the shrink runs after file manipulation operations are completed.

Does the shrink run regularly as a scheduled job (if yes, it will impact performance as your DB scales up).

This page tells you which administrative tasks can run concurrently: https://technet.microsoft.com/en-us/library/ms189315(v=sql.105).aspx
0
 

Author Comment

by:Sumeet Singh
ID: 41802214
Yes as a part of maintenance plan the shrink job runs every day.
0
 
LVL 14

Accepted Solution

by:
Nakul Vachhrajani earned 2000 total points
ID: 41802602
Did you check for conflicting file operations? That is the only way you would end up with error #3023 (which by the way is the core error in the message. The others are just informational messages)

If this was working fine before, what changed recently to cause conflicting file operations?

And yes, a daily shrink is absolutely not recommended. Please do revisit your maintenance strategy.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question