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 » WebSphere Message Broker (ACE) Support » Can't connect to local broker - MessageBroker 7.0

Post new topic  Reply to topic Goto page 1, 2  Next
 Can't connect to local broker - MessageBroker 7.0 « View previous topic :: View next topic » 
Author Message
akiramoto
PostPosted: Fri Jun 25, 2010 9:52 am    Post subject: Can't connect to local broker - MessageBroker 7.0 Reply with quote

Newbie

Joined: 10 May 2005
Posts: 5

Hello,

I have an installation of Message Broker 7.0 and MQ 7.0.1.2 on SUSE Linux Enterprise Server 11.

I am using the user wbi, that belongs to groups mqm and mqbrkrs.

I have created a new broker:

wbi@VM-SLES11:~> mqsicreatebroker BROKER -q QMBROKER -i wbi -a password
....
wbi@VM-SLES11:~> mqsistart BROKER
BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem.

When I issued command mqsilist, the following error occurs:
wbi@VM-SLES11:~> mqsilist BROKER
BIP1046E: Unable to connect with the queue manager (Either the machine does not have an IP address, or no cryptography service is available).

The utility encountered a problem while attempting to connect to the queue manager to put a message to the broker's request queue.

Ensure that the correct connection parameters have been supplied to the utility. Also ensure that the queue manager is running and that the current user is able to access the queues beginning SYSTEM.BROKER. If this error text includes an MQ reason code, look up the meaning behind the error in the Application Programming Reference guide and proceed as appropriate.

Also, I can connect to Queue Manager QMBROKER using MQ Explorer, but can't connect to broker BROKER using MB Explorer.

What am I doing wrong? Is there any other configuration that I should execute?

Thanks in advance,


Last edited by akiramoto on Fri Jun 25, 2010 12:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 25, 2010 10:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I thought this was a clear indication?
Quote:
BIP1046E: Unable to connect with the queue manager (Either the machine does not have an IP address, or no cryptography service is available).
Does this mean that the connection is attempted as a client connection?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
akiramoto
PostPosted: Fri Jun 25, 2010 10:19 am    Post subject: Reply with quote

Newbie

Joined: 10 May 2005
Posts: 5

fjb_saper,

I don't think so, I am at same machine... Just trying to configure a local broker... Is there any other configuration/installation that I missed? Or maybe some security activity that I should do with MQ?

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 25, 2010 10:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

akiramoto wrote:
I don't think so, I am at same machine...


That doesn't mean you're not using a client connection. Doesn't mean you are, but doesn't preclude it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
akiramoto
PostPosted: Fri Jun 25, 2010 10:32 am    Post subject: Reply with quote

Newbie

Joined: 10 May 2005
Posts: 5

Vitor,

Ok...

What MQ configuration should I look?

Thanks!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 25, 2010 10:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is the user a member of mqm?
Is the user a member of mqbkrs?

Did you enable administrative security on the broker?
Back to top
View user's profile Send private message
akiramoto
PostPosted: Fri Jun 25, 2010 10:51 am    Post subject: Reply with quote

Newbie

Joined: 10 May 2005
Posts: 5

Hi mqjeff,

User is member of both groups:

wbi@VM-SLES11:~> groups
mqm root mqbrkrs

I didn't enabled administrative security, it's the default configuration.

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 25, 2010 11:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

akiramoto wrote:
What MQ configuration should I look?


Verify that the create broker command didn't throw any errors, and the SYSTEM.BROKER objects exist on the queue manager. Also confirm you can still access the queue manager via MQ Explorer
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
akiramoto
PostPosted: Fri Jun 25, 2010 11:32 am    Post subject: Reply with quote

Newbie

Joined: 10 May 2005
Posts: 5

Hi Vitor,

mqsicreatebroker didn't throw any errors:
...
BIP8071I: Successful command completion.

SYSTEM.BROKER objects were created successfully and I still have access to queue manager QMBROKER using MQ Explorer.

At MB Explorer, it shows that BROKER is active, but when I try to connect to, it shows an error that couldn't connect.

Thanks,
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Jun 25, 2010 12:45 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

have a look at this

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/au16601_.htm
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
skunkvasu
PostPosted: Tue Jan 18, 2011 12:41 am    Post subject: Reply with quote

Newbie

Joined: 18 Jan 2011
Posts: 2

akira , was this resolved? I am facing an issue similar to this
Back to top
View user's profile Send private message
kjloh
PostPosted: Tue Apr 19, 2011 7:15 pm    Post subject: Reply with quote

Newbie

Joined: 19 Apr 2011
Posts: 3

Hi Just wonder if there is any solution or new findings on this. I have encountered this problem as well. and from the syslog, it seems to me message broker process and message flow is running.

the following change was done (which I am not sure if it is relate to this):

(1) update patch to 7002.
(2) change IP address of the host.

thank you very much
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 19, 2011 7:28 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you trying to use SSL to connect to the broker?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Apr 19, 2011 9:26 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Quote:
.
(2) change IP address of the host.


Methinks therein lies the problem. How did you change the IP address? did it involve a subnet change? What is the output of
Code:

 ifconfig
 cat /etc/sysconfig/network-scripts/ifcfg-eth*
 cat /etc/resolv.conf


Unless you do that properly your TCP/IP stack will not be working very well at all.
Did you reboot after the IP address change? I normaly do this to prove that the IP change has worked.
This is one of the reasons why to use DHCP. This makes handing Addy changes easy. Don't forget you can reserve an IP addy for a MAC Address in most decent DHCP servers. Then faffing around with fixed IP's can be (in many circumstances) a thing of the past.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kjloh
PostPosted: Tue Apr 19, 2011 10:33 pm    Post subject: Reply with quote

Newbie

Joined: 19 Apr 2011
Posts: 3

Thank you so much for the info.

No there is no SSL.

for that IP change, it is a HACMP change. and yes, I think the subnet mask is modified. Server are rebooted after the change. the QM itself and the HACMP are working fine after the change.

for what I don't understand is how Broker (especially the mqsilist command) affect by this. is it possible to explain how IP change could affect broker? is broker tied to any fixed ip/subnet during broker creation? is there any setting I can set in broker so that i can get mqsilist to work again?

I shall get back those info when I got them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can't connect to local broker - MessageBroker 7.0
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.