Author |
Message
|
sebastia |
Posted: Wed Jul 30, 2008 2:33 am Post subject: 10054 IP error ... on a LOCAL queue manager (10038 also) |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
I have MQ v6.0.2.3 on a Laptop, with XP Pro (updated).
Listener is running on port 1431 (I can Telnet to it ...) :
C:\ > netstat -an | find "14"
TCP 0.0.0.0:1431 0.0.0.0:0 LISTENING
If I try
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/localhost(1431)
amqsputc Q_IN MY_QM
we get MQCONN ended with reason code 2059
MQRC 2059 => MQRC_Q_MGR_NOT_AVAILABLE
Intereting things start in AMQERR01.LOG (not the qmgr-specific, but the general one) : there is a 10054 error detected :
----------------------------------------------------------------------------------
30/07/2008 12:23:18 - Process(2100.1) User(65652208) Program(amqsputc.exe)
AMQ9208: Error de recepción del sistema principal localhost (127.0.0.1).
EXPLICACIÓN:
Se ha producido un error al recibir datos de 'localhost (127.0.0.1)' a través
de TCP/IP. Esto puede deberse a un error de comunicaciones.
ACCIÓN:
El código de retorno de la llamada TCP/IP (recv) ha sido 10054 (X'2746'). Anote
estos valores y póngase en contacto con el administrador de sistemas.
----- amqccita.c : 3161 -------------------------------------------------------
And in the AMQERR01.LOG of the specific queue manager, we have 10038 error :
---------------------------------------------------------------------------------
30/07/2008 12:23:19 - Process(4120.44) User(65652208) Program(amqrmppa.exe)
AMQ9213: Se ha producido un error de comunicaciones en TCP/IP.
EXPLICACIÓN:
Se ha producido un error inesperado en las comunicaciones.
ACCIÓN:
El código de retorno de la llamada TCP/IP (ioctlsocket) ha sido el 10038
(X'2736'). Anote estos valores y póngase en contacto con el administrador de
sistemas.
----- amqccita.c : 1642 -------------------------------------------------------
I have read lots of 10054-related posts,
and always it means "TCP/IP" problems ...
but there is (almost) no IP stack involved here !
Any ideas ? |
|
Back to top |
|
 |
exerk |
Posted: Wed Jul 30, 2008 2:41 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Quote: |
10054. WSAECONNRESET -- Connection reset by peer |
Check firewall settings, Windows firewall or whatever is in use. _________________ 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 |
|
 |
sebastia |
Posted: Wed Jul 30, 2008 5:07 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
That is part of the problem : there is NO firewall (as far as I can see).
There is an interesting symptom I have detected...
In a "normal" MQ machine, if we do (supose listener is on port 1428)
"telnet localhost 1428" from a command line
a blank screen comes up, you can key in anything, but there is no eco.
And you have to end the "telnet" using "Control+C" to get DOS prompt.
In the "problem" machine, if we start the telnet command,
it "breaks" the telnet session ON THE FIRST KEY I TOUCH,
and the DOS prompt comes up.
Any new ideas ? |
|
Back to top |
|
 |
exerk |
Posted: Wed Jul 30, 2008 5:32 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Apologies if you have already done this to confirm, but:
In Control Panel, Security Center if you select Windows Firewall, is it selected ON or OFF. If selected OFF, is there any other Firewall software installed, e.g. ZoneAlarm? _________________ 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 |
|
 |
sebastia |
Posted: Wed Jul 30, 2008 7:16 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
I have re-checked,
and Windows firewall is "disabled"
and there is no ZoneAlarm running (I know it - I use it at home).
Thanks for your help. Seb. |
|
Back to top |
|
 |
exerk |
Posted: Wed Jul 30, 2008 8:53 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
OK, thank you. Unfortunately I cannot offer anything more other than to compare the networking setup on the 'broken' box with the networking setup on one that doesn't exhibit the behaviour you have described. _________________ 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 |
|
 |
zhanghz |
Posted: Wed Jul 30, 2008 8:13 pm Post subject: |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
try either or all of the following:
1) re-start qmgr
2) change listening port
3) restart your laptop |
|
Back to top |
|
 |
sebastia |
Posted: Mon Aug 04, 2008 10:14 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
(1) restart QMGR - dozens of time
(2) change port - I am using port 8899 right now,
to get out of the scope of the SERVICES file ...
(3) restart PC - every day ...
I have Opened a PMR to get a "lab" answer.
Shall share the info ... when it comes (expect 2-3 weeks)
Ciao. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 04, 2008 2:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sebastia wrote: |
In a "normal" MQ machine, if we do (supose listener is on port 1428)
"telnet localhost 1428" from a command line
a blank screen comes up, you can key in anything, but there is no eco.
And you have to end the "telnet" using "Control+C" to get DOS prompt.
|
To end your telnet session try:
ctrl + ] followed by enter. Then type quit and hit enter at the prompt.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sebastia |
Posted: Tue Aug 05, 2008 8:20 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
I realy would like to try it ...
... but I bet you a beer that your "]" char
is not the same "char" than mine ...
... in the Spanish keyboard !
Anyway, I've got another Wintel machine, so I am installing again...
... without knowing the answer to those strange problems ...
Enjoy. ( ) |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 05, 2008 1:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sebastia wrote: |
I realy would like to try it ...
... but I bet you a beer that your "]" char
is not the same "char" than mine ...
... in the Spanish keyboard !
Anyway, I've got another Wintel machine, so I am installing again...
... without knowing the answer to those strange problems ...
Enjoy. ( ) |
So Sebastian you don't have a right bracket ']' on your machine??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sebastia |
Posted: Tue Aug 05, 2008 1:23 pm Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi !
I know that you know that I do have that sign on my key-board,
two keys to the right of the "P" letter .... (jeje)
but we both know also that those crazy "control" key-strokes
(must I say "key-sequences" ?)
are not as easy (or shall I say "rational") as they should be ...
Domani matina I will try "Ctrl+]" to end my Telnet session,
but I fear that wont solve the "listener" problem.
I know "Control+C" ends it at second chance if not first.
Maybe "Ctrl++" can improve that.
But the real question is :
WHY I CANT CONNECT() TO MY LOCAL QMGR ?????
Seb. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 05, 2008 1:35 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If your telnet session does not provide you with a blank screen... this means no connection ... Now it is a tcp/ip problem.
You can troubleshoot:
- Is the listener running?
- is the listener running on the port you expect it to?
- Are you using the right channel
- Telnet hostname port does still not return the blank screen:
Do you have a firewall that is blocking the port or the protocol?
- is it an ip4 Vs ip6 problem?
- Can you client connect?
- Client connect is working but not bindings mode for a local qmgr:
Do you have <MQInstall>/java/lib and <MQInstall/bin> on the lib path and path?
- What does the qmgr's log say? Any trace of your connection attempts?
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Jinny |
Posted: Tue Aug 05, 2008 5:32 pm Post subject: Check : svrconn channel mcauser |
|
|
Novice
Joined: 30 Jul 2008 Posts: 16
|
Please, check this : on a Laptop, with XP Pro
runmqsc QMGR_NAME
ALTER CHL(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER('MUSR_MQADMIN')
end |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Aug 06, 2008 6:57 am Post subject: Re: Check : svrconn channel mcauser |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Jinny wrote: |
Please, check this : on a Laptop, with XP Pro
runmqsc QMGR_NAME
ALTER CHL(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER('MUSR_MQADMIN')
end |
Opening a security hole to the queue manager will have no effect on solving a 2059 error code related to connectivity issues. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|