Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Paul Clarke

Bob,

I have not heard of this problem before. The two questions thar spring to
mind are :-

1/ What *is* the access settings 'ls -l' of  the AMQERR03.LOG file ? I
would have thought it should be public read/write

2/  What is runmqst ? Have you copied and renamed runmqsc. Have you set any
odd permissions on this file; is it setuid ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Fruncillo, Bob

Paul,

Here is a display of /var/mqm/errors:

$ ls -ltr
total 196
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR02.LOG
-rw-r-   1 mqmmqm  94621 Jul  2 17:45 AMQ11344.0.FDC
-rw-rw-rw-   1 mqmmqm   4973 Jul  2 17:49 AMQERR01.LOG

Here is a display fo the runmqst in /tmp - you are right - it is a copy of
runmqsc:
-rwxr-xr-x   1 srinivas   ngdev28672 Jul  1 15:40 runmqst

I have reinstalled mq to 5.2 base. I thought maybe it had something to do
with CSD04 - same results. I know it has something to do with permissions on
the box - just can't figure out what it is. We do the same exact thing
another hp/ux v11 box which is at 5.2 csd04 - no problems. I have the unix
admins looking at the user's id.

Thanks for your time

Bob
DB


-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 4:51 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


Bob,

I have not heard of this problem before. The two questions thar spring to
mind are :-

1/ What *is* the access settings 'ls -l' of  the AMQERR03.LOG file ? I
would have thought it should be public read/write

2/  What is runmqst ? Have you copied and renamed runmqsc. Have you set any
odd permissions on this file; is it setuid ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Rick Tsujimoto

Bob,

Just out of curiosity.  Why would you want to create copies of runmqsc?




  Fruncillo, Bob
  FruncilloB@DNB. To:  [EMAIL PROTECTED]
  COM cc:
  Sent by: Subject: Re: runmqst - amq6119 - 
permission denied
  MQSeries List
  MQSERIES@AKH-Wi
  en.AC.AT


  07/03/2002 08:31
  AM
  Please respond
  to MQSeries List





Paul,

Here is a display of /var/mqm/errors:

$ ls -ltr
total 196
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR02.LOG
-rw-r-   1 mqmmqm  94621 Jul  2 17:45 AMQ11344.0.FDC
-rw-rw-rw-   1 mqmmqm   4973 Jul  2 17:49 AMQERR01.LOG

Here is a display fo the runmqst in /tmp - you are right - it is a copy of
runmqsc:
-rwxr-xr-x   1 srinivas   ngdev28672 Jul  1 15:40 runmqst

I have reinstalled mq to 5.2 base. I thought maybe it had something to do
with CSD04 - same results. I know it has something to do with permissions
on
the box - just can't figure out what it is. We do the same exact thing
another hp/ux v11 box which is at 5.2 csd04 - no problems. I have the unix
admins looking at the user's id.

Thanks for your time

Bob
DB


-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 4:51 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


Bob,

I have not heard of this problem before. The two questions thar spring to
mind are :-

1/ What *is* the access settings 'ls -l' of  the AMQERR03.LOG file ? I
would have thought it should be public read/write

2/  What is runmqst ? Have you copied and renamed runmqsc. Have you set any
odd permissions on this file; is it setuid ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Paul Clarke

Paul,

Here is a display of /var/mqm/errors:

$ ls -ltr
total 196
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR02.LOG
-rw-r-   1 mqmmqm  94621 Jul  2 17:45 AMQ11344.0.FDC
-rw-rw-rw-   1 mqmmqm   4973 Jul  2 17:49 AMQERR01.LOG

Here is a display fo the runmqst in /tmp - you are right - it is a copy of
runmqsc:
-rwxr-xr-x   1 srinivas   ngdev28672 Jul  1 15:40 runmqst

I have reinstalled mq to 5.2 base. I thought maybe it had something to do
with CSD04 - same results. I know it has something to do with permissions
on
the box - just can't figure out what it is. We do the same exact thing
another hp/ux v11 box which is at 5.2 csd04 - no problems. I have the unix
admins looking at the user's id.

Thanks for your time

Bob
DB

Bob,

I could have sworn the AMQERR03.LOG file you were failing to access was a
Queue Manager log file not the one in /var/mqm/errors. Having seen your
runmqst program this would explain it. If runmqst is a 'copy' of runmqsc
you need to setuid runmqst to mqm or, in theory, run runmqst with a userid
which is in the mqm group.

To be honest security is not my forte but you if you look at the file
permissions of the log file it should make sense.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Fruncillo, Bob

We let our off-shore developers use it for displays on development boxes. It
does save us from some off-hour calls.

-Original Message-
From: Rick Tsujimoto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:16 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


Bob,

Just out of curiosity.  Why would you want to create copies of runmqsc?




  Fruncillo, Bob
  FruncilloB@DNB. To:
[EMAIL PROTECTED]
  COM cc:
  Sent by: Subject: Re: runmqst -
amq6119 - permission denied
  MQSeries List
  MQSERIES@AKH-Wi
  en.AC.AT


  07/03/2002 08:31
  AM
  Please respond
  to MQSeries List





Paul,

Here is a display of /var/mqm/errors:

$ ls -ltr
total 196
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR02.LOG
-rw-r-   1 mqmmqm  94621 Jul  2 17:45 AMQ11344.0.FDC
-rw-rw-rw-   1 mqmmqm   4973 Jul  2 17:49 AMQERR01.LOG

Here is a display fo the runmqst in /tmp - you are right - it is a copy of
runmqsc:
-rwxr-xr-x   1 srinivas   ngdev28672 Jul  1 15:40 runmqst

