내부 개인 큐 문제로 인해 Message Queuing 서비스를 시작할 수 없습니다.

Microsoft.MSMQ.10.0.Rule.Alert.Event2020 (Rule)

Knowledge Base article:

요약

내부 개인 큐 문제로 인해 Message Queuing 서비스를 시작할 수 없습니다.

구성

명령줄을 사용하여 Message Queuing 메시지를 백업 및 복원하려면

명령 프롬프트에 다음을 입력한 다음 Enter 키를 누릅니다.

mqbkup {-bfolderpath | -rfolderpath| -?} [-y] [-cmsmq_resource_name]

 

설명

-bfolderpath

파일을 지정된 폴더로 백업

-rfolderpath

파일을 지정된 폴더에서 복원

-y

메시지 표시 안 함(모든 질문에 예)

-cmsmq_resource_name

MSMQ가 클러스터된 리소스로 구성된 경우 사용되며, 클러스터된 MSMQ 리소스 이름 지정

-?

유틸리티에 대한 도움말 표시

원인

MSMQ\Storage\LQS 디렉터리의 파일이 손상되었기 때문에 이 문제가 발생할 수 있습니다. 이 디렉터리에는 컴퓨터에 있는 모든 개인 큐의 정의가 포함되어 있습니다.

해결 방법

메시지를 복원하기 전에 제어판과 모든 Message Queuing 응용 프로그램 또는 HKLM\Software\MSMQ\Parameters 레지스트리 키에 레지스트리 키 핸들을 보유하고 있는 모든 응용 프로그램을 닫아야 합니다. 그러한 응용 프로그램에는 일반적으로 컴퓨터 관리 콘솔(메시지 큐 스냅인이 로드된 경우), MSMQ 트리거 서비스, 메시지 큐 서비스 및 일부 타사 응용 프로그램이 포함됩니다.

참고: Windows XP 이상에서는 제어판을 닫아도 문제가 되지 않는데, 그 이유는 이러한 Windows 버전에는 MSMQ 제어판 확장이 포함되어 있지 않기 때문입니다.

추가 고려 사항

추가 정보

자세한 내용은 메시지 백업 및 복원( http://technet.microsoft.com/ko-kr/library/cc771016(WS.10).aspx)을 참조하세요.

자세한 내용은 메시지 큐에 대한 인증서 등록( http://technet.microsoft.com/ko-kr/library/cc753651(WS.10).aspx)을 참조하세요.

자세한 내용은 메시지 배달 방법( http://technet.microsoft.com/ko-kr/library/cc771721(WS.10).aspx)을 참조하세요.

Element properties:

TargetMicrosoft.MSMQ.10.0.Servers
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
내부 개인 큐 문제로 인해 Message Queuing 서비스를 시작할 수 없습니다.
{0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.MSMQ.10.0.Rule.Alert.Event2020" Enabled="false" Target="Microsoft.MSMQ.10.0.Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="Microsoft.MSMQ.10.0.ServerRole"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2020</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.MSMQ.10.0.Rule.Alert.Event2020.AlertName"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>