Author |
Message |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 7:51 am Subject: runmqdlq service on linux |
I've used this on AIX with both MQ 7.0.1.x and 7.5.0.3.
Thanks .. I need to raise a PMR as I think this is an issue with 7.5.0.1 on Linux 64 bit |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 7:23 am Subject: runmqdlq service on linux |
I will post my working config here
DEFINE SERVICE('XXX.DLQHANDLER') CONTROL(STARTONLY) SERVTYPE(SERVER) +
DESCR('Dead Letter Queue Handler') +
STARTCMD('+MQ_DATA_PATH+DLQ_start') ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 6:34 am Subject: runmqdlq service on linux |
Your STARTCMD in your service can not be:
/var/mqm/qmgrs/IB9QMGR/dlqhandler.sh
That is not an executable. It is an ASCII file. It should be something like:
ksh /var/mqm/qmgrs/IB9QMGR/dlqhan ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 6:25 am Subject: runmqdlq service on linux |
Code this in the DLQ rules
WAIT(YES)
I have a WAIT in the rules, this is the default if not specified though so should not make any difference |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 5:35 am Subject: runmqdlq service on linux |
Does your runmqdlq service now work with the queue manager being started under mqm? Or does it exhibit the same behavior as before?
Exactly the same behaviour .. starts and then promptly ends
n ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Apr 30, 2014 5:29 am Subject: runmqdlq service on linux |
So I see this in your trace:
| Effective UserID :- 496 (mqm) |
| Real UserID :- 500 (cevans) |
If that trace was from when the runmqdlq service was run, that is what I was suspecting as a pot ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Apr 29, 2014 9:01 am Subject: runmqdlq service on linux |
The ps command to run was for your amqzmgr0 process on your queue manager. That is a long running process and should be out there. What I am trying to see there is if someone started the queue manag ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Apr 29, 2014 8:50 am Subject: runmqdlq service on linux |
I see the following in a runmqdlq trace:
11:36:11.264284 6761.1 : -> odqProcessStdin
.
.
.
11:36:11.267277 6761.1 CONN:1400006 } odqProcessStdin rc=OK
... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Apr 29, 2014 8:33 am Subject: runmqdlq service on linux |
Did you also trace the runmqdlq process? If so, was there any mention of the AMQ8758 error in the runmqdlq trace? Or any indication of an error when runmqdlq was opening and reading the input file?
... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Apr 29, 2014 7:48 am Subject: runmqdlq service on linux |
Apart from required environment differences I have configured this to work on Windows now so I believe there is a defect with the product in Linux and am raising a PMR.
I ran a trace in Linux and t ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Mon Apr 28, 2014 5:41 am Subject: runmqdlq service on linux |
What userid are you running the DLQH under from the command line, and what group(s) is it in?
I am running the command line as my own account cevans and the userid is in the mqm and mqbrkrs |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Apr 27, 2014 11:48 pm Subject: runmqdlq service on linux |
OK, having finally managed to dig out an 'automated' DLQH set-up, I have the following:
STARTCMD('/<path>/mqdlqh.sh') +
STARTARG('DEAD.LETTER.QUEUE +QMNAME+ < /<path>/&l ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Apr 27, 2014 11:43 pm Subject: runmqdlq service on linux |
You say the service promptly ends...
Just as a double check: Is your DLQ get enabled?? (alias + underlying queue if you are using an alias)
The DLQ is a local queue and it is both get ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Fri Apr 25, 2014 5:52 am Subject: runmqdlq service on linux |
OK, having finally managed to dig out an 'automated' DLQH set-up, I have the following:
STARTCMD('/<path>/mqdlqh.sh') +
STARTARG('DEAD.LETTER.QUEUE +QMNAME+ < /<path>/&l ... |
Topic: runmqdlq service on linux |
cevans
Replies: 42 Views: 26159
|
Forum: IBM MQ Installation/Configuration Support Posted: Fri Apr 25, 2014 5:46 am Subject: runmqdlq service on linux |
can you please show the output of DISPLAY SERVICE directly from runmqsc, rather than the mixed format you've shown.
the mixed format you've shown has single-quotes around several arguments, and I w ... |