The Orchestrator Runbook Service (orunbook) on a System Center Orchestrator Runbook Server starts successfully but then terminates after 30-60 seconds.
In the System Event Log of the System Center Orchestrator Runbook Server, the following sequence of events will be seen:
Log Name: System
Source: Service Control Manager
Date:
Event ID: 7036
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: <Computer>
Description:
The Orchestrator Runbook Service service entered the running state.
Log Name: System
Source: Service Control Manager
Date:
Event ID: 7036
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: <Computer>
Description:
The Orchestrator Runbook Service service entered the stopped state.
Log Name: System
Source: Service Control Manager
Date:
Event ID: 7023
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <Computer>
Description:
The Orchestrator Runbook Service service terminated with the following error:
%%-2147467259
Additionally the following may be observed.
When querying the status of the Orchestrator Runbook Service using SC.exe, the following output shows the last exit code when the service is in a stopped state:
C:\Windows\system32>sc query orunbook
SERVICE_NAME: orunbook
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : -2147467259 (0x80004005)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
One or more exceptions may be captured in the Orchestrator Runbook Service logging folder on the Orchestrator Runbook Server computer. The default path for these logs is "C:\ProgramData\Microsoft System Center 2012\Orchestrator\RunbookService.exe\Logs".
Cause :
The Orchestrator Runbook Service was not able to connect to the Orchestrator database. This could be due to any of the following reasons:
- The service for the Microsoft SQL Server database instance is not running.
- The hostname for the Microsoft SQL Server database instance does not resolve correctly.
- An incorrect database instance has been configured.
- An incorrect TCP/IP port may have been configured in Orchestrator or in Microsoft SQL Server for the database instance.
- TCP/IP may not be configured as an acceptable binding or an alternative protocol binding may be configured as higher priority causing connections to work from some locations but not others (e.g. local versus remote).
- The user account provided does not have appropriate permissions to the Orchestrator database.
Correct the problem that is preventing the Orchestrator Runbook Service from connecting to the Orchestrator database.
- Verify the Microsoft SQL Server database instance that hosts the Orchestrator database is running.
- Verify that the hostname for the Microsoft SQL Server instance is correct and resolves correctly in DNS.
- Verify that the correct Microsoft SQL Server instance is configured in System Center Orchestrator.
- Check that the TCP/IP port configured in Microsoft SQL Server for the instance that hosts the Orchestrator database matches the TCP/IP port defined in System Center Orchestrator.
- Check the protocol configuration for the Microsoft SQL Server instance that hosts the Orchestrator database to ensure communication via TCP/IP is the default protocol.
- Verify that the user account of the Orchestrator Runbook Service or the SQL User Account is a member of the Microsoft.SystemCenter.Orchestrator.Runtime user role in the Orchestrator database.
The Orchestrator Runbook Service will only terminate due to failed connectivity to the Orchestrator database during the service start. Once the service has successfully started with full database connectivity, any future database issues will be captured and logged without the service terminating.
This issue occurs most frequently when the System Center Orchestrator environment is restarted and the Orchestrator Runbook Service starts before the Orchestrator database is fully online. In this case, configuring the Orchestrator Runbook Service Recovery Properties can often automatically remediate the problem by having the service wait a period of time and then attempt to start again.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.
This posting is provided "AS IS" with no warranties.
No comments:
Post a Comment