Solved

Message: Shrink log

Posted on 2016-09-16
4
59 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
  • 2
4 Comments
 
LVL 13

Assisted Solution

by:Nakul Vachhrajani
Nakul Vachhrajani earned 500 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 13

Accepted Solution

by:
Nakul Vachhrajani earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

830 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