Citrix Edgesight XenApp Agent 5.x doesn’t start

I have a new issue… I am updating all Edgesight XenApp agents to 5.2 and I have problem on only some servers. These servers have remapped drivers ( m: & n: ) and run Windows 2003 R2 Sp2. The installation is successful without any error but after a reboot the service doesn’t want to start with the message : “The Citrix System Monitoring Agent service on Local Computer started and the stopped…”

snap00067

In Event Logs

Type: Error
Event Source: Citrix System Monitoring Agent
Event Category: None
Event ID: 34
Date: 16/10/2009
Time: 09:49:32
User: AUTORITE NT\SYSTEM
Computer: EMCXPA000
Description:
The Citrix System Monitoring Agent was unable to startup. Please consult the Sys_event_txt.txt agent log in your data directory for details.

Click on read more to continue

Then :
Event Type: Error
Event Source: Citrix System Monitoring Agent
Event Category: None
Event ID: 22
Date: 16/10/2009
Time: 09:49:37
User: AUTORITE NT\SYSTEM
Computer: EMCXPA000
Description:
The Citrix System Monitoring Agent has attempted to recover from a database error but was unable to do so.

The when I go to check the Sys_event_txt.txt log file :

2009-10-16 09:49:32 Core                     Service                  —– Starting Agent on EMCXPA000 version 5.2.2183.0 —–
2009-10-16 09:49:32 Core                     Service                  Current service state is ‘START_PENDING’
2009-10-16 09:49:32 Core                     Collector                Starting…
2009-10-16 09:49:32 Core                     Collector                Database connection is local.
2009-10-16 09:49:32 Core                     RSI                      RsiProduct (Core): successfully opened rsi file: M:\Program Files\Citrix\System Monitoring\Agent\Core\Core.rsi
2009-10-16 09:49:32 Core                     RSI                      RsiProductDatabase (Core): State=UNKNOWN Unable to open database. Error querying database service: 20 | I/O error for file “aliases.conf” | Error while trying to open file | The data is invalid.
2009-10-16 09:49:32 Core                     Collector                Failed (4313) to initialize product: M:\Program Files\Citrix\System Monitoring\Agent\Core\Core.rsi
2009-10-16 09:49:32 Core                     Collector                Error initializing MPACollector. hr: 0x80004005
2009-10-16 09:49:32 Core                     Collector                —– Core Collector Failed to Start —–
2009-10-16 09:49:32 Core                     CSM Update               ~~~~~ Started Citrix System Monitoring Update and Maintenance ‘/s /t /v /md’ ~~~~~
2009-10-16 09:49:32 Core                     Service                  Unable to initialize collector
2009-10-16 09:49:32 Core                     CSM Update               Shutting down the Citrix System Monitoring Agent
2009-10-16 09:49:32 Core                     Service                  Shutting down collector…
2009-10-16 09:49:32 Core                     CSM Update               Failed to shutdown service rscorsvc.  Error=1052
2009-10-16 09:49:32 Core                     Service                  Current service state is ‘STOPPED’
2009-10-16 09:49:32 Core                     CSM Update               Service state for rscorsvc is ‘START_PENDING’
22009-10-16 09:50:08 Core                     CSM Update               Error querying database service: 21 | I/O error for file “RSDatr.fdb” | Error while trying to write to file | The operation completed successfully.
2009-10-16 09:50:09 Core                     CSM Update               Error querying database service: 23 | I/O error for file “RSDatr.fdb” | Error while trying to delete file | The operation completed successfully.
2009-10-16 09:50:09 Core                     CSM Update               ~~~~~ Completed Citrix System Monitoring Update and Maintenance ~~~~~

The file RSDatr.fdb isn’t created and Firebird Service is running. I don’t have this issue on servers without remapped drives…
As usual I started a thread on Citrix’s forum : http://forums.citrix.com/thread.jspa?threadID=253736&tstart=0

19 October 2009 – A quick update :

Installing Edgesight agent berfore deploying any application works, but it doesn’t work after full deployment. I’m looking for the component which bring this issue.

Post author