Information
This article contains information about troubleshooting Citrix Broker Service startup issues in the XenDesktop 5 site. These issues can be identified by the event log messages.
Background
Startup of the Citrix Broker Service Windows service on a device in a XenDesktop site generates a number of error logs.
For troubleshooting Citrix Broker Service startup issues in the XenDesktop 5 site, complete the following procedures. The Citrix Broker Service Startup has the following initializations:
- Broker Component Initialization
- XML Service Component Initialization
- Hosting Management Component Initialization
Troubleshooting Citrix Broker Service Startup
To troubleshoot the Citrix Broker Service Startup issues, complete the following procedure:
When BrokerService.exe file starts, the device first load dependent Dynamic Link Library (DLLs) before control is passed to the program code. This process might fail if any of the dependencies are missing or becomes unusable. The service might also fail to start or initialize if the configuration file,?? BrokerService.exe.config?? is unusable, for example, by an attempt to edit the settings for the service.
CTX127492 -?? How to Enable the Controller Service Logging Feature of XenDesktop 5
Log Name: Application
Source: Citrix Broker Service
Date: 4/17/2013 4:59:55 PM
Event ID: 503
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: XD5A.2k8.com
Description:
The Citrix Broker Service failed to initialize again. A previously detected problem still exists. To avoid excessive event logging, the service is suppressing related messages (event ID 502) until the problem is resolved. Initialization attempts will continue. Error details: Exception '1' of type 'Configuration system failed to initialize'.
Refer to CTX129510 -?? XenDesktop 5 Error 1053: Could not start the Citrix Service on Local Computer?? for more information.
To resolve the preceding issues, you can either repair the installation or re-install the service. To repair the installation, you must use the?? msiexectool specifying the /f?? command line switch (to select installation repair) and the path of the?? MSI install?? file (that installed the controller service), which is on the installed CD as?? “\x64\Citrix Desktop Delivery Controller\Broker_Service_x64.msi” or?? “\x86\Citrix Desktop Delivery Controller\Broker_Service_x86.msi", depending on whether the controller is a 64-bit or 32-bit Windows system.
The service initialization follows dependency load.
The initialization sequence is outlined in the following list, which also indicates where the event log messages might be generated. The following entries include event log message Type, Event ID, and Notes regarding the root cause:Initialization begins
Info | 500 | Initialization has started |
Check the identity of the account that the service is running as
Error | 1000 | The service cannot run with an account other than Network Service. |
Error | 501 | A fatal exception encountered early during the start-up of the service results in an event log message 501 being generated. The exception type or message provided in the Error details section of the event log message may provide some indication of the source of the problem, but problems of this type may indicate a systemic issue with the DDC machine, in which case a machine reboot may help, or a re-install of the DDC components may be required. |
Make the PowerShell SDK support available
Info | 509 | Early initialization completed successfully. |
Establish communication with the database server
Warn | 504 | Cannot contact database. |
Info | 505 | Successfully contacted database. |
Initialize Broker component
Error | 1001 | Any of a number of operations (see Broker Component Initialization) may have failedCheck the exception data included in the message for clues. |
Warn | 1003 |
Initialize XML Service component
Error | 2000 | Any of a number of operations (see Xml Service Component Initialization) may have failed. Check the exception data included in the message for clues. |
Warn | 2001 | |
Info | 2003 | Successfully initialized XML service. |
Initialize Hosting Management component
Warn | 3001 | Any of a number of operations (see Hosting Management Component Initialization) may have failed. Check the exception data included in the message for clues. |
Info | 3000 | Successfully initialized hosting management component. |
An error occurred during initialization. The service will retry later.
Warn | 502 | Any of a number of operations may have failed. Check the exception data included in the message for clues. |
Initialization complete
Info | 506 | Initialization has completed |
Notes:
- An error at stage 1-2 results in a service start failure.
- A failure, which occurs in stage 3 or later, is recoverable. This failure can be recovered by the Broker service by continually retrying the operation at intervals until you succeed.
- The initialization sequence occurs over multiple threads of execution, so the event messages might be generated in a different order other than the one explained in the preceding sequence.
The Broker service functionality is grouped into distinct components. The primary components are initialized in a sequence but run in parallel initialization, such as Broker, XML Service, and Hosting Management. The following sections outline the key operations in the parallel initialization of the components:
Broker Component Initialization
The initialization for the Broker component is as explained in the following procedure:
-
Connect the Broker component to the Broker tables of the database server.
-
Detect any database server update scripts and add that version changing capability to the device.
-
If AD-based discovery is configured to be used, find and validate the Organizational Unit?? (OU) for the farm in an Active Directory (AD).
Notes:
This preceding step is only performed when the configuration is set such that an OU is required in an AD.Refer to the Knowledge Center article CTX118976 -?? How to Configure XenDesktop to Function Without an Organizational Unit in Active Directory?? for more information.
This is not the default setting for XenDesktop 5. -
Purge any out-of-date tickets in the Windows Kerberos cache.
-
Start the Web services offered by the Broker service.
-
Update the Service Connection Point (SCP) object in an AD for this controller device.
Note: This preceding step is only performed when the configuration is set, such that an OU is required in an AD. Refer to the Knowledge Center article CTX118976 -?? How to Configure XenDesktop to Function Without an Organizational Unit in Active Directory?? for more information.
- Connect to the license server.
-
Receive registrations from any Virtual Desktop (VD) device.
XML Service Component Initialization
The initialization for XML Service component is as explained in the following procedure:
-
Initialize use of the HTTP sharing system for each of the separate XML services.
-
Listen to the XML requests on HTTP and HTTPS urls.??
Hosting Management Component Initialization
The initialization for Hosting Management component is as explained in the following procedure:
-
Connect to the Hosting Management tables of the database server.
-
Register XenDesktop 5 site service behavior for any hypervisor connection site services.
-
Connect to any configured hypervisors and update the status information.
Supporto Citrix
Traduzione automatica
Questo articolo ?? ¨ stato tradotto da un sistema di traduzione automatica e non ?? ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ?? ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.