Solved

Message: Shrink log

Posted on 2016-09-16
4
80 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 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

734 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