ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AMQMDAIN & RUNMQCHI

Post new topic  Reply to topic
 AMQMDAIN & RUNMQCHI « View previous topic :: View next topic » 
Author Message
pichelma
PostPosted: Fri Apr 19, 2002 12:02 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Mar 2002
Posts: 25

Hi all,

I am having problems starting my channel init. "after" creating it.
This is the error:

04/19/2002 13:02:02 AMQ9509: Program cannot open queue manager object.

This is the error code explained by MQRC:

D:MQS-TMP>MQRC amq9509

536909065 0x20009509 rrcE_MQOPEN_FAILED
536909065 0x20009509 urcMS_MQOPEN_FAILED

MESSAGE:
Program cannot open queue manager object.

EXPLANATION:
The attempt to open either the queue or queue manager object '<insert two>' on
queue manager '<insert three>' failed with reason code 1111.

ACTION:
Ensure that the queue is available and retry the operation.

I am manually running these commands in a (Windows)batch file:

rem Set Q-mgr to start automatically
mqmdain auto %state%_%env%

rem Create Channel initiator
amqmdain crtchi %state%_%env% SYSTEM.CHANNEL.INITQ

rem Create the Q-mgr listener.
amqmdain crtlsr %state%_%env% -t tcp -p 1416

rem Start listener
runmqlsr -t tcp -p 1416 -m %state%_%env%

rem Start Channel Initator
runmqchi -m %state%_%env% -q SYSTEM.CHANNEL.INITQ

What am I missing here?

Is there a proper sequence for the creation/startup of the initiator/listener?

Is my registry possible corrupted w/ the many removals/deletion of channels,queues and Q-mgr's?

RUNMQSC shows all normal attributes/settings. Compared w/ another MQS 5.2.1 machine as well.

Thanks for any help on this...

Scott



Back to top
View user's profile Send private message
StefanSievert
PostPosted: Fri Apr 19, 2002 2:36 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Scott,
is it possible that your channel initiator is already running (autostarted by the MQServices?) when you try to issue the runmqchi command? RUNMQCHI opens the channel initiq in exclusive mode so any subsequent attempt to start it will fail; usually with a different return code, though.
Hm....
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries

In the end everything is right. If not, it's not the end.

[ This Message was edited by: StefanSievert on 2002-04-19 15:40 ]
Back to top
View user's profile Send private message
pichelma
PostPosted: Fri Apr 19, 2002 2:54 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Mar 2002
Posts: 25

Steven,

Thanks for the reply...however, that was not the case.

I tried starting it from Explorer(GUI) and w/ RUNMQCHI.
In MQservices it showed up as defined but "stopped".(startup/automatic)
Tryed right-clicking(start) on it, got an error msg. AMQ4208, nothing in MQRC on that.
However, AMQ9509 was reported when I issued from cmd line.

Maybe an APAR? This is straight 5.2.1 only no CSD's.

I know CSD01,02,03,04 are out. 05 is coming...right?

Any other suggestions?

Need more details or opther info? Please let me know.

Much appreciated, thanks!

Scott


Back to top
View user's profile Send private message
pichelma
PostPosted: Thu Apr 25, 2002 7:59 am    Post subject: Reply with quote

Apprentice

Joined: 11 Mar 2002
Posts: 25

Hi all,

Figured this out....Either Windows/MQSeries does not "update" MQseries Services properly. A refresh or stop start of MQS Services does NOT work.

The solution was to stop/start MQSeries services "completely".
After, startup MQS Services again an "runmqchi" or Channel initiator shows up as "running"!

Scott
Back to top
View user's profile Send private message
ping master
PostPosted: Wed Aug 27, 2003 1:15 pm    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

yes completely stop/start MQ services works.. or rebooting works too..

BUT, in your batch file, you could also add:

TASKKILL /F /IM RUNMQCHI.EXE

after you start qmgr call and it will work perfect also....

I had run into the same exact problem on MQ 5.3/ XP


$PM
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Thu Aug 28, 2003 6:33 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

I've noticed as well that the MQ Services panel isn't always accurate. It often says that the chinit is "stopped" even though it's running.

The surefire way to tell is check for the runmqchi process in task manager.

Cheers
Steve
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQMDAIN & RUNMQCHI
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.