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 » General IBM MQ Support » listener problems

Post new topic  Reply to topic
 listener problems « View previous topic :: View next topic » 
Author Message
mqmike
PostPosted: Mon Aug 23, 2004 2:05 am    Post subject: listener problems Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

We have been experiencing a problem with what appears to be a listener process on our MQhub (for hub and spoke).

The server was running at AIXv5.1 with MQv5.2 (cant remember the CSD level) and had two qmgrs, both using listener processes.

We then upgraded to AIXv5.2 with MQv5.2 and all appeared ok. The next day however, any channels that tried to connect to one of the qmgrs on the hub failed and reported errors in the error logs about the listener process. The other qmgr was fine though. Both listener processes were started exactly the same : runmqlsr -t tcp -m A.BROKER.QMGR -p 1416 &
and runmqlsr -t tcp -m D.BROKER.QMGR -p 1415 &

The listener process always appeared ok on the hub (ps -ef) and a netstat showed no problems. We applied the latest CSD for v5.2 but this still made no difference. We also tried running the listener with a nohup comand but again the channels wouldn't run. FDCs were generated with PIDS :- 5724B4101 and Comment1 :- SIGHUP for Program Name :- runmqlsr_nd

Eventually we used inetd and all was ok. A week later we upgraded to MQv5.3 and put it back to the listener. Again all appeared ok. We upgraded on the Weds but the following Mon exactly the same problems were occurring.

Any ideas??
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Aug 23, 2004 5:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The PIDS is a product ID. Post the Probe Id. This usually sheds more light.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
gunter
PostPosted: Mon Aug 23, 2004 7:23 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Check the permission on runmqlsr, setuid and setgid should be set.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
mqmike
PostPosted: Tue Aug 24, 2004 1:57 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Probe ID is : XC338001

Not sure how to check the permissions on runmqlsr. Could you tell me how to do this and what to check for please?
Back to top
View user's profile Send private message
gunter
PostPosted: Tue Aug 24, 2004 5:27 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Code:
ls -l /usr/mqm/bin/runmqlsr
-r-sr-s---  1 mqm mqm 11195 28. Mai 00:19 /usr/mqm/bin/runmqlsr


This is from linux, but it shoud be like this on AIX. The s is important, if there is only a x, you should compare your installation with a working installation.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
mqmike
PostPosted: Wed Aug 25, 2004 7:11 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

The following permissions are set:

lrwxrwxrwx 1 root system 24 Aug 04 20:21 /usr/mqm/bin/runmqchl -> /usr/mqm/bin/runmqchl_nd

Can't see it being a problem with this. As I said earlier, we have one listener running quite happily it's just the other one that creates problems.
Back to top
View user's profile Send private message
gunter
PostPosted: Wed Aug 25, 2004 10:06 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

lrwxrwxrwx 1 root system 24 Aug 04 20:21 /usr/mqm/bin/runmqchl -> /usr/mqm/bin/runmqchl_nd

This isn't the listener, runmqlsr is the listener.
And you checked a symbolic link, the permission is set on the file, here /usr/mqm/bin/runmqchl_nd.

I can't look at an AIX installation, here is only Linux but except a few points, it's all UNIX.
The links are special on AIX but the file permissions should be similar.

If the user mqm starts the listener, the setuid bit are not important, but if it's started by an other user, p.e. root, the listener may not work without setuid and setgid.

You wrote, there are two listener running, one works and the other didn't. Did you start both with the same script or interactive with different user?

Check the processlist with ps and compare both.

Code:
On Linux: ps -ef | grep runmqlsr

Maybe there are other options on AIX, read the manual( man ps ) for all processe with full or long output format.

I'm not sure, that we on the right path but it looks as if other people have also no better idea.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 25, 2004 12:51 pm    Post subject: Reply with quote

Grand High Poobah

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

Looks to me like a permission problem

execute
Code:
ps -ef | grep runmqlsr


and check the output.

Check if the user running the listener is part of the mqm group.

If not you need to end your queue manager before you can end the listener.
Code:

endmqm -w qmgr
endmqlsr -m qmgr


Make sure the listener is started with a userid from the mqm group.

We had the problem once where the listener was started by root.
Everything seemed fine but the other qmgr could not connect through the channel. Stopped and restarted with a usr in the mqm group and everything was fine.

Enjoy.
Back to top
View user's profile Send private message Send e-mail
mqmike
PostPosted: Tue Aug 31, 2004 1:06 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Thanks for the responses guys.

Listener permissions are below:

ls -l /usr/mqm/bin/runmqlsr

lrwxrwxrwx 1 root system 24 Aug 04 20:21 /usr/mqm/bin/runmqlsr -
> /usr/mqm/bin/runmqlsr_nd


Both listeners were started interactively from user mqadmin (part of mqm group). I tried running the one with the problem on Fri night and the channels look ok so far (fingers crossed) although anther FDC was generated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » listener problems
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.