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 » IBM MQ Installation/Configuration Support » Multi Q manager in AIX problem!

Post new topic  Reply to topic
 Multi Q manager in AIX problem! « View previous topic :: View next topic » 
Author Message
fcho
PostPosted: Sun Sep 01, 2002 5:30 pm    Post subject: Multi Q manager in AIX problem! Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

Hi,
I've create 3 Q manager in AIX box, I've modify the /etc/services as below :
...
MQSeries1 1414/tcp #listener port for MQseries
MQSeries2 1415/tcp #listener port for MQseries
MQSeries3 1416/tcp #listener port for MQseries

, I also modify inetd.conf as below :

MQSeries1 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR1
MQSeries2 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR2
MQSeries3 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR2

and I also restart the services.
The problem now is when I try my program to MQCONN to connect to QM_MGR1, no problem but when I try to connect to QM_MGR2 or QM_MGR3, I got error 2058, any body know why? fyi, I'm using set MQSERVER every time I rerun my program.

Regards,
fcho
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 01, 2002 5:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

fcho wrote:

MQSeries3 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR2


I think, it should be:
Code:

MQSeries3 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR3

_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
fcho
PostPosted: Sun Sep 01, 2002 6:12 pm    Post subject: Multi Q manager in AIX problem! Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

Hi,
Thanks for the reply. Yes this was a typing error. After changed as below :

MQSeries3 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m QM_MGR3

problem still the same, any idea?
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 01, 2002 6:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Is your MQSERVER variable set correctly? It should be in this format: 'ChannelName/Protocol/ConnectionName:PORT'. For example, MQSERVER=SYSTEM.DEF.SVRCONN/TCP/MYSERVER:1415

Please make sure you have typed your queue manager name correctly in the program. Are you running the client application on the same server? Have you linked your application with client libraries?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
fcho
PostPosted: Sun Sep 01, 2002 8:04 pm    Post subject: Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

Is your MQSERVER variable set correctly? It should be in this format: 'ChannelName/Protocol/ConnectionName:PORT'. For example, MQSERVER=SYSTEM.DEF.SVRCONN/TCP/MYSERVER:1415

Set accordingly but still same error happen.

Please make sure you have typed your queue manager name correctly in the program. Are you running the client application on the same server? Have you linked your application with client libraries?

Yes, I'm running the client application on same server. I also using the amqscnxc sample program to test but still the same.

Do you think should I need to reboot the AIX box?

Regards,
fcho
Back to top
View user's profile Send private message
nimconsult
PostPosted: Sun Sep 01, 2002 10:38 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

Have you tried connecting in binding mode (ie not in client mode / without the MQSERVER variable)?

Just to make sure it is only a listener problem or a more global problem.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fcho
PostPosted: Mon Sep 02, 2002 12:00 am    Post subject: Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

What do you mean binding mode? How to do that?

Regards,
fcho
Back to top
View user's profile Send private message
clindsey
PostPosted: Mon Sep 02, 2002 9:24 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Bindings mode uses shared memory IPC rather than sockets, so there are no channels or listerners involved. Your application is linked with server libraries rather than client libraries. There is a sample PUT program and GET program that are built in both client and bindings mode. These are good to test with. They are amqsput(c) and amqsget(c) meaning if they are run without the (C) on the end, you will be running in bindings mode. If amqsput and amqsget fail on the server, then you have a more basic problem with your queue manager.

By the way, if you are testing with amqscnxc, you do not need to have MQSEVER defined if you pass in the hostname and channelname parameters, e.g
amqscnxc -x localhost(1415) -c SYSTEM.DEF.SVRCONN QM_MGR2.

Charlie
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Sep 03, 2002 3:21 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

MQServer enviorment variable should

be CHANNEL_NAME/TCP/MYSERVER(PORT) NO :
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Multi Q manager in AIX problem!
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.