I have reinstalled mq to 5.2 base. I thought maybe it had something to do
with CSD04 - same results. I know it has something to do with permissions
on
the box - just can't figure out what it is. We do the same exact thing
another hp/ux v11 box which is at 5.2 csd04 - no problems. I have the unix
admins looking at the user's id.

Thanks for your time

Bob
DB


-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 4:51 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


Bob,

I have not heard of this problem before. The two questions thar spring to
mind are :-

1/ What *is* the access settings 'ls -l' of  the AMQERR03.LOG file ? I
would have thought it should be public read/write

2/  What is runmqst ? Have you copied and renamed runmqsc. Have you set any
odd permissions on this file; is it setuid ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Fruncillo, Bob

Paul,

Right on all counts! The error in the FDC was on the following:

$ cd /var/mqm/qmgrs/QMGR!EMF1/errors
$ ls -ltr
total 208
-rw-rw-rw-   1 mqmmqm  0 Jul  2 14:46 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 14:46 AMQERR02.LOG
-rw-rw-rw-   1 mqmmqm  98019 Jul  3 05:54 AMQERR01.LOG

I resolved this by doing as you said - putting the userid in the mqm group.

Thanks for your time

Bob

-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


Paul,

Here is a display of /var/mqm/errors:

$ ls -ltr
total 196
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR03.LOG
-rw-rw-rw-   1 mqmmqm  0 Jul  2 17:44 AMQERR02.LOG
-rw-r-   1 mqmmqm  94621 Jul  2 17:45 AMQ11344.0.FDC
-rw-rw-rw-   1 mqmmqm   4973 Jul  2 17:49 AMQERR01.LOG

Here is a display fo the runmqst in /tmp - you are right - it is a copy of
runmqsc:
-rwxr-xr-x   1 srinivas   ngdev28672 Jul  1 15:40 runmqst

I have reinstalled mq to 5.2 base. I thought maybe it had something to do
with CSD04 - same results. I know it has something to do with permissions
on
the box - just can't figure out what it is. We do the same exact thing
another hp/ux v11 box which is at 5.2 csd04 - no problems. I have the unix
admins looking at the user's id.

Thanks for your time

Bob
DB

Bob,

I could have sworn the AMQERR03.LOG file you were failing to access was a
Queue Manager log file not the one in /var/mqm/errors. Having seen your
runmqst program this would explain it. If runmqst is a 'copy' of runmqsc
you need to setuid runmqst to mqm or, in theory, run runmqst with a userid
which is in the mqm group.

To be honest security is not my forte but you if you look at the file
permissions of the log file it should make sense.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Paul Clarke

We let our off-shore developers use it for displays on development boxes.
It
does save us from some off-hour calls.

Bob,

So if I'm reading you right you've created a copy of the runmqsc command
but with lesser authority and you are surprised that when you run it you
get some permission failures. Is this correct ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: runmqst - amq6119 - permission denied

2002-07-03 Thread Fruncillo, Bob

Surprised noStupid YES!

-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: Re: runmqst - amq6119 - permission denied


We let our off-shore developers use it for displays on development boxes.
It
does save us from some off-hour calls.

Bob,

So if I'm reading you right you've created a copy of the runmqsc command
but with lesser authority and you are surprised that when you run it you
get some permission failures. Is this correct ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



runmqst - amq6119 - permission denied

2002-07-02 Thread Fruncillo, Bob

I have a user who is receiving an error trying to display a channel using a
copy of runmqsc renamed to runmqst. The user can display the queue manager
and a queue successfully. Here is a small copy of the FDC:



Host Name :- hp129 (HP-UX B.11.11)
PIDS  :- 5765B74
LVLS  :- 520
Product Long Name :- MQSeries for HP-UX
Vendor:- IBM
Probe Id  :- XC022001
Application Name  :- MQM
Component :- xcsDisplayMessageForSubpool
Build Date:- Nov  7 2000
CMVC level:- p000-L001106
Build Type:- IKAP - (Production)
UserID:- 0967 (srinivas)
Program Name  :- runmqst
Process   :- 00011344
QueueManager  :- QMGR!EMF1
Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC
Minor Errorcode   :- OK
Probe Type:- MSGAMQ6119
Probe Severity:- 2
Probe Description :- AMQ6119: An internal MQSeries error has occurred
  ('Permission denied' from open.)
Arith1:- 13 d
Comment1  :- 'Permission denied' from open.
MQM Function Stack
mqscMAIN
uscRunScript
uscRunCommand
uscRunIT
pcmInquireChannel
pcmSendNonDataReplyMsg
pcmSendReplyMsg
uscReply
uscConvertBadReturn
xcsDisplayMessageForSubpool
xcsFFST
uscRunIT rc=MQRCCF_COMMAND_FAILED
 uscReadData rc=Unknown(4)
uscGetCommand rc=Unknown(1)
 rrxOpenChannelDef rc=rrcE_FILE_ERROR
 pcmMapChannelReason
 pcmMapChannelReason rc=krcE_UNEXPECTED_ERROR
File Name
7f7f3170   2F766172  2F6D716D  2F716D67  72732F51/var/mqm/qmgrs/Q
7f7f3180   4D475221  454D4631  2F657272  6F72732FMGR!EMF1/errors/
7f7f3190   414D5145  52523033  2E4C4F47  AMQERR03.LOG


Has anyone seen this before?  I have users doing the same thing on two other
hp/ux v11 mq 5.2 boxes.

Thanks,

Bob F
DB

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive