Solved

SQL Server maintenance job failed finally

Posted on 2009-05-14
3
1,383 Views
Last Modified: 2012-06-27
I have a weekly job that runs and fails. I have created a maintenance plan. The plan includes&
--Check database integrity
-- reorganize index
-- Rebuild index
-- update statistics.
When I go in history the Details are: ------------------
The job failed. The job was invoked by step 7 (Maintenance Plan). The last step to run was step 1 (Subplan_1).
More in Detail:-
Started at 11:00 PM Progress 2009-059 23:00:42
Source : {A01DA409RNC09N&&.} Executing query DECLARE @ Guid UNIQUEIDENTIFIER EXECUTE msdb. .Sp.: 100% complete end progress: 2009-05-09  23:00:45
Source: Check Database Integrity. Executing query USE [P58]: 50% complete End process: 2009:05:09 23:09:56:30.
Source: Check Database Integrity: Executing query DBCC CHECKDB WITH NO_INFOMSGS. 100% complete end process. Progress : 2009:05:02  23:09:56:30
Source: Check Database Integrity. Executing query USE[P6302] 50% complete End process: 2009:05:09 23:09:56:30. &.100% complete end process. Progress : 2009:05:02  23:09:56:30
The package execution failed&.. The step failed.

Please help me to resolve issue
0
Comment
Question by:aatishpatel
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
reb73 earned 500 total points
ID: 24385983
Log the job step to a text/log file and check this log file to zone in on the exact problem..
0
 

Author Comment

by:aatishpatel
ID: 24386110
that's the log file -------------------------

Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
05/09/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,10:01:12,0,0,,,,0
05/09/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:01 PM  Progress: 2009-05-09 23:00:04.82     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-05-09 23:00:05.96     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-05-09 23:09:56.30     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-05-09 23:09:56.30     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-05-09 23:19:44.82     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-05-09 23:19:44.84     Source:...  The package execution fa...  The step failed.,10:01:12,0,0,,,,0
05/02/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,08:17:51,0,0,,,,0
05/02/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:01 PM  Progress: 2009-05-02 23:00:08.60     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-05-02 23:00:09.66     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-05-02 23:04:56.32     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-05-02 23:04:56.34     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-05-02 23:14:53.19     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-05-02 23:14:53.20     Source:...  The package execution fa...  The step failed.,08:17:51,0,0,,,,0
04/25/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,08:30:14,0,0,,,,0
04/25/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:00 PM  Progress: 2009-04-25 23:00:04.06     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-04-25 23:00:05.31     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-04-25 23:04:47.87     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-25 23:04:47.87     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-04-25 23:14:47.86     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-25 23:14:47.88     Source:...  The package execution fa...  The step failed.,08:30:14,0,0,,,,0
04/18/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,07:12:22,0,0,,,,0
04/18/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:00 PM  Progress: 2009-04-18 23:00:04.18     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-04-18 23:00:05.23     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-04-18 23:04:40.73     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-18 23:04:40.75     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-04-18 23:14:31.17     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-18 23:14:31.17     Source:...  The package execution fa...  The step failed.,07:12:22,0,0,,,,0
04/11/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,07:50:26,0,0,,,,0
04/11/2009 23:00:01,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:01 PM  Progress: 2009-04-11 23:00:04.91     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-04-11 23:00:06.00     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-04-11 23:04:29.19     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-11 23:04:29.19     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-04-11 23:14:01.49     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-11 23:14:01.51     Source:...  The package execution fa...  The step failed.,07:50:25,0,0,,,,0
04/04/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,06:07:31,0,0,,,,0
04/04/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:00 PM  Progress: 2009-04-04 23:00:07.26     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-04-04 23:00:08.44     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-04-04 23:04:31.87     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-04 23:04:31.88     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-04-04 23:09:04.62     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-04-04 23:09:04.64     Source:...  The package execution fa...  The step failed.,06:07:31,0,0,,,,0
03/28/2009 23:00:00,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 7 (Maintenance Plan).  The last step to run was step 1 (Subplan_1).,06:36:34,0,0,,,,0
03/28/2009 23:00:00,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:00:01 PM  Progress: 2009-03-28 23:00:04.65     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-03-28 23:00:05.68     Source: Check Database Integrity      Executing query "USE [P58]  ".: 50% complete  End Progress  Progress: 2009-03-28 23:04:43.25     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-28 23:04:43.26     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-03-28 23:09:15.61     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-28 23:09:15.61     Source:...  The package execution fa...  The step failed.,06:36:34,0,0,,,,0
03/23/2009 23:14:15,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User IHS\rrichardson.  The last step to run was step 1 (Subplan_1).,07:02:46,0,0,,,,0
03/23/2009 23:14:15,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  11:14:15 PM  Progress: 2009-03-23 23:14:16.37     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-03-23 23:14:16.90     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-03-23 23:25:23.91     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-23 23:25:23.92     Source: Check Database Integrity      Executing query "USE [P66]  ".: 50% complete  End Progress  Progress: 2009-03-23 23:38:03.00     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-23 23:38:03.02     Source:...  The package execution fa...  The step failed.,07:02:46,0,0,,,,0
03/22/2009 00:00:09,Maintenance Plan.Subplan_1,Error,0,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User IHS\rrichardson.  The last step to run was step 1 (Subplan_1).,06:31:42,0,0,,,,0
03/22/2009 00:00:09,Maintenance Plan.Subplan_1,Error,1,IHS-MAIN-DB-13,Maintenance Plan.Subplan_1,Subplan_1,,Executed as user: IHS\SqlAdmin. ...rsion 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  12:00:09 AM  Progress: 2009-03-22 00:00:13.38     Source: {A01DA115-9500-4DF6-BA8C-01044698A3AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-03-22 00:00:14.55     Source: Check Database Integrity      Executing query "USE [P6302]  ".: 50% complete  End Progress  Progress: 2009-03-22 00:17:05.14     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-22 00:17:05.17     Source: Check Database Integrity      Executing query "USE [P66]  ".: 50% complete  End Progress  Progress: 2009-03-22 00:30:28.10     Source: Check Database Integrity      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-03-22 00:30:28.16     Source:...  The package execution fa...  The step failed.,06:31:42,0,0,,,,0
0
 

Author Closing Comment

by:aatishpatel
ID: 31581488
got some idea anyways thanx
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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.
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.

860 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