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 Performance Monitoring » Rfhutilc connection problem.

Post new topic  Reply to topic Goto page Previous  1, 2
 Rfhutilc connection problem. « View previous topic :: View next topic » 
Author Message
Inforz
PostPosted: Mon Oct 14, 2019 5:07 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 139
Location: Chennai, India

fjb_saper wrote:
czaszek wrote:
I have tested the tunnel using netstat:
TCP 127.0.0.1:1414 0.0.0.0:0 LISTENING
On which machine? While in the ssh session?
czaszek wrote:

I have also added the server connection:
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/localhost(1414)

I have chosen this connection in the Queue Manager Name.
Unfortunatelly I still have got:
2059 Queue manager not available (Connect) - may not be started

Any idea?

If you are truely using 127.0.0.1 and or localhost this means you have very little understanding of TCP/IP or the network. You will never get out of your machine with this ip address. So how will you ever connect from your laptop to the foreign host with this address? -- Guess what the answer is NEVER EVER.
Try replacing the localhost with the ip you use for ssh.

Now if your tunnelling really exposes this as a local connection you have a different problem. I have seen this behavior if the user running the mqlistener has no permissions on the qmgr.

Enjoy



Hi, I have a similar issue faced where I am unable to connect to the remote qmgr using rfhutilc. So continuing from this thread

I tried a netstat to the remote qmgr port, after setting the MQserver varialble with SYSTEM.DEF.SVRCONN/TCP/IP(PORT), but didnt see an entry in the netstat command output.

however, when I tried a amqsputc with q & qmgr details, I see the command hangs with below text

C:\Program Files\IBM\MQ\bin>amqsputc TEST QMGR
Sample AMQSPUT0 start


for few minutes and ends with 2059 error as below

C:\Program Files\IBM\MQ\bin>amqsputc TEST QMGR
Sample AMQSPUT0 start
MQCONNX ended with reason code 2059


I can see the netstat command output has an entry for the right qmgr port with ESTABLISHED status, when the amqsputc command was hung.

After I got the 2059 error for the amqsputc command, the previously seen ESTABLISHED entry for the qmgr port isnt seen anymore and I get an output for the same qmgr port with TIME_WAIT status,

Please assist
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Mon Oct 14, 2019 5:25 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Inforz wrote:
Hi, I have a similar issue faced where I am unable to connect to the remote qmgr using rfhutilc. So continuing from this thread

I tried a netstat to the remote qmgr port, after setting the MQserver varialble with SYSTEM.DEF.SVRCONN/TCP/IP(PORT), but didnt see an entry in the netstat command output.

however, when I tried a amqsputc with q & qmgr details, I see the command hangs with below text

C:\Program Files\IBM\MQ\bin>amqsputc TEST QMGR
Sample AMQSPUT0 start


for few minutes and ends with 2059 error as below

C:\Program Files\IBM\MQ\bin>amqsputc TEST QMGR
Sample AMQSPUT0 start
MQCONNX ended with reason code 2059


I can see the netstat command output has an entry for the right qmgr port with ESTABLISHED status, when the amqsputc command was hung.

After I got the 2059 error for the amqsputc command, the previously seen ESTABLISHED entry for the qmgr port isnt seen anymore and I get an output for the same qmgr port with TIME_WAIT status,

Please assist

When you use "amqsputc" you try to cannect via a MQ channel. So you need either

- MQSERVER variable set or

- MQCHLTAB and MQCHLLIB or

- MQCCDTURL.

On the same machine you could use "localhost" as IP address.

Or use "amqsput" (without a trailing c).
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Inforz
PostPosted: Mon Oct 14, 2019 6:30 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 139
Location: Chennai, India

I did so, you can see in my earlier post

Quote:
I tried a netstat to the remote qmgr port, after setting the MQserver varialble with SYSTEM.DEF.SVRCONN/TCP/IP(PORT), but didnt see an entry in the netstat command output.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Mon Oct 14, 2019 7:30 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Inforz,

you are referencing a - very old - thread and wrote, that you have a "simuilar issue". The referenced thread describes a Connection through a SSL tunnel.

Do you have a SSL tunnel?

In the referenced thread a listener to "localhost" is described, which shall be mapped to an external port.

Do you have the same situation?

At the moment it is not really clear to me, how your set-up looks like. First you're talking about "rfhutilc", then you use "amqsputc". I thought, you wanted to test the Q / QMgr locally.

Please describe your own environment more detailed.

Do you have

- SSL tunnels?
- Firewalls between?

Show the

- Listener process
- Channel Definition
- QMgr Name

Does the QMgr run

- on the same system?
- on a different system?

What's your operating system for

- rfhutilc / amqsputc
- the QMgr

When you answer these question there may grow up further questions.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Rfhutilc connection 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.