Author |
Message
|
kaitlyn |
Posted: Mon Feb 14, 2005 5:01 am Post subject: 2035 error |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
I have an mqm ID:
uid=13(mqm) gid=305(mqm)
and a mercator ID:
uid=204(mercator) gid=201(mercator) groups=1(staff),305(mqm).
When I try, from client box (acotxc1) to run MQ sample programs agains the acotxc9 box, they run fine with the mqm ID, but I get a:
Sample AMQSPUT0 start
MQCONN ended with reason code 2035
when I try to execute it with the mercator ID.
Here's what I'm doing:
On acotxc1, I'm typing (from the /usr/mqm/samp/bin directory):
export MQSERVER=JMS.SRVCONN/TCP/'10.100.10.99(1414)'
then I'm typing:
amqsputc EDIInput TWCC.QUEUE.MANAGER
and it fails. If I do exactly the same thing, except do in while logged on as mqm, it works. Any ideas on what I need to do to get this to work under the mercator ID? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 14, 2005 5:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you REFRESH SECURITY after you put mercatorID in the mqm group? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kaitlyn |
Posted: Mon Feb 14, 2005 5:26 am Post subject: |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
Yes I did. That's what I thought I needed to do and that didn't seem to make a difference. Just to make sure I did that correctly, I typed:
runmqsc
then typed:
REFRESH SECURITY
It said it refreshed, but it doesn't appear to have made any difference. Any other ideas? |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Feb 14, 2005 5:46 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Did you put the mercator ID in the mqm group on the server, the acotxc9 box? |
|
Back to top |
|
 |
kaitlyn |
Posted: Mon Feb 14, 2005 5:58 am Post subject: |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
Yes, that ID (mercator) is on both acotxc1 and acotxc9 boxes. Since the 9 box is the actual server, that's the one I am running the refresh from. I do not know how if it needs to be done from the 1 box. Here's what shows when I do an ID from the 9 box for mqm:
uid=305(mqm) gid=305(mqm) groups=1(staff),202(ibm),320(ws5),996(dasadm1),995(db2grp1)
I cannot do one for the mercator ID on the 9 box as there isn't a mercator "logon" for that box, but here's what it shows in the group for mqm on the 9 box:
mqm:!:305:dsimpg1,mqm,root,wsphere5,mercator,ctdjww1 |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 14, 2005 6:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kaitlyn wrote: |
I cannot do one for the mercator ID on the 9 box as there isn't a mercator "logon" for that box, but here's what it shows in the group for mqm on the 9 box |
Unless you can instruct the 9 box to authenticate against the 1 box in some manner, you will have to create a mercator logon that is local to the 9 box. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kaitlyn |
Posted: Mon Feb 14, 2005 8:37 am Post subject: |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
OK, I have had a mercator ID created and here's what it shows now on the 9 box when I do an ID:
uid=204(mercator) gid=201(mercator) groups=1(staff),305(mqm)
I have refreshed security and tried it again and it works! This, to me is somewhat odd. I wouldn't think that you would actually have to have a logon to a specific server if you were included in the group already, but it appears you do. Go figure...
Thank you for all of your help!  |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 14, 2005 8:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The group is local to the specific server.
Unless your two machines are using a shared authentication repository - like LDAP or NetInfo or some such. But it didn't sound that way. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|