Skip to content

Commit 94e11dd

Browse files
committed
Merge remote-tracking branch 'upstream/main' into AB#7814-openssh-server-wont-start-1053-1067-7034
2 parents 01cb7e3 + c76829c commit 94e11dd

7 files changed

Lines changed: 246 additions & 10 deletions

File tree

support/azure/virtual-machines/windows/toc.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,17 @@ items:
9393
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-error-shutdown-in-process.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
9494
- name: Error Code 0x800f0831
9595
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-installation-error.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
96-
- name: Error code 0x80244007
97-
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80244007.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
9896
- name: Error code 0x80072f8f
9997
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80072f8f.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
98+
- name: Error code 0x80070bc9
99+
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070bc9.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
100+
- name: Error code 0x80244007
101+
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80244007.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
100102
- name: Error code 0x8000ffff
101103
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x8000ffff.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
102-
104+
- name: Error code 0x800f0920
105+
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x800f0920.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
106+
103107
- name: Uploading a VHD to Azure
104108
items:
105109
- name: Uploading a VHD to Azure
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
---
2+
title: Troubleshoot Issues Configuring Transactional Replication on Multiple SQL Server Linux Containers
3+
description: Learn how to fix duplicate subscription errors when setting up transactional replication on SQL Server Linux containers.
4+
ms.reviewer: pijocoder, mlandzic, randolphwest, v-shaywood
5+
ms.custom: sap:Replication, Change Tracking, Change Data Capture\Errors or unexpected results during operation
6+
ms.date: 11/03/2025
7+
---
8+
9+
# Configuring transactional replication fails on multiple SQL Server Linux containers
10+
11+
This article provides troubleshooting guidance for an issue that occurs when you configure two Microsoft SQL Server-based servers that run in Linux containers on the same computer as replication subscribers.
12+
13+
## Symptoms
14+
15+
When you configure **Transactional Replication** on SQL Server 2022 running in Linux containers, you receive the following error message:
16+
17+
> The subscription already exists.
18+
19+
This issue usually occurs when:
20+
21+
- Two SQL Server instances are hosted in separate containers on the same Linux-based computer.
22+
- Both instances are added as subscribers to the same publisher.
23+
- The connection strings use the same hostname but different port numbers (for example, `LINUXHOST,5455` and `LINUXHOST,5465`).
24+
25+
## Cause
26+
27+
This issue occurs because subscriber metadata doesn't honor port numbers during persistence. Only the hostname is stored. This behavior causes the second subscriber to be seen as a duplicate of the first.
28+
29+
This behavior is specific to Linux container environments in which named instances don't exist and connections rely on hostname and port mapping.
30+
31+
## Workaround
32+
33+
To successfully add multiple subscribers on the same computer but in different containers, follow these steps:
34+
35+
1. Install [Cumulative Update 20 (CU20) for SQL Server 2022](https://www.catalog.update.microsoft.com/Search.aspx?q=KB5059390).
36+
37+
1. Enable trace flag [15005](/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql#tf15005). This trace flag enables you to use a subscriber that has a nondefault port for transactional replication.
38+
39+
1. Perform the following manual cleanup and configuration steps in Transact-SQL. In this script, replace the `@hostname`, `@port_sub1`, `@port_sub2`, `@PublicationName`, `@SubscriberDb_Sub1`, and `@SubscriberDb_Sub2` variables with values that are specific to your environment:
40+
41+
```sql
42+
DECLARE @hostname AS SYSNAME = 'LinuxSubscriberHostName',
43+
@port_sub1 AS NVARCHAR (10) = '5455',
44+
@port_sub2 AS NVARCHAR (10) = '5465',
45+
@host_and_port_sub1 AS NVARCHAR (100),
46+
@host_and_port_sub2 AS NVARCHAR (100),
47+
@PublicationName AS SYSNAME = 'PublicationName',
48+
@SubscriberDb_Sub1 AS SYSNAME = 'SubscriberDB1',
49+
@SubscriberDb_Sub2 AS SYSNAME = 'SubscriberDB2';
50+
51+
-- Concatenate the hostname and port for each subscriber (for example 'LinuxSubscriberHostName,5455')
52+
SET @host_and_port_sub1 = CONCAT(@hostname, ',', @port_sub1);
53+
SET @host_and_port_sub2 = CONCAT(@hostname, ',', @port_sub2);
54+
55+
-- Step 1: Remove subscription metadata
56+
USE [PublicationDb];
57+
58+
EXECUTE sp_dropsubscription
59+
@publication = @PublicationName,
60+
@article = 'all',
61+
@subscriber = @hostname,
62+
@destination_db = @SubscriberDb_Sub1;
63+
64+
-- Step 2: Remove subscriber from publication
65+
EXECUTE sp_dropsubscriber @subscriber = @hostname;
66+
67+
-- Step 3: Remove server entry for the first subscriber with no port information captured (on Publisher side)
68+
DELETE FROM distribution..MSreplservers
69+
WHERE UPPER(srvname COLLATE database_default) = UPPER(@hostname COLLATE database_default);
70+
71+
IF EXISTS (SELECT 1 FROM sys.servers WHERE name = @hostname)
72+
EXECUTE sp_dropserver @hostname, 'droplogins';
73+
74+
-- Step 4: Re-add linked server on Publisher side
75+
EXECUTE sp_addlinkedserver @server = @host_and_port_sub1;
76+
EXECUTE sp_serveroption @server = @host_and_port_sub1, @optname = 'sub', @optvalue = true;
77+
78+
EXECUTE sp_addlinkedserver @server = @host_and_port_sub2;
79+
EXECUTE sp_serveroption @server = @host_and_port_sub2, @optname = 'sub', @optvalue = true;
80+
81+
--Ensure entries are successful
82+
SELECT * FROM master..sysservers;
83+
84+
--Step 5. Insert information about the subscribers to the Msreplservers table.
85+
INSERT INTO [distribution]..MSreplservers (srvid, srvname)
86+
SELECT srvid, srvname
87+
FROM master.dbo.sysservers
88+
WHERE UPPER(srvname COLLATE database_default) = UPPER(@host_and_port_sub1 COLLATE database_default);
89+
90+
INSERT INTO [distribution]..MSreplservers (srvid, srvname)
91+
SELECT srvid, srvname
92+
FROM master.dbo.sysservers
93+
WHERE UPPER(srvname COLLATE database_default) = UPPER(@host_and_port_sub2 COLLATE database_default);
94+
95+
--Verify entries
96+
SELECT * FROM [distribution]..MSreplservers;
97+
98+
--Step 6. Create subscribers (push subscription)
99+
-----------------BEGIN: Script to be run at Publisher @hostname-----------------;;
100+
101+
--Create subscriber to the first Linux container
102+
USE [PublicationDb];
103+
104+
EXECUTE sp_addsubscription
105+
@publication = @PublicationName,
106+
@subscriber = @host_and_port_sub1,
107+
@destination_db = @SubscriberDb_Sub1,
108+
@subscription_type = N'Push',
109+
@sync_type = N'automatic',
110+
@article = N'all',
111+
@update_mode = N'read only',
112+
@subscriber_type = 0;
113+
114+
EXECUTE sp_addpushsubscription_agent
115+
@publication = @PublicationName,
116+
@subscriber = @host_and_port_sub1,
117+
@subscriber_db = @SubscriberDb_Sub1,
118+
@job_login = NULL,
119+
@job_password = NULL,
120+
@subscriber_security_mode = 1,
121+
@frequency_type = 64,
122+
@frequency_interval = 0,
123+
@frequency_relative_interval = 0,
124+
@frequency_recurrence_factor = 0,
125+
@frequency_subday = 0,
126+
@frequency_subday_interval = 0,
127+
@active_start_time_of_day = 0,
128+
@active_end_time_of_day = 235959,
129+
@active_start_date = 20250711,
130+
@active_end_date = 99991231,
131+
@enabled_for_syncmgr = N'False',
132+
@dts_package_location = N'Distributor';
133+
134+
--Create subscriber to the second Linux container
135+
USE [PublicationDb];
136+
137+
EXECUTE sp_addsubscription
138+
@publication = @PublicationName,
139+
@subscriber = @host_and_port_sub2,
140+
@destination_db = @SubscriberDb_Sub2,
141+
@subscription_type = N'Push',
142+
@sync_type = N'automatic',
143+
@article = N'all',
144+
@update_mode = N'read only',
145+
@subscriber_type = 0;
146+
147+
EXECUTE sp_addpushsubscription_agent
148+
@publication = @PublicationName,
149+
@subscriber = @host_and_port_sub2,
150+
@subscriber_db = @SubscriberDb_Sub2,
151+
@job_login = NULL,
152+
@job_password = NULL,
153+
@subscriber_security_mode = 1,
154+
@frequency_type = 64,
155+
@frequency_interval = 0,
156+
@frequency_relative_interval = 0,
157+
@frequency_recurrence_factor = 0,
158+
@frequency_subday = 0,
159+
@frequency_subday_interval = 0,
160+
@active_start_time_of_day = 0,
161+
@active_end_time_of_day = 235959,
162+
@active_start_date = 20250711,
163+
@active_end_date = 99991231,
164+
@enabled_for_syncmgr = N'False',
165+
@dts_package_location = N'Distributor';
166+
```
167+
168+
## Resolution
169+
170+
Currently, no permanent fix is available. Instead, see the ["Workaround"](#workaround) section.
171+
172+
The product team is evaluating potential fixes for future releases. This article will be updated when a solution becomes available.
173+
174+
## Related content
175+
176+
- [Transactional Replication](/sql/relational-databases/replication/transactional/transactional-replication)
177+
- [Quickstart: Run SQL Server Linux container images with Docker](/sql/linux/quickstart-install-connect-docker)

support/sql/database-engine/replication/toc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
items:
1+
items:
22
- name: 102 and incorrect syntax error with peer-to-peer replication
33
href: peer-to-peer-replication-fails.md
44
- name: 1205 error when you configure transactional replication
55
href: error-1205-configure-transactional-replication.md
66
- name: 20011 error the process could not execute sp_replcmds
77
href: error-replication-log-reader-agent-fails.md
8-
- name: 20598 error the row was not found at the Subscriber when applying the replicated command
8+
- name: 20598 error the row was not found at the Subscriber when applying the replicated command
99
href: troubleshoot-error-20598.md
1010
- name: 213 error when attaching CDC enabled database
1111
href: attach-change-data-capture-database.md
@@ -15,6 +15,8 @@ items:
1515
href: cdc-capture-job-fails-processing-changes-table.md
1616
- name: CDC for Oracle results in transaction log growth
1717
href: sql-transaction-log-grows.md
18+
- name: Configuring transactional replication on multiple SQL Server Linux containers might fail
19+
href: subscription-exists-linux-containers-transactional.md
1820
- name: Error message when you run the Distribution Agent
1921
href: error-run-distribution-agent.md
2022
- name: Fail to enumerate subscription properties

support/windows-365/connection-error-interactive-window-not-shown.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ ms.custom:
1111
---
1212
# Windows 365 Link connection fails with error "an interactive window could not be shown"
1313

14-
>[!NOTE]
15-
>With the release of Windows 365 Link October Quality Update version 26100.6899, users should no longer encounter this error message for the reasons stated below. If such an error is encountered first check that Windows 365 Link is on version 26100.6899 or greater. For more information on updating the device, see [Windows 365 Link update behavior and control](/windows-365/link/update-behavior-control).
1614

1715
This article helps resolve the connection error "an interactive window could not be shown."
1816

support/windows-365/connection-fails-with-failed-to-open-a-microsoft-entra-id-credential-prompt.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.custom:
1212
---
1313
# Windows 365 Link connection fails with "Failed to open a Microsoft Entra ID credential prompt"
1414

15-
>[!NOTE]
16-
>With the release of Windows 365 Link October Quality Update version 26100.6899, users should no longer encounter this error message for the reasons stated below. If such an error is encountered first check that Windows 365 Link is on version 26100.6899 or greater. For more information on updating the device, see [Windows 365 Link update behavior and control](/windows-365/link/update-behavior-control).
1715

1816
After a user authenticates on the sign-in page, when the user tries to connect to the Cloud PC, the user might encounter the following message:
1917

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Troubleshoot Windows Update Error 0x800f0920
3+
description: Learn how to resolve Windows Update error 0x800f0920 that occurs when the Trusted Installer service fails.
4+
manager: dcscontentpm
5+
audience: itpro
6+
ms.date: 11/11/2025
7+
ms.topic: troubleshooting
8+
ms.reviewer: scotro, mwesley, jarretr, v-ryanberg, v-gsitser
9+
ms.custom:
10+
- sap:windows servicing,updates and features on demand\Windows Update - Install errors starting with 0x800F (CBS E)
11+
- pcy:WinComm Devices Deploy
12+
appliesto:
13+
- <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a>
14+
---
15+
16+
# Troubleshoot Windows Update error 0x800f0920
17+
18+
**Applies to:** :heavy_check_mark: Windows VMs
19+
20+
## Summary
21+
22+
Error code 0x800f0920 indicates that the Windows Update installation process stopped responding. This issue occurs if the Trusted Installer service doesn't complete the installation within the default timeout period of 15 minutes.
23+
24+
## Prerequisites
25+
26+
For Microsoft Azure virtual machines (VMs) that run Windows, make sure that you back up the OS disk. For more information, see [About Azure Virtual Machine restore](/azure/backup/about-azure-vm-restore).
27+
28+
## How to identify the issue
29+
30+
Check the `CBS.log` for entries that resemble the following example:
31+
32+
```output
33+
2023-09-17 22:48:16, Info CBS Startup: SC autostart event signaled
34+
2023-09-17 22:48:16, Info CBS Clearing HangDetect value
35+
2023-09-17 22:48:16, Error CBS Startup: A possible hang was detected on the last boot. [HRESULT = 0x800f0920 - CBS_E_HANG_DETECTED]
36+
2023-09-17 22:48:16, Info CBS Current global progress. Current: 58, Limit: 105, ExecuteState: CbsExecuteStateResolvePending
37+
2023-09-17 22:48:16, Info CBS Previous global progress. Current: 58, Limit: 105, ExecuteState: CbsExecuteStateResolvePending
38+
2023-09-17 22:48:16, Error CBS Startup: No progress detected while needing to process the advanced operation queue, rolling back and cancelling the transaction. [HRESULT = 0x80004005 - E_FAIL]
39+
2023-09-17 22:48:16, Info CBS Setting ExecuteState key to: CbsExecuteStateInitiateRollback | CbsExecuteStateFlagAdvancedInstallersFailed
40+
2023-09-17 22:48:16, Info CBS SetProgressMessage: progressMessageStage: -1, ExecuteState: CbsExecuteStateInitiateRollback | CbsExecuteStateFlagAdvancedInstallersFailed, SubStage: 0
41+
2023-09-17 22:48:16, Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Rollback.
42+
2023-09-17 22:48:16, Info CBS Setting original failure status: 0x800f0920, last forward execute state: CbsExecuteStateResolvePending
43+
```
44+
45+
## Cause
46+
47+
This error occurs because the Trusted Installer service doesn't complete the installation process within the default timeout period of 15 minutes. This failure can cause a rollback and cancellation of the transaction.
48+
49+
## Resolution
50+
51+
For Windows-based computers, perform an [in-place upgrade](/windows-server/get-started/perform-in-place-upgrade#perform-the-in-place-upgrade).
52+
53+
For VMs that run Windows in Azure, see [in-place upgrade on the Windows virtual machine](/azure/virtual-machines/windows-in-place-upgrade).

support/windows-server/toc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3228,8 +3228,12 @@ items:
32283228
href: installing-updates-features-roles/troubleshoot-error-shutdown-in-process.md
32293229
- name: Troubleshoot Windows Update error 0x80244007
32303230
href: ./installing-updates-features-roles/troubleshoot-windows-update-error-0x80244007.md
3231-
- name: Troubleshoot Windows Update error 0x80072f8f
3231+
- name: Troubleshoot Windows Update error 0x80072f8f
32323232
href: ./installing-updates-features-roles/troubleshoot-windows-update-error-0x80072f8f.md
3233+
- name: Troubleshoot Windows Update error 0x800f0920
3234+
href: ./installing-updates-features-roles/troubleshoot-windows-update-error-0x800f0920.md
3235+
- name: Troubleshoot Windows Update error 0x80070bc9
3236+
href: ./installing-updates-features-roles/troubleshoot-windows-update-error-0x80070bc9.md
32333237
- name: Troubleshoot Windows Update error 0x8024002E
32343238
href: installing-updates-features-roles/troubleshoot-windows-update-error-code-0x8024002e.md
32353239
- name: WUSA returns 0x5 ERROR_ACCESS_DENIED

0 commit comments

Comments
 (0)