Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Server maintenance job failed finally

Posted on 2009-05-14
3
Medium Priority
?
1,402 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
[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
3 Comments
 
LVL 25

Accepted Solution

by:
reb73 earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

718 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