Solved

Index Rebuild Job suddenly started failing

Posted on 2016-08-04
2
54 Views
Last Modified: 2016-08-04
Heyas,

My maintenance plan for rebuilding indexes has started to fail below is the error message:

.Version 10.50.2500.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  9:00:00 PM  Progress: 2016-08-02 21:00:02.84     Source: {6DFF2819-4B44-4B9D-8F99-A687CCB094AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp...".: 100% complete  End Progress  Progress: 2016-08-02 21:05:37.50     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES] ON [dbo].[ABSENCES] REBUILD...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES_ID] ON [dbo].[ABSENCES] REBU...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES2] ON [dbo].[ABSENCES] REBUIL...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES3] ON [dbo].[ABSENCES] REBUIL...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ACCOUNT_NDX1] ON [dbo].[ACCOUNT] REBU...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ACCOUNT_NDX2] ON [dbo].[ACCOUNT] REBU...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.53     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACCOUNT] ON [dbo].[ACCOUNT] REBUIL...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.53     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.55     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACTIVATION] ON [dbo].[ACTIVATION] ...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.55     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACTIVITY_POLE] ON [dbo].[ACTIVITY_...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX1] ON [dbo].[ACTIVITY_POLE] R...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX2] ON [dbo].[ACTIVITY_POLE] R...".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.57     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX3] ON [dbo].[ACTIVITY_POLE] R...".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.57     Source: Rebuild Index      Executin...  The package execution fa...  The step failed.

The indexes that are having issues are:
ALTER INDEX [ABSENCES]
ALTER INDEX [ABSENCES2]  
ALTER INDEX [ABSENCES3]
ALTER INDEX [ACCOUNT_NDX1]
ALTER INDEX [ACCOUNT_NDX2]
ALTER INDEX [PK_ACCOUNT]
ALTER INDEX [PK_ACTIVITY_POLE]
ALTER INDEX [PK_ACTIVATION]
ALTER INDEX [POLE_NDX1]
ALTER INDEX [POLE_NDX2]
ALTER INDEX [POLE_NDX3]
Troubleshooting so far:

- I have run dbcc checkdb no issues.
- My log file is under <1GB
- Log file is set to grow 10% every time.

How do I begin to troubleshoot this issue?

Any assistance is appreciated.

I am running SQL Server 2008 R2 Enterprise. also I keep my index online whilst reindexing.

Thank you.
0
Comment
Question by:Zack
2 Comments
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 41742761
There's no actual error message in that text.  You need to have the job write its log to a text file, then look at the full error messages in the text file to see more details about what the error(s) is(are).
0
 

Author Closing Comment

by:Zack
ID: 41743607
Heyas,

Sorry meant to attach the error log last night, worked it out taking the DB offline and online fixed the issue.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

825 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