Principales respuestas
MSDTC en SQL Server 2008 R2 Enterprise Edition x64

Pregunta
-
Tengo un problema reciente con el Coordinador de Transacciones Distribuidas de mi SO Windows Server 2008 R2 Standard Edition x64. El problema es el siguiente hace unos momentos el ERP que tengo dejo de funcionar por problemas del MSDTC y no tuve acceso al servidor de Base de datos y lo que hice fue reiniciar el servidor y ver el LOG y esto es lo que muestra:
2011-10-12 18:42:30.04 Server Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011 00:54:03
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )2011-10-12 18:42:30.09 Server (c) Microsoft Corporation.
2011-10-12 18:42:30.09 Server All rights reserved.
2011-10-12 18:42:30.09 Server Server process ID is 1188.
2011-10-12 18:42:30.09 Server System Manufacturer: 'IBM', System Model: 'System x3550 M2 -[7946AC1]-'.
2011-10-12 18:42:30.09 Server Authentication mode is MIXED.
2011-10-12 18:42:30.09 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MISTRCENTRAL\MSSQL\Log\ERRORLOG'.
2011-10-12 18:42:30.14 Server This instance of SQL Server last reported using a process ID of 1184 at 12/10/2011 06:36:09 p.m. (local) 12/10/2011 11:36:09 p.m. (UTC). This is an informational message only; no user action is required.
2011-10-12 18:42:30.14 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL10_50.MISTRCENTRAL\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL10_50.MISTRCENTRAL\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL10_50.MISTRCENTRAL\MSSQL\DATA\mastlog.ldf
2011-10-12 18:42:30.18 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-12 18:42:30.18 Server Detected 8 CPUs. This is an informational message; no user action is required.
2011-10-12 18:42:30.32 Server Large Page Extensions enabled.
2011-10-12 18:42:30.32 Server Large Page Granularity: 2097152
2011-10-12 18:42:30.34 Server Large Page Allocated: 32MB
2011-10-12 18:42:30.49 Server Using locked pages for buffer pool.
2011-10-12 18:42:30.98 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2011-10-12 18:42:31.73 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2011-10-12 18:42:32.09 spid7s Starting up database 'master'.
2011-10-12 18:42:32.28 spid7s 32 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
2011-10-12 18:42:32.35 spid7s 0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
2011-10-12 18:42:32.35 spid7s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2011-10-12 18:42:32.66 spid7s Resource governor reconfiguration succeeded.
2011-10-12 18:42:32.66 spid7s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2011-10-12 18:42:32.67 spid7s SQL Server Audit has started the audits. This is an informational message. No user action is required.
2011-10-12 18:42:32.68 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MISTRCENTRAL'.
2011-10-12 18:42:32.90 spid7s SQL Trace ID 1 was started by login "sa".
2011-10-12 18:42:32.94 spid7s Starting up database 'mssqlsystemresource'.
2011-10-12 18:42:32.96 spid7s The resource database build version is 10.50.2500. This is an informational message only. No user action is required.
2011-10-12 18:42:33.31 spid7s Server name is 'PEANHZ-DB01\MISTRCENTRAL'. This is an informational message only. No user action is required.
2011-10-12 18:42:33.32 spid11s Starting up database 'model'.
2011-10-12 18:42:33.46 spid11s Clearing tempdb database.
2011-10-12 18:42:34.10 Server A self-generated certificate was successfully loaded for encryption.
2011-10-12 18:42:34.14 Server Server is listening on [ 'any' <ipv6> 54739].
2011-10-12 18:42:34.14 Server Server is listening on [ 'any' <ipv4> 54739].
2011-10-12 18:42:34.14 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MISTRCENTRAL ].
2011-10-12 18:42:34.14 Server Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$MISTRCENTRAL\sql\query ].
2011-10-12 18:42:34.16 Server Server is listening on [ ::1 <ipv6> 54740].
2011-10-12 18:42:34.16 Server Server is listening on [ 127.0.0.1 <ipv4> 54740].
2011-10-12 18:42:34.16 Server Dedicated admin connection support was established for listening locally on port 54740.
2011-10-12 18:42:34.55 spid11s Starting up database 'tempdb'.
2011-10-12 18:42:34.78 spid14s The Service Broker protocol transport is disabled or not configured.
2011-10-12 18:42:34.79 spid14s The Database Mirroring protocol transport is disabled or not configured.
2011-10-12 18:42:34.89 spid14s Service Broker manager has started.
2011-10-12 18:42:48.62 Server The SQL Server Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
2011-10-12 18:42:48.62 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2011-10-12 18:42:53.49 spid13s A new instance of the full-text filter daemon host process has been successfully started.
2011-10-12 18:42:53.67 spid13s Starting up database 'msdb'.
2011-10-12 18:42:53.67 spid17s Starting up database 'ReportServer$MISTRCENTRAL'.
2011-10-12 18:42:53.68 spid18s Starting up database 'ReportServer$MISTRCENTRALTempDB'.
2011-10-12 18:42:53.68 spid19s Starting up database 'MistrProduccion'.
2011-10-12 18:42:53.68 spid20s Starting up database 'MistrSecundario'.
2011-10-12 18:42:53.68 spid21s Starting up database 'MistrKardexJulio2011'.
2011-10-12 18:42:53.69 spid22s Starting up database 'MistrKardex2011_3'.
2011-10-12 18:42:53.69 spid23s Starting up database 'TrackingStore'.
2011-10-12 18:42:53.92 spid18s 1 transactions rolled forward in database 'ReportServer$MISTRCENTRALTempDB' (6). This is an informational message only. No user action is required.
2011-10-12 18:42:53.94 spid23s 6 transactions rolled forward in database 'TrackingStore' (11). This is an informational message only. No user action is required.
2011-10-12 18:42:53.97 spid7s 0 transactions rolled back in database 'ReportServer$MISTRCENTRALTempDB' (6). This is an informational message only. No user action is required.
2011-10-12 18:42:53.97 spid7s Recovery is writing a checkpoint in database 'ReportServer$MISTRCENTRALTempDB' (6). This is an informational message only. No user action is required.
2011-10-12 18:42:54.09 spid18s 0 transactions rolled back in database 'TrackingStore' (11). This is an informational message only. No user action is required.
2011-10-12 18:42:54.09 spid18s Recovery is writing a checkpoint in database 'TrackingStore' (11). This is an informational message only. No user action is required.
2011-10-12 18:42:54.11 spid13s 113 transactions rolled forward in database 'msdb' (4). This is an informational message only. No user action is required.
2011-10-12 18:42:54.27 spid7s 0 transactions rolled back in database 'msdb' (4). This is an informational message only. No user action is required.
2011-10-12 18:42:54.27 spid7s Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
2011-10-12 18:42:55.43 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required.
2011-10-12 18:42:55.45 spid51 Using 'xpsqlbot.dll' version '2009.100.1600' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.
2011-10-12 18:42:55.71 spid51 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
2011-10-12 18:42:55.75 spid51 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
2011-10-12 18:42:56.32 spid51 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
2011-10-12 18:42:56.45 spid51 Using 'xplog70.dll' version '2009.100.1600' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
2011-10-12 18:42:58.28 spid20s 2981 transactions rolled forward in database 'MistrSecundario' (8). This is an informational message only. No user action is required.
2011-10-12 18:42:58.47 spid20s CHECKDB for database 'MistrSecundario' finished without errors on 2011-10-05 01:33:24.893 (local time). This is an informational message only; no user action is required.
2011-10-12 18:42:58.48 spid7s 0 transactions rolled back in database 'MistrSecundario' (8). This is an informational message only. No user action is required.
2011-10-12 18:42:58.57 spid7s Recovery is writing a checkpoint in database 'MistrSecundario' (8). This is an informational message only. No user action is required.
2011-10-12 18:42:58.84 spid7s Recovery completed for database MistrSecundario (database ID 8) in 4 second(s) (analysis 1662 ms, redo 2279 ms, undo 181 ms.) This is an informational message only. No user action is required.
2011-10-12 18:43:12.12 Logon Error: 18456, Severity: 14, State: 38.
2011-10-12 18:43:12.12 Logon Login failed for user 'MISTR\Administrador'. Reason: Failed to open the explicitly specified database. [CLIENT: 10.0.0.66]
2011-10-12 18:43:17.06 Logon Error: 18456, Severity: 14, State: 38.
2011-10-12 18:43:17.06 Logon Login failed for user 'MISTR\Administrador'. Reason: Failed to open the explicitly specified database. [CLIENT: 10.0.0.66]
2011-10-12 18:43:20.40 Logon Error: 18456, Severity: 14, State: 38.
2011-10-12 18:43:20.40 Logon Login failed for user 'MISTR\Administrador'. Reason: Failed to open the explicitly specified database. [CLIENT: 10.0.0.66]
2011-10-12 18:43:20.77 spid22s 1 transactions rolled forward in database 'MistrKardex2011_3' (10). This is an informational message only. No user action is required.
2011-10-12 18:43:20.86 spid22s CHECKDB for database 'MistrKardex2011_3' finished without errors on 2011-09-20 02:00:04.673 (local time). This is an informational message only; no user action is required.
2011-10-12 18:43:20.86 spid7s 0 transactions rolled back in database 'MistrKardex2011_3' (10). This is an informational message only. No user action is required.
2011-10-12 18:43:20.86 spid7s Recovery is writing a checkpoint in database 'MistrKardex2011_3' (10). This is an informational message only. No user action is required.
2011-10-12 18:43:22.51 spid21s CHECKDB for database 'MistrKardexJulio2011' finished without errors on 2011-10-05 01:30:08.597 (local time). This is an informational message only; no user action is required.
2011-10-12 18:43:23.52 spid19s Recovery of database 'MistrProduccion' (7) is 1% complete (approximately 7 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
2011-10-12 18:43:23.53 spid19s Recovery of database 'MistrProduccion' (7) is 1% complete (approximately 7 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
2011-10-12 18:43:25.34 Logon Error: 18456, Severity: 14, State: 38.
2011-10-12 18:43:25.34 Logon Login failed for user 'MISTR\Administrador'. Reason: Failed to open the explicitly specified database. [CLIENT: 10.0.0.66]
2011-10-12 18:43:29.63 spid19s 3063 transactions rolled forward in database 'MistrProduccion' (7). This is an informational message only. No user action is required.
2011-10-12 18:43:30.29 spid19s CHECKDB for database 'MistrProduccion' finished without errors on 2011-10-05 01:30:08.597 (local time). This is an informational message only; no user action is required.
2011-10-12 18:43:30.30 spid7s 0 transactions rolled back in database 'MistrProduccion' (7). This is an informational message only. No user action is required.
2011-10-12 18:43:30.30 spid7s Recovery is writing a checkpoint in database 'MistrProduccion' (7). This is an informational message only. No user action is required.
2011-10-12 18:43:30.41 spid7s Recovery completed for database MistrProduccion (database ID 7) in 7 second(s) (analysis 145 ms, redo 6080 ms, undo 225 ms.) This is an informational message only. No user action is required.
2011-10-12 18:43:30.41 spid7s Recovery is complete. This is an informational message only. No user action is required.
2011-10-12 18:43:31.49 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:31.61 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:32.85 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:33.00 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:34.19 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:34.31 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:35.49 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:35.61 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:36.58 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:36.71 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:47.93 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:48.11 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:50.18 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:50.31 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:51.40 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:51.51 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:43:52.55 spid53 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:43:52.71 spid53 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:44:42.69 spid58 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:44:42.69 spid58 The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2011-10-12 18:44:58.52 spid58 Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2011-10-12 18:44:58.81 spid58 Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.Las consultas en el ERP se hacen por el SQL cliente y las Transacciones se llevan acabo por el MSDTC Coordinador de Transacciones Distribuidas, bueno eso es lo que dicen los desarroladores del Sistema ERP.
Me podrian ayudar a interpretar este log, es grave o no lo es.
Si necesitan mas informacion me la piden y me indican como sacarlos.
Gracias pos sus respuestas de antemano.
Respuestas
-
Hola,
Parece que hay algún problema con el login MISTR\Administrador. Comprueba que no han cambiado las credenciales si las utilizas para iniciar algún servicio.
de todas formas es posible que la cuenta que utilizas para MSDTC no tenga suficientes privilegios. Revisa este hilo http://social.technet.microsoft.com/Forums/ar-SA/winservergen/thread/eb8835d9-5f5b-4df2-8c68-4a61d5e44d6b en el que resuelven un caso similar al tuyo y nos dices.
Saludos
Víctor M. Sánchez García (ES) (BI) Hope this help. Please vote if you find this posting was helpful. if this is an answer to your question, please mark it. http://bifase.blogspot.com | http://twitter.com/atharky- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02
-
Hola.
La próxima vez empieza por reiniciar el DTC. Parece que es el causante del problema, y un reinicio de este servicio es una acción bastante liviana (sobre todo si previamente no funciona).
De todos modos, yo no esperaría a que volviera a suceder, abriría un caso con MS para que lo estudien a conciencia. Es posible que te falte algún parche de sistema operativo o service pack o exista alguna corrupción del registros, etc.
Alberto López Grande
SQL Server MVP
Visita mi blog en http://qwalgrande.blogspot.es/ Sígueme en twitter en http://twitter.com/qwalgrande- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02
-
Hola. En mi experiencia, y para lo que valga, he tenido que estar atento del MSDTC en escenarios tipo clúster o que involucren a BizTalk Server y, me corriges si no es así, percibo que no es lo que sucede. Valida algunas cosas en este link: http://blogs.msdn.com/b/sqlserverfaq/archive/2010/06/04/can-i-listen-to-you-mr-msdtc.aspx; de pronto te ayuda con algo.
Saludos,
Guillermo Taylor F.IT Pro & Xbox gamer
- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02
Todas las respuestas
-
-
-
-
Hola,
Parece que hay algún problema con el login MISTR\Administrador. Comprueba que no han cambiado las credenciales si las utilizas para iniciar algún servicio.
de todas formas es posible que la cuenta que utilizas para MSDTC no tenga suficientes privilegios. Revisa este hilo http://social.technet.microsoft.com/Forums/ar-SA/winservergen/thread/eb8835d9-5f5b-4df2-8c68-4a61d5e44d6b en el que resuelven un caso similar al tuyo y nos dices.
Saludos
Víctor M. Sánchez García (ES) (BI) Hope this help. Please vote if you find this posting was helpful. if this is an answer to your question, please mark it. http://bifase.blogspot.com | http://twitter.com/atharky- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02
-
Hola.
¿Ese es el log de antes de reiniciar o de después de reiniciar? ¿Tras reiniciar el servidor vuelves a tener transacciones distribuidas o no? Dinos en qué punto estás para continuar con el troubleshooting.
Es posible que se haya caído el DTC, pero tras un reinicio, si sigue sin funcionar, estaríamos hablando de otra cosa.
Alberto López Grande
SQL Server MVP
Visita mi blog en http://qwalgrande.blogspot.es/ Sígueme en twitter en http://twitter.com/qwalgrande -
El log es despues del reinicio del SO, despues reiniciado el servidor vuelvo a tener transacciones distribuidas, ahora estoy sin problemas pero ya hace como un mes tuve el problema con mas gravedad, para salucionar este problema lo que hice fue hacer una restructuracion de todos mis servidores Domain Controler, Terminal Services, Base de datos, Firewall y todo bien hasta que me fallo denuevo y no descarto que vuelve a suceder. Los usuarios que tengo aca en la empresa son de un aproximado de 30 y todas las transacciones se llevan acabo por el DTC.
-
Hola.
La próxima vez empieza por reiniciar el DTC. Parece que es el causante del problema, y un reinicio de este servicio es una acción bastante liviana (sobre todo si previamente no funciona).
De todos modos, yo no esperaría a que volviera a suceder, abriría un caso con MS para que lo estudien a conciencia. Es posible que te falte algún parche de sistema operativo o service pack o exista alguna corrupción del registros, etc.
Alberto López Grande
SQL Server MVP
Visita mi blog en http://qwalgrande.blogspot.es/ Sígueme en twitter en http://twitter.com/qwalgrande- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02
-
Bueno eso es lo normal que se debe de hacer, pero ya probe esa solucion y lo unico que gane fue solo perder tiempo pues este no solucionaba nada y lo que hice fue reiniciar el servidor. Lo que voy hacer sera instalar el ultimo service pack para Windows Server 2008 R2 Enterprise Edition.
Gracias por la respuesta.
-
Hola. En mi experiencia, y para lo que valga, he tenido que estar atento del MSDTC en escenarios tipo clúster o que involucren a BizTalk Server y, me corriges si no es así, percibo que no es lo que sucede. Valida algunas cosas en este link: http://blogs.msdn.com/b/sqlserverfaq/archive/2010/06/04/can-i-listen-to-you-mr-msdtc.aspx; de pronto te ayuda con algo.
Saludos,
Guillermo Taylor F.IT Pro & Xbox gamer
- Marcado como respuesta Eduardo PorteschellerModerator lunes, 17 de octubre de 2011 12:02