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 Installation/Configuration Support » Configuring a listener service on Linux

Post new topic  Reply to topic
 Configuring a listener service on Linux « View previous topic :: View next topic » 
Author Message
romudd
PostPosted: Mon Oct 13, 2003 2:43 pm    Post subject: Configuring a listener service on Linux Reply with quote

Apprentice

Joined: 12 Aug 2003
Posts: 31
Location: Sao Paulo - Brazil

Hi,

I'm changing my mqseries environmento from WindowsNT to Linux, and I have a question on configuring a Listener. On Windows NT we have the MQSeries Explorer, in which the service Listener is created and controlled. But in Linux such visual interface is not available, we have two ways to do that:
- via a Shell command (runmqlsr)
- in the runmqsc prompt, using the command START LISTENER
My question is on this second method: How can I configure the properties of the service? I have a clue that it's done in the qm.ini file, but can't find in the documentation how to do it. By the way, what are the advantages and disadvantages of each method?

thanks!
Rodrigo
Back to top
View user's profile Send private message MSN Messenger
bower5932
PostPosted: Tue Oct 14, 2003 5:17 am    Post subject: Reply with quote

Jedi Knight

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

Personally, I prefer to stay away from the runmqsc interface to start the listener. I go with the runmqlsr and I use command line parameters:

runmqlsr -t tcp -p 1414 -m my.qmgr
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mrlinux
PostPosted: Tue Oct 14, 2003 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

There is a third alternative, you can setup inetd to automaticly start
the listener.

edit the following files

/etc/inetd.conf

QMGR_NAME stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m QMGR_NAME

/etc/services

QMGR_NAME 1414/tcp

After that you need to restart inetd and your off and running
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Configuring a listener service on Linux
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.