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 » runmqtmc authority

Post new topic  Reply to topic
 runmqtmc authority « View previous topic :: View next topic » 
Author Message
gpklos
PostPosted: Thu Apr 12, 2007 5:42 am    Post subject: runmqtmc authority Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I'm curious, we are trying to run the runmqtmc program on a client platform. However when we run the program it says something like "running the trigger monitor is not authorized". Depending on the id we use, sometimes it works and sometimes it doesn't. It seems like as long as the id that runs the trigger monitor is in the mqm group of the MQ server, it runs, but if not it fails. However since it seems like the id that runs the runmqtmc command is also the id that the process when it triggers I didn't want that id to be in the mqm group because now it can get to everything. Is there some special permission that can be given to that id so that it can run the trigger monitor, but only have access to specific queues?

Thanks,
Gary
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 12, 2007 5:47 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Does it say something like "running the trigger monitor is not authorised" or something exactly like that?

It sounds like the trigger monitor is not authorised to use the initq under a non-mqm id. You should check the permissions of the user id you're using, or not use the system init queue.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 12, 2007 5:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vitor wrote:
You should check the permissions of the user id you're using, or not use the system init queue.


I would say "AND not use the system init queue".

Don't use it, please. Don't use *any* SYSTEM. objects for any application purposes.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Apr 12, 2007 8:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Maybe you can tell us which op sys and post the exact message you're getting.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
gpklos
PostPosted: Thu Apr 12, 2007 8:42 am    Post subject: Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I'm not using the SYSTEM.*.initq. I'm using an application initiation queue. When I first ran the trigger monitor I expected to see a 2035 saying the id didn't have access to the initiation queue, since authority wasn't given for that. But I got that other message and it made me think maybe running the trigger monitor program might require some other security, like being in the mqm group, etc. Anyways I gave the id authority to PUT/GET/DISPLAY/INQ against the initiation queue and I think things are working ok. I will try a couple of more things shortly.

Thanks for your help,
Gary
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Apr 12, 2007 8:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and I assume the ID has CONNECT authority to the qmgr.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Thu Apr 12, 2007 2:43 pm    Post subject: Reply with quote

Grand High Poobah

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

gpklos wrote:
I'm not using the SYSTEM.*.initq. I'm using an application initiation queue. When I first ran the trigger monitor I expected to see a 2035 saying the id didn't have access to the initiation queue, since authority wasn't given for that. But I got that other message and it made me think maybe running the trigger monitor program might require some other security, like being in the mqm group, etc. Anyways I gave the id authority to PUT/GET/DISPLAY/INQ against the initiation queue and I think things are working ok. I will try a couple of more things shortly.

Thanks for your help,
Gary


Remember as well that you need put authority to the DLQ.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gpklos
PostPosted: Fri Apr 13, 2007 8:19 am    Post subject: Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

Thanks, I forgot about the PUT authority to the DLQ.

It is working great btw.

Gary
Back to top
View user's profile Send private message
gpklos
PostPosted: Fri Apr 13, 2007 11:48 am    Post subject: Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

Wayne,
I have a question. I got MA7K to work on my pc talking to a queue manager, however when we set up the service on a server that has only the client installed, when you try to start the service it fails with a 2277.
I'm using the MQCONNX option with the options below. Have you seen this error with the MQCONNX before?

Global:
ShortTmr=60
ShortRty=10
LongTmr=1200
LongRty=999999999
EventLevel=2
WaitInterval=60000

** The following is used to indicate where to find the key repository
** It is only relevant if one or more threads use MQCONNX (see "threads" below)

* KeyRepository=C:\mqm\Qmgrs\SSLTEST\ssl\key

** You can specify a service userid (in the form: domain\user) and password
** if ServiceUserid is specified but ServicePassword is NOT specified, then setup will
** prompt for it. If neither is specified, then "LocalSystem" is used.
** If the user is invalid, you will receive a "Error number 1057" at setup time
** Ensure the user has rights to logon as a service

ServiceUserid=HDQ\asetest
ServicePassword=password

**
** The following only applys to Lotus Notes agents, see the readme
**

AgentRedirStdout=Yes

**
** If you wish to run this with the server libraries, change the
** following line to:
**
* MQSeriesDLL=mqm.dll
**
MQSeriesDLL=mqic32.dll

** For each thread to run, there is a "thread" stanza, maximum 16 stanzas
** Queue Manager names and Notes ini file names are optional.

** This defines a simple thread to read from the default initiation queue
** Thread:
** TriggerQueueName=SYSTEM.DEFAULT.INITIATION.QUEUE

** This defines a thread to read from a initq on qmgr "Venus"
* Thread:
* TriggerQueueName=MY.INITQ
* TriggerQueueMgrName=Venus

** This allows us to use the qmgr group facility of the client
* Thread:
* TriggerQueueName=MY.INITQ
* TriggerQueueMgrName=*QmgrGroup

** We can explicity call out the Notes ini filename for this thread
* Thread:
* TriggerQueueName=MY.INITQ
* NotesIni=c:\lotus\notes\mynotes.ini

** Or we can say to get the name from the Envrdata field of the trigger message
* Thread:
* TriggerQueueName=MY.INITQ
* NotesIni=Envrdata

** Or we can say to get the name from the Userdata field of the trigger message
* Thread:
* TriggerQueueName=MY.INITQ
* NotesIni=Userdata

** Or we can say to get the name from the Trigdata field of the trigger message
* Thread:
* TriggerQueueName=MY.INITQ
* NotesIni=Trigdata


* This thread uses MQCONNX to make the connection to the remote qmgr.
* MQCONNX is used when the CONNAME and CHANNEL parameters are specified, everything else
* can be defaulted.

Thread:
TriggerQueueName=SB.SE_REGISTER_SYNC.INITQ

CONNAME=USTA.psc.uss.com
CHANNEL=CLTRIGMON.USTA.CL
* These are optional and default to values shown
* Please note that chained exits are not supported, so you can only specify one exit for each exit type.

* LOCLADDR=
* HBINT=300
* RCVDATA=
* RCVEXIT=
* SCYDATA=
* SCYEXIT=
* SENDDATA=
* SENDEXIT=
* USERID=
* SSLCIPH=
* SSLPEER=
* KAINT=AUTO
*
*** End of sample
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 » runmqtmc authority
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.