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 » Creating & running the Listener

Post new topic  Reply to topic
 Creating & running the Listener « View previous topic :: View next topic » 
Author Message
pankajg
PostPosted: Wed Aug 07, 2002 6:30 am    Post subject: Creating & running the Listener Reply with quote

Acolyte

Joined: 11 Oct 2001
Posts: 53

Hi All

What command can i use to create & run a listener ,,,on Win NT command prompt & Solaris.
I know that runmqlsr is for running ,,

I also tried the following , but it is hanging ,,,,( i think -p is invalid option )

C:\>runmqlsr -t tcp -p 1414 -m MQM1

Please help.
_________________
Regards
Pankaj
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Wed Aug 07, 2002 6:42 am    Post subject: Reply with quote

Grand Master

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

issuing the command runmqlsr is designed to hang.


1) On the nt platform you need to use the MQSeries Services to create the listener (Start/Programs/IBM MQSeries/MQSeries Services.

2) On Solaris you can use inetd or you can from the
runmqsc prompt issue start listener(limitied to port 1414) or
runmqlsr in the background.
_________________
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
pankajg
PostPosted: Wed Aug 07, 2002 7:58 am    Post subject: Reply with quote

Acolyte

Joined: 11 Oct 2001
Posts: 53

But y is it designed to hang ??
And..

1. So there is no other way , other then using the GUI on NT ?
2. On Unix how will u create & run the Listener,,,,,on a non 1414,,,port ??

Can you please help with the command,,
_________________
Regards
Pankaj
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Wed Aug 07, 2002 8:55 am    Post subject: Reply with quote

Jedi Knight

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

You can run (manually) the listener on both Windows and Soalris:

runmqlsr -t tcp -m QMGR.NAME -p port#

You can get it autostarted on both platforms as well. See other append for Windows. For Solaris, you would use inetd. There are details in the Quick Beginnings manual.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mrlinux
PostPosted: Wed Aug 07, 2002 9:14 am    Post subject: Reply with quote

Grand Master

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

Running the listener on NT can be done manually, but if you intend this queue manager in production or to be able to restart from a reboot then
use the MQSeries Services that is the best way to get it to start and also
the most reliable way (It sounds like an oxymoron reliable and NT)

As far as Unix you have several options

1) Inetd, This is my preferred method (NOT IBM's suggested way)
This will start up an amqcrsta process for every incoming channel.

2) start runmqlsr in the background "NOHUP runmqlsr PARMS &"
_________________
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
pankajg
PostPosted: Wed Aug 07, 2002 10:33 am    Post subject: Reply with quote

Acolyte

Joined: 11 Oct 2001
Posts: 53

Thank's for your replies..
_________________
Regards
Pankaj
Back to top
View user's profile Send private message Send e-mail
a1r
PostPosted: Thu Oct 31, 2002 11:53 pm    Post subject: Reply with quote

Newbie

Joined: 31 Oct 2002
Posts: 3
Location: Edinburgh, UK

Quote:
But y is it designed to hang ??


'Hang' isn't quite accurate On NT the runmqlsr command is written so that it does not return, but runs in the foreground. It still works though: try running the command (so it 'hangs') and try a connection (via telnet for example). The connection will succeed and you will see output in the runmqlsr window.

Quote:
1. So there is no other way , other then using the GUI on NT ?


The magic command on Windows is amqmdain. This administers services (in the background) from the command line. Try searching this site for more info.

Cheers
- Aaron
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Creating & running the Listener
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.