When a script file is started from the
system init, the user "root" was not part of the mqm and mqbrkrs groups
but when the same functions were called manually by user "root"
then "root" belonged to those groups. Make sure that user root belonged to
the
mqm and mqbrkrs groups.
Other Hint and Tips on the MQ return code MSGS0101E:
Based on return code of MQ, MQ system administration documentation
have the following information: "User Not Authorized" error.
Usually this code is returned by rcdmqimg (record media image). The
function of this
command is to write an image of an object, or group of objects, to
the log for use in media recovery. Use the associated command rcrmqobj
to recreate the object from the image. You use this command with an active
queue manager. Further activity on the queue manager is logged so that,
although the image becomes out of date,the log records reflect any changes
to the object.
This return code shows even though WAS security is not enabled.
More on exit code:119 ( on NT platform)
The system does not support the command requested. ERROR_BAD_DRIVER_LEVEL.
This can happen when people failed to create the appropriate entries in
the groups mqm and mqbrkrs. It is associated with an MQ - AMQ7077: You are
not authorized to perform the requested operation. Make sure you have
right userid in those groups.
|