Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1420
  • Last Modified:

SQL Server maintenance job failed finally

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
aatishpatel
Asked:
aatishpatel
  • 2
1 Solution
 
reb73Commented:
Log the job step to a text/log file and check this log file to zone in on the exact problem..
0
 
aatishpatelAuthor Commented:
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
 
aatishpatelAuthor Commented:
got some idea anyways thanx
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now