|
Ошибка во всех заданиях агента
|
|||
---|---|---|---|
#18+
Предистория: был рабочий сервер в ДЦ. Потом его отключили. Прошло время. Решили опять включить и продолжить с ним работать. Свиду сервер работал ОК. Джобы выполнялись (бекапы). Вчера отресторили свежие базы. Сегодня не работает ниодин джоб. Дает ошибку: ОшибкаMessage Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 12.0.6024.0 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 9:37:16 Error: 2020-08-12 09:37:17.37 Code: 0xC002F210 Source: {60116182-0FEB-4495-8E12-2A64209730C4} Execute SQL Task Description: Executing the query "DECLARE @Guid UNIQUEIDENTIFIER EXECUTE msdb..sp..." failed with the following error: "The INSERT statement conflicted with the FOREIGN KEY constraint "FK_sysmaintplan_log_subplan_id". The conflict occurred in database "msdb", table "dbo.sysmaintplan_subplans", column 'subplan_id'. The statement has been terminated.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error Warning: 2020-08-12 09:37:17.37 Code: 0x80019002 Source: OnPreExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning Error: 2020-08-12 09:37:17.74 Code: 0xC0024104 Source: Back Up Database (Transaction Log) Description: The Execute method on the task returned error code 0x80131501 (An exception occurred while executing a Transact-SQL statement or batch.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Error: 2020-08-12 09:37:17.79 Code: 0xC0024104 Source: {B9AD530F-5427-4B08-8633-EFB64CFDF24C} Description: The Execute method on the task returned error code 0x80131501 (An exception occurred while executing a Transact-SQL statement or batch.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2020-08-12 09:37:17.79 Code: 0x80019002 Source: OnPostExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning DTExec: The package execution returned DTSER_FAILURE (1). Started: 9:37:16 Finished: 9:37:17 Elapsed: 0.875 seconds. The package execution failed. The step failed. Удалить джоб тоже не дает. Дает похожую ошибку. Админы с сервером ничего не делали. MSSQL2014 ... |
|||
:
Нравится:
Не нравится:
|
|||
12.08.2020, 10:30 |
|
Ошибка во всех заданиях агента
|
|||
---|---|---|---|
#18+
У вас все джобы -- Maintenance Plan? ... |
|||
:
Нравится:
Не нравится:
|
|||
12.08.2020, 10:57 |
|
Ошибка во всех заданиях агента
|
|||
---|---|---|---|
#18+
Гавриленко Сергей Алексеевич У вас все джобы -- Maintenance Plan? При удалении конкретного Maintenance Plan-а ошибок не дает, но его степ остается с списке джобов агента. При попытке удалить степ: авторTITLE: Microsoft SQL Server Management Studio ------------------------------ Drop failed for Job 'BackupLog.Subplan_1'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft SQL Server&ProdVer=12.0.6024.0 ((SQL14_PCU_Main).180907-0056)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Drop Job&LinkId=20476 The DELETE statement conflicted with the REFERENCE constraint "FK_subplan_job_id". The conflict occurred in database "msdb", table "dbo.sysmaintplan_subplans", column 'job_id'. The statement has been terminated. (Microsoft SQL Server, Error: 547) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft SQL Server&ProdVer=12.00.6024&EvtSrc=MSSQLServer&EvtID=547&LinkId=20476 Допустим это из-за того, что удалился его соответствующий Maintenance Plan. Но как такое могло получиться ? Попытка пересоздать МП с тем же именем степа дает ошибку сохранения, т.к. такой степ уже есть. Хотя переименование степа позволяет сохранить МП, но все равно проблема с выполнениями МП. ... |
|||
:
Нравится:
Не нравится:
|
|||
12.08.2020, 11:22 |
|
|
start [/forum/topic.php?fid=46&fpage=51&tid=1685783]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
28ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 16ms |
total: | 138ms |
0 / 0 |