レプリケーション エージェントは、原因を適切な履歴テーブルに書き込むことなくシャットダウンされました。つまり、このエージェントは処理の途中でシャットダウンされました。
Restart the agent to see if it will now run without failures.For more information, see "How to: Start and Stop a Replication Agent (SQL Server Management Studio)" and "Programming Replication Agent Executables" in SQL Server Books Online.
Check the agent history and job history for other errors that occurred around the same time.For information about viewing agent status and error details in Replication Monitor, see the following topics in SQL Server Books Online:
For the Snapshot Agent, Log Reader Agent, and Queue Reader Agent, see "How to: View Information and Perform Tasks for the Agents Associated with a Publication (Replication Monitor)."
For the Distribution Agent and Merge Agent, see "How to: View Information and Perform Tasks for the Agents Associated with a Subscription (Replication Monitor)."
Verify that basic connectivity is working between the computers accessed by the agent, and then connect to each computer with a utility like the sqlcmd utility.接続の際には、エージェントが接続に使用するものと同じアカウントを使用します。For more information about the permissions required by each agent account, see "Replication Agent Security Model" in SQL Server Books Online.
スナップショットの作成中または適用中にエラーが発生した場合は、スナップショット ディレクトリのファイルにエラーがないかどうかを確認します。
エラーの発生が継続する場合は、エージェントのログ記録を増やし、ログの出力ファイルを指定します。エラーのコンテキストによっては、エラーや他のエラー メッセージを発生させる手順が示される場合もあります。For more information about configuring logging for replication, see the Microsoft Knowledge Base article 312292.
Target | Microsoft.SQLServer.2012.Agent | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 20557 | ||
Event Source | $Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$ | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application | ||
Comment | Mom2012ID='{0198CCE6-7B4A-45C7-B7DB-EB7777D76360}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74} |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ | DataSource | Microsoft.Windows.EventProvider | Microsoft.SQLServer.SQLDefaultAccount |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SQLServer.2012.Agent_shutdown._For_more_information_see_the_SQL_Server_Agent_job_history_for_job_1_5_Rule" Target="SQL2012Core!Microsoft.SQLServer.2012.Agent" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2012ID='{0198CCE6-7B4A-45C7-B7DB-EB7777D76360}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>20557</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2012.Agent_shutdown._For_more_information_see_the_SQL_Server_Agent_job_history_for_job_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>