|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
BIG problem with queue manager rebuild (batch file) |
« View previous topic :: View next topic » |
Author |
Message
|
ping master |
Posted: Thu Jun 12, 2003 12:04 pm Post subject: BIG problem with queue manager rebuild (batch file) |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
Windows XP/ MQ ver5.3
Using a batch file, we have the ability to rebuild a queue manager, the steps include :
stop the command server
stop the queue manager
stop the listener
delete the queue manager
create new queue manager
start the queue manager
install queues and channels
install listener, trigger monitor and channel initiator services
start the command server
HOWEVER....everything works perfect with the exception of the CHANNEL INITIATOR. is is in a 'stopped' state and will not start unless you: A- reboot, or B- manually go to the Websphere MQ services on the taskbar and manually stop/start the Queue Manager.
Is there something we are missing??????
How can I automate this so there is no need to reboot or manually go into the taskbar icon? I thought it should be achieved by the above .bat file..
thanks
$PM |
|
Back to top |
|
 |
jhalstead |
Posted: Fri Jun 13, 2003 1:20 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Hi, what method are you using to perform this? Are you using amqmdain?
Thanks
Jamie |
|
Back to top |
|
 |
ping master |
Posted: Fri Jun 13, 2003 6:02 am Post subject: |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
thanks for your reply,
yes
rem * install listener, trigger monitor and channel initiator services *
amqmdain crttrm %QMGR% SYSTEM.DEFAULT.INITIATION.QUEUE 1>>%MQLOG% 2>>&1
amqmdain crtchi %QMGR% SYSTEM.CHANNEL.INITQ 1>>%MQLOG% 2>>&1
amqmdain crtlsr %QMGR% -p 1414 1>>%MQLOG% 2>>&1
amqmdain auto %QMGR% 1>>%MQLOG% 2>>&1
is there something wrong with this?? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 13, 2003 6:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You have your order of operations listed as
Quote: |
create new queue manager
start the queue manager
install queues and channels
install listener, trigger monitor and channel initiator services
|
What happens if you try them in this order
Quote: |
create new queue manager
install listener and channel initiator services
start the queue manager
install queues and channels
install trigger monitor service
|
|
|
Back to top |
|
 |
ping master |
Posted: Fri Jun 13, 2003 6:55 am Post subject: |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
I tried it, but when I did so , it appears the trigger monitor, channel initator, and the listener are in the stopped state... but the Qmgr and cmd server are running fine..
But now I found out how to fix it, I actually added the Line:
TASKKILL /F /IM RUNMQCHI.EXE
between the start Qmgr and create the three services, trigmon, listener, chlInit.
*works perfect now.*
It seems that when you start the Qmgr it automatically runs runmqchi.exe
then after you install the chlinitiator service it tried again.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|