Author |
Message
|
Benzzz |
Posted: Thu Oct 13, 2011 8:41 pm Post subject: Cannot connect to the local q manager |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
We've installed IBM WebSphere MQ 7.0 in a Win 7 Professional 64bit box, and created a q manager and a server-connection channel via the WebSphere MQ Explorer.
However the q manager cannot be connected (MQCONNX ended with reason code 2538).
Command:
amqscnxc -x 127.0.0.1(1400) -c SVRCONN QM_01
Have checked through the following:
1) WebSphere MQ Explorere -> QM_01 -> Advanced > Listeners > Port 1400 > Listener status = running
2) telnet 127.0.0.1 1400
returns a blank screen indicating that port 1400 is opened.
3) netstat -a listed
Proto Local Address Foreign Address State
TCP 0.0.0.0:1400 TEST:0 LISTENING
What else is amiss here?
Please help .............................
Thanks,
Ben |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Oct 13, 2011 8:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What user id did you use to connect?
What is the qmgr's service id?
How did you start the qmgr?
I found that those problems tend to disappear when the qmgr is started with the -si flag...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Benzzz |
Posted: Thu Oct 13, 2011 9:09 pm Post subject: |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
* We only fill-in the MAC user ID in the server-connection channel. Is that the one?
* Please excuse me ... where can the qmgr's service id be found?
* The qmgr is started via WebSphere MQ Explorer -> qmgr > right-click -> Start -> Start as created
* Could you show a sample on how to start the qmgr with the -si flag?
Thanks,
Ben
fjb_saper wrote: |
What user id did you use to connect?
What is the qmgr's service id?
How did you start the qmgr?
I found that those problems tend to disappear when the qmgr is started with the -si flag...  |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 14, 2011 2:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
did you try the telnet to the port? Just to make sure there is no firewall blocking you...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 14, 2011 4:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
did you try the telnet to the port? Just to make sure there is no firewall blocking you...  |
Did you read the original post? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 14, 2011 4:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Benzz -
MQRC 2538 is "MQRC_HOST_NOT_AVAILBLE".
This means that it's not able to find 127.0.0.1, or that you need to put quotes around '127.0.0.1(1400)' or that you do not have a working network adapter. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 14, 2011 8:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqjeff wrote: |
Benzz -
MQRC 2538 is "MQRC_HOST_NOT_AVAILBLE".
This means that it's not able to find 127.0.0.1, or that you need to put quotes around '127.0.0.1(1400)' or that you do not have a working network adapter. |
You're right, I think it's the missing quotes... if it were the network adapter the telnet should not have been successful.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Benzzz |
Posted: Sun Oct 16, 2011 11:03 pm Post subject: |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
* Tried with quotes around (with and without firewall):
amqscnxc -x '127.0.0.1(1400)' -c SVRCONN QM_01
Still can't connect, but this time 2539 mqrc_channel_config_error.
SVRCONN is a server-connection channel created for qmgr 'QM_01'.
* 127.0.0.1 is ping-able.
* Also tried without firewall:
amqscnxc -x 127.0.0.1(1400) -c SVRCONN QM_01
2538 mqrc_host_not_available as before.
The log file in the errors directory shown:
AMQ6125: An internal WebSphere MQ error has occurred.
AMQ6183: An internal WebSphere MQ error has occurred.
AMQ9208: Error on receive from host 127.0.0.1(1400)
EXPLANATION:
An error occurred receiving data from 127.0.0.1(1400) over TCP/IP. This may be due to a communications failure.
ACTION:
The return code from the TCP/IP recv() call was 10054 (X'2746'). Record these values and tell the systems administrator.
What else need to be checked?
Thanks for all your suggestions,
Ben
fjb_saper wrote: |
mqjeff wrote: |
Benzz -
MQRC 2538 is "MQRC_HOST_NOT_AVAILBLE".
This means that it's not able to find 127.0.0.1, or that you need to put quotes around '127.0.0.1(1400)' or that you do not have a working network adapter. |
You're right, I think it's the missing quotes... if it were the network adapter the telnet should not have been successful.  |
|
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 17, 2011 12:16 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
TCP/IP 10054 : WSAECONNRESET -- Connection reset by peer. This occurs when an established connection is shut down for some reason by the remote computer.
Are you absolutely certain you have turned off the firewall? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Benzzz |
Posted: Mon Oct 17, 2011 1:01 am Post subject: |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
* Tried again turning off the firewall:
Windows Firewall -> Turns off window firewall (for both private and public network) -> click ok
amqscnxc -x 127.0.0.1(1400) -c SVRCONN QM_01
Still the same error:
2538 mqrc_host_not_available
AMQ9208: Error on receive from host 127.0.0.1(1400).
EXPLANATION:
An error occurred receiving data from 127.0.0.1(1400) over TCP/IP. This may be due to a communications failure.
ACTION:
The return code from the TCP/IP recv() call was 10054 (X'2746'). Record these values and tell the systems administrator.
Do I have to 'allow a program or feature through Windows Firewall'? (shouldn't be if the firewall is turned off, right?)
Thanks,
Ben
exerk wrote: |
TCP/IP 10054 : WSAECONNRESET -- Connection reset by peer. This occurs when an established connection is shut down for some reason by the remote computer.
Are you absolutely certain you have turned off the firewall? |
|
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 17, 2011 1:04 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Can you please dump the definition of your SVRCONN channel? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Benzzz |
Posted: Mon Oct 17, 2011 1:18 am Post subject: |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
How would you dump the definition of the channel? Is it from the WebSphere MQ Explorer or a command to run?
exerk wrote: |
Can you please dump the definition of your SVRCONN channel? |
|
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 17, 2011 1:22 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
runmqsc <QM NAME>
dis chl(<SVRCONN NAME>)
end
Copy and paste the result of the above - and I suggest diving into the manual in regard to command lines because one day you may not have a GUI available. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 17, 2011 1:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
exerk wrote: |
Can you please dump the definition of your SVRCONN channel? |
And the result of
Code: |
dis lsstatus(*) all |
Thanks  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Benzzz |
Posted: Mon Oct 17, 2011 1:41 am Post subject: |
|
|
Newbie
Joined: 13 Oct 2011 Posts: 8
|
Thanks for providing the command syntax.
Here is the output:
AMQ8414: Display Channel details.
CHANNEL(SVRCONN)
CHLTYPE(SVRCONN)
ALTDATE(2011-10-13)
ALTTIME(12.45.52)
COMPHDR(NONE)
COMPMSG(NONE)
DESCR( )
HBINT(300)
KAINT(AUTO)
MAXINST(999999999)
MAXINSTC(999999999)
MAXMSGL(4194304)
MCAUSER(mqm)
MONCHL(QMGR)
RCVDATA( )
RCVEXIT( )
SCYDATA( )
SCYEXIT( )
SENDDATA( )
SENDEXIT( )
SHARECNV(10)
SSLCAUTH(REQUIRED)
SSLCIPH( )
SSLPEER( )
TRPTYPE(TCP)
exerk wrote: |
Can you please dump the definition of your SVRCONN channel? |
|
|
Back to top |
|
 |
|