Link to home
Start Free TrialLog in
Avatar of aatishpatel
aatishpatel

asked on

SQL server maintenamce plan error

this is the post that i had posted earlier but i posted earlier to draw some attention to it. please help regarding this

I have a weekly job that runs and fails. I have created a maintenance plan on databases  P6302, P66, P67, P82, P58. The maintenance plan includes
--Check database integrity
-- reorganize index
-- Rebuild index
-- update statistics.

details of error:-
Step ID            0
Server            IHS-MAIN-SQL-04
Job Name            P63 Maintenance Plan.Subplan_1
Step Name            (Job outcome)
Duration            06:26:33
Sql Severity            0
Sql Message ID            0
Operator Emailed            
Operator Net sent            
Operator Paged            
Retries Attempted            0

Message
The job failed.  The Job was invoked by Schedule 5 (P63 Maintenance Plan.Subplan_1).  The last step to run was step 1 (Subplan_1).


more details of the error:-
Date            5/16/2009 10:00:00 PM
Log            Job History (P63 Maintenance Plan.Subplan_1)

Step ID            1
Server            IHS-MAIN-SQL-04
Job Name            P63 Maintenance Plan.Subplan_1
Step Name            Subplan_1
Duration            06:26:33
Sql Severity            0
Sql Message ID            0
Operator Emailed            
Operator Net sent            
Operator Paged            
Retries Attempted            0

Message
Executed as user: IHS\SqlAgent. ...rsion 9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  10:00:00 PM  Progress: 2009-05-16 22:00:07.97     Source: {98AEE4A9-0C39-4513-9BB1-05959811F06E}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-05-16 22:00:10.14     Source: Check Database Integrity Task      Executing query "USE [P63]  ".: 50% complete  End Progress  Progress: 2009-05-16 23:06:07.56     Source: Check Database Integrity Task      Executing query "DBCC CHECKDB WITH NO_INFOMSGS  ".: 100% complete  End Progress  Progress: 2009-05-16 23:14:24.53     Source: Reorganize Index Task      Executing query "USE [P63]  ".: 0% complete  End Progress  Progress: 2009-05-16 23:14:24.56     Source: Reorganize Index Task      Executing query "ALTER INDEX [PK_NameSeq] ON [dbo].[_not_used_Junk8".: 0% complete  End Progress  Progress: 2009-05-16 23:14...  The package execution fa...  The step failed.


so can anybody what's happening in the above steps and how do i resolve this.
ASKER CERTIFIED SOLUTION
Avatar of Zberteoc
Zberteoc
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aatishpatel
aatishpatel

ASKER

but i think the maintenance plan fails because below fails

 Source: Reorganize Index Task      Executing query "USE [P63]  ".: 0% complete  End Progress  Progress: 2009-05-16 23:14:24.56     Source: Reorganize Index Task      Executing query "ALTER INDEX [PK_NameSeq] ON [dbo].[_not_used_Junk8".: 0% complete  End Progress  Progress: 2009-05-16 23:14...  The package execution fa...  The step failed.
make sure you click on the job history details and post the entire details....
You have to be sure not just to think about the error. In Job history the error is sometimes shown incomplete for some reason. Use a log file as I said.
got some ideas, anyways thanx