is there any chance that "root" was specified as your ServiceUseriD when the broker was created?
No the user Id was mqsifire.
I've found the reason - the mqsistart.bin issues an
Code:
getuid() = 30001 [30001]
seteuid(0) Err#1 EPERM
Now when the seteuid(0) fails it continues and starts the broker under the ID you are running as. Presumably this code is there so if the seteuid(0) worked the broker will be started under the ServiceUserId.
That the ServiceUserId and Password is ingored normally can be shown by creating a broker with a non existing Id and then starting it:
Code:
$ mqsicreatebroker SLJ4 -i invalid -a invalid -q SLJ4 -n WBRKBKDB -u Secret -p secret
AMQ8110: WebSphere MQ queue manager already exists.
WebSphere MQ queue manager running.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
BIP8071I: Successful command completion.
$ mqsistart SLJ4
WebSphere MQ queue manager running.
BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem.
Indeed any user in group mqm and mqbrkrs with acess to the working directory and the right environment can start the broker and it will then run under that user ID:
Code:
$ id
uid=1009(mqm) gid=145(mqm)
$ . ./.profile
MQSI 6.0.0.0
/opt/IBM/mqsi/6.0
$ mqsistart SLJ4
WebSphere MQ queue manager running.
BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem.
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