[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::decmessageq

Title:NAS Message Queuing Bus
Notice:KITS/DOC, see 4.*; Entering QARs, see 9.1; Register in 10
Moderator:PAMSRC::MARCUSEN
Created:Wed Feb 27 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2898
Total number of notes:12363

2810.0. "duplicate name" by BIS1::DURY (Alain Dury _ Brussels) Wed Mar 12 1997 05:38

Bonjour,

	When a DMQ shutdown is invoked following by a DMQ startup, we get 
	always the following error:

		%DMQ-S-SETLNM, Set to DECmessageQ LNM table DMQ$LNM_1000_02260
	   		...Starting DMQ_C_100002260 (COM Server)
		%RUN-F-CREPRC, process creation failed
		-SYSTEM-F-DUPLNAM, duplicate name
		%DMQ-F-STARTFAIL, Failed on startup of DMQ$COM_SERVER

	SHOW sys or other find NO DMQ process. 

	If you wait for a couple of minutes, then DMQ startup can be start
	without problem.

	Is it a problem of timeout ? (ATTACH_TMO = 600)

	The DMQ version is OpenVMS VAX V3.2A-22(3222)

Salut
Alain
T.RTitleUserPersonal
Name
DateLines
2810.1It might be...KLOVIA::MICHELSENBEA/DEC MessageQ EngineeringWed Mar 12 1997 10:277
...that the previous incarnation of the COM Server took too long to 
shutdown and the DMQ$STARTUP attempted to start a new one with the
same name.  By the time you took a look on the system the COM Server
had completed it's shutdown and was gone.


Marty
2810.2OK BUT WHAT CAN I DO?BIS1::DURYAlain Dury _ BrusselsThu Mar 13 1997 03:141
    
2810.3You could do it the simple way...KLOVIA::MICHELSENBEA/DEC MessageQ EngineeringThu Mar 13 1997 16:1923
re: .2

...by just putting in a delay of 5 seconds in the DMQ$COM_START.COM command
procedure, like this:

$       if start_servers
$         then
$           save_uic = f$getjpi("","UIC")
$           set uic [1,4]
$           @dmq$exe:dmq$forcex    DMQ_C_'comp_id'
$           set uic 'save_uic'
$	    wait 00:00:05       !* give the COM Server a chance to exit
$           put " "
$       endif



Or you could do a DMQ$SHUTDOWN, wait a few seconds and then do a
DMQ$STARTUP.



Marty