Home  >  Article  >  How to solve the problem of msdtc unavailability on the server

How to solve the problem of msdtc unavailability on the server

王林
王林Original
2019-12-21 10:56:045626browse

How to solve the problem of msdtc unavailability on the server

MSDTC (Distributed Transaction Coordinator) coordinates transactions across multiple databases, message queues, file systems and other resource managers.

The process name of this service is Msdtc.exe, which calls the system Microsoft Personal Web Server and Microsoft SQL Server.

This service is used to manage multiple servers.

Location: Control Panel--Administrative Tools--Services--Distributed Transaction Coordinator

Dependencies: Remote Procedure Call (RPC) and Security Accounts Manager

Recommendation: General Home computers are not involved unless you enable the Message Queuing service, which can be stopped.

Solution:

1. Start in Windows Control Panel-->Management Tools-->Services-->Distributed Transaction Coordinator-->Properties-->

2. Run "net start msdtc" under CMD to start the service and it will be normal.

Note: If the Distributed Transaction Coordinator cannot be started in step 1, it is because the log file is lost. Just re-create the log file and start it again.

The steps to re-create the MSDTC log and restart the service are as follows:

(1) Click "Start", click "Run", enter cmd and press "OK".

(2) Enter: msdtc -resetlog (note that when running this command, do not execute pending transactions)

(3) Finally enter: net start msdtc and press Enter, done!

If you want to know more related questions, please check: FAQ

The above is the detailed content of How to solve the problem of msdtc unavailability on the server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn