Author |
Message
|
SMWalker |
Posted: Mon Nov 24, 2003 11:04 am Post subject: listener on Linux |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
I cannot get the listener to start as an inetd service for the life of me. I have added the line MQSeries 1414/tcp to the services file, and added the line to the inetd.conf file. Then I rebooted the machine(for other reasons), but the process still does not start. What am I missing. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Nov 24, 2003 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Post your actual lines here. Also, are you getting any kind of errors? Is there something in one of the MQ logs directories that sheds any light? |
|
Back to top |
|
 |
SMWalker |
Posted: Mon Dec 01, 2003 11:13 am Post subject: |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
Here are the lines:
in the etc/services
MQSeries 1414/tcp # MQseries listener
in xinetd.conf
MQSeries stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m LS1AP1P[/b] |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Dec 01, 2003 11:20 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Which are you trying to use inetd or xinetd ????
inetd uses inetd.conf for configuration
xinetd uses xinetd.conf for configuration
The confiugration line listed looks like an inetd.conf configuration I dont think it is valid for xinetd (could be wrong) _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
SMWalker |
Posted: Mon Dec 01, 2003 11:26 am Post subject: |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
I assume it is xinetd. There is no inetd.conf file on the box. Sorry, I got this dropped on me out of the blue. I have very limited exposure to Linux, and am trying to work off of the solaris knowledge I have.
Any ideas on what the xinetd.conf line should look like? |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Dec 01, 2003 11:37 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Iam not really able to check right now, but you should be able to
do a man xinetd.conf for some ideas, also is xinetd running
ps -ef | grep xinetd _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
SMWalker |
Posted: Mon Dec 01, 2003 11:41 am Post subject: |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
yes it is. I will look around. |
|
Back to top |
|
 |
SMWalker |
Posted: Tue Dec 02, 2003 11:48 am Post subject: |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
That did the trick. Thanks for your help, there are now listener processes all over the place, as they should be. |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Dec 02, 2003 12:02 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Can you post what the xinetd.conf entry looks like, I tried to look it up last night and found I only have inetd installed. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
SMWalker |
Posted: Wed Dec 03, 2003 6:19 am Post subject: |
|
|
 Novice
Joined: 20 Aug 2002 Posts: 16 Location: NJ
|
Here you go:
service MQSeries
{
socket_type = stream
protocol = tcp
port = 1414
wait = no
user = mqm
server =/opt/mqm/bin/amqcrsta
instances = UNLIMITED
}
I am finding all kinds of nuances in Linux. Looks like it is time for training. |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Dec 03, 2003 6:50 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well thanks for posting the xinetd info.
Well Linux has it own flavor of things, but it does support inetd also
A suggestion if you plan on hosting more than one queue manager on
the linux box you might want to change your setup a little.
/etc/services
QMGR_NAME 1415/tcp #Use QMGR_NAME
/etc/xinetd.conf
service QMGR_NAME
{
socket_type = stream
protocol = tcp
port = 1415
wait = no
user = mqm
server =/opt/mqm/bin/amqcrsta
instances = UNLIMITED
} _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|