Author |
Message
|
lallisharma |
Posted: Sat Aug 13, 2011 1:09 am Post subject: Unable to connect to Queue manager |
|
|
Newbie
Joined: 13 Aug 2011 Posts: 6
|
Hi,
I can start the QM on my local system but while connecting to it to get the broker started I am getting the error: AMQ2063.
So, I tried setting the mqauth on my userid as:
setmqaut -m QMGR1 -t qmgr -p aryaso +connect
and I am getting the below error:
Websphere MQ was unable to display an error message 7047
AMQ7047.
Thanks in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Aug 13, 2011 4:04 am Post subject: Re: Unable to connect to Queue manager |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lallisharma wrote: |
I can start the QM on my local system but while connecting to it to get the broker started |
Can you expand on that statement? What broker? Why would you connect to a queue manager to start it? And can you connect to the queue manager "normally"?
lallisharma wrote: |
I am getting the error: AMQ2063.
So, I tried setting the mqauth on my userid as:
setmqaut -m QMGR1 -t qmgr -p aryaso +connect
|
Why?
lallisharma wrote: |
and I am getting the below error:
Websphere MQ was unable to display an error message 7047
AMQ7047.
|
This tells you what important piece of information? Is QMGR1 the first queue manager you've created using this install?
Would you care to share which OS you're using? And which version of WMQ? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mvic |
Posted: Sat Aug 13, 2011 6:17 am Post subject: Re: Unable to connect to Queue manager |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
AMQ7047 means "unexpected error", you might need to look in /var/mqm/errors and maybe call IBM support. |
|
Back to top |
|
 |
lallisharma |
Posted: Sun Aug 14, 2011 3:59 am Post subject: |
|
|
Newbie
Joined: 13 Aug 2011 Posts: 6
|
I am unable to start the broker that was created on QMGR. It shows that the QMGR is not running. But the status of QM is Running, and still in MQ explorer I am not able to connect to it.
I am trying to connect to that because I feel if that's done, I can start the broker too (this may not be neccessary though).The problem also is that on the QM that I created, I am unable to run the runmqsc command.
OS is Windows NT, MQ 7.0.1.
Its some privilege/access issue but I am not sure how to fix it. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Aug 14, 2011 6:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
lallisharma wrote: |
I am unable to start the broker that was created on QMGR. It shows that the QMGR is not running. But the status of QM is Running, and still in MQ explorer I am not able to connect to it.
I am trying to connect to that because I feel if that's done, I can start the broker too (this may not be neccessary though).The problem also is that on the QM that I created, I am unable to run the runmqsc command.
OS is Windows NT, MQ 7.0.1.
Its some privilege/access issue but I am not sure how to fix it. |
Stop the qmgr. Start it from the command line with the si flag...
Code: |
strmqm -si <QMGRNAME> |
The same way, open the broker's command shell as administrator and start the broker
Code: |
mqsistart <BROKERNAME> |
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
lallisharma |
Posted: Mon Aug 15, 2011 10:03 pm Post subject: |
|
|
Newbie
Joined: 13 Aug 2011 Posts: 6
|
Thanks a lot..!! This worked.
I stopped and restarted the QM with -si flag in command.
The Broker also started.
However, I feel this may be a temporary fix and if the problem reoccurs, I may need to re-install MQ with a user id with proper authorisations. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 16, 2011 4:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lallisharma wrote: |
I may need to re-install MQ with a user id with proper authorisations. |
What user id did you use to do the install last time then? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 16, 2011 6:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Using the si flag with the QMGR start command means:
Use the SERVICE user set up in the system and start the qmgr in an INTERACTIVE way...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
lallisharma |
Posted: Wed Aug 17, 2011 12:08 am Post subject: |
|
|
Newbie
Joined: 13 Aug 2011 Posts: 6
|
I had installed MQ using my local user id, which is a part of MQM and mqbrkrs groups.
Thanks.!! |
|
Back to top |
|
 |
|