Author |
Message
|
jwendorf |
Posted: Mon Dec 11, 2006 11:07 am Post subject: Reason code 2035 when running saveqmgr |
|
|
Acolyte
Joined: 15 May 2001 Posts: 63 Location: Madison, WI
|
I am trying to run the saveqmgr remotely from a Windows server running MQ v6.0 to an HPUX server. There are two qmanagers on the HPUX server. The saveqmgr runs successfully for one of them and for the other a message is placed in the DLQ with a not authorized - 2035 error.
I have checked the channels and authority so far. Does anyone have any suggestions?
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Dec 11, 2006 1:55 pm Post subject: |
|
|
Guest
|
Security rules (for your Windows username) on the target HPUX qmgr that fails appear to be different from the HPUX qmgr that doesn't fail.
This is not all that uncommon. Security rules are unique to each qmgr. |
|
Back to top |
|
 |
jeevan |
Posted: Mon Dec 11, 2006 9:03 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Is the mca user blan in the qmgr in whcih the saveqqmgr failed?
( issue dis challen( channelname) MCAUSER command in runmqsc shell)
is the users allowed to browse the objects in the queue managers including the qmgr itself?
( check with dspmqaut)
can you post the result of the above action.
thanks |
|
Back to top |
|
 |
jwendorf |
Posted: Tue Dec 12, 2006 6:20 am Post subject: |
|
|
Acolyte
Joined: 15 May 2001 Posts: 63 Location: Madison, WI
|
Here is the channel info for the two channels. The saveqmgr fails for the first one and runs fine for the second.
AMQ8414: Display Channel details.
CHANNEL(NHQUP1QM.TO.NHQXI0QM) CHLTYPE(SVR)
ALTDATE(2006-09-29) ALTTIME(11.11.26)
BATCHHB(0) BATCHINT(0)
BATCHSZ(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(NHQXI0QM(2600))
CONVERT(NO) DESCR( )
DISCINT(300) HBINT(300)
KAINT(AUTO) LOCLADDR( )
LONGRTY(9999999) LONGTMR(1200)
MAXMSGL(4194304) MCANAME( )
MCATYPE(PROCESS) MCAUSER( )
MODENAME( ) MONCHL(OFF)
MSGDATA( ) MSGEXIT( )
NPMSPEED(FAST) PASSWORD( )
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SEQWRAP(999999999) SHORTRTY(10)
SHORTTMR(60) SSLCAUTH(REQUIRED)
SSLCIPH( ) SSLPEER( )
STATCHL(OFF) TPNAME( )
TRPTYPE(TCP) USERID( )
XMITQ(NHQXI0QM)
AMQ8414: Display Channel details.
CHANNEL(NHQUP1QM.TO.NHQXI1QM) CHLTYPE(SVR)
ALTDATE(2006-09-29) ALTTIME(11.11.26)
BATCHHB(0) BATCHINT(0)
BATCHSZ(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(NHQXI1QM)
CONVERT(NO) DESCR( )
DISCINT(300) HBINT(300)
KAINT(AUTO) LOCLADDR( )
LONGRTY(9999999) LONGTMR(1200)
MAXMSGL(4194304) MCANAME( )
MCATYPE(PROCESS) MCAUSER( )
MODENAME( ) MONCHL(OFF)
MSGDATA( ) MSGEXIT( )
NPMSPEED(FAST) PASSWORD( )
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SEQWRAP(999999999) SHORTRTY(10)
SHORTTMR(60) SSLCAUTH(REQUIRED)
SSLCIPH( ) SSLPEER( )
STATCHL(OFF) TPNAME( )
TRPTYPE(TCP) USERID( )
XMITQ(NHQXI1QM)
I check and the user is allowed to browse the objects in the queue managers including the qmgr itself. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 12, 2006 6:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are the permissions for the user different in any way between the two queue managers?
You can use amqoamd or dmpmqaut to find out all permissions for the user on all objects.
Are the queue managers different in any way? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jwendorf |
Posted: Tue Dec 12, 2006 7:46 am Post subject: |
|
|
Acolyte
Joined: 15 May 2001 Posts: 63 Location: Madison, WI
|
I ran a trace on the HP server for when each saveqmgr ran on the Windows server. For the one that works the userid is as I would expect it. but for the one that doesn't work the same userid is translated to uppercase. The channels have no exit and the mcauser is blank for both. |
|
Back to top |
|
 |
|