Author |
Message
|
udayarveti |
Posted: Fri Feb 24, 2017 4:03 am Post subject: Broker not starting up as an MQService |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
Hello Experts,
I am facing issue when trying to start the broker as an when queue manager is started (on AIX).
IIB installation done using "tstiibad" user added to mqm and mqbrkrs group
MQ installation done using "root" user
mqm user is part of mqm group alone.
Work done so far:
I have installed IIB (10.0.0.7) on file system (GPFS) where in installation location is "/shared/iib". IIB config or repos lives on "/shared/tstiibad/iibconfig"
MQ installation is done local to be AIX machine (/usr/mqm). However queue manager data will be on shared file system i.e., /shared/mqdata (modified mqsi.ini).
Steps:
Created a queue manager i.e., TEST using "crtmqm TEST"
Started the queue manager test.
Created broker (i.e., TESTBRK) but unable to start it.
Error:
In /var/mqm/errors/AMQ11403412.0.FDC
Unable to open specified file "/shared/testiibad/iibconfig/common/log/TESTBRK.mqservice.log"
Permissions on file system:
$ ls -lart
total 128
drwxr-x--- 2 tstiibad mqbrkrs 512 Feb 15 11:07 wsrr
drwxr-x--- 7 tstiibad mqbrkrs 512 Feb 15 11:07 .
drwxr-x--- 2 tstiibad mqbrkrs 512 Feb 15 11:07 profiles
drwxr-x--- 2 tstiibad mqbrkrs 16384 Feb 22 11:19 errors
drwxr-x--- 13 tstiibad mqbrkrs 16384 Feb 22 13:04 ..
drwxr-x--- 2 tstiibad mqbrkrs 16384 Feb 23 15:42 locks
drwxr-x--- 2 tstiibad mqbrkrs 16384 Feb 24 14:29 log
$ pwd
/shared/tstiibad/iibconfig/common
$
Any help over this is much appreciated? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 24, 2017 5:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
add the mqm user to the mqbrkrs group. Log out and login again. Then bounce the qmgr  _________________ MQ & Broker admin |
|
Back to top |
|
 |
udayarveti |
Posted: Fri Feb 24, 2017 6:59 am Post subject: |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
fjb_saper wrote: |
add the mqm user to the mqbrkrs group. Log out and login again. Then bounce the qmgr  |
Have tried with that...it doesn't work...
Any more ideas? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 24, 2017 9:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
... are you using an MQ Service to start the broker?
I think there's something that will just create and add that for you...
But you might need to write a shell script that did an su <user> <script to source mqsiprofile and then start broker> _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
udayarveti |
Posted: Fri Feb 24, 2017 10:02 pm Post subject: |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
mqjeff wrote: |
... are you using an MQ Service to start the broker?
I think there's something that will just create and add that for you...
But you might need to write a shell script that did an su <user> <script to source mqsiprofile and then start broker> |
I have already added mqsiprofile to user's profile file. So this should be fine I guess.
But does anyone know if there is any kind of restriction to start a broker as MQ service when the installation is done as a single user rather than making registry global or anything of that sort?
Even this is the same issue I have when trying to start a broker using multi-instance queue manager. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Feb 25, 2017 10:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
To be able to start a broker the userid needs to be a member of the mqbrkrs group.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
udayarveti |
Posted: Mon Feb 27, 2017 4:46 am Post subject: |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
fjb_saper wrote: |
To be able to start a broker the userid needs to be a member of the mqbrkrs group.  |
Is this the only pre-requisite?
Are there any more with respect to installations done on file systems? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 27, 2017 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
udayarveti wrote: |
fjb_saper wrote: |
To be able to start a broker the userid needs to be a member of the mqbrkrs group.  |
Is this the only pre-requisite?
Are there any more with respect to installations done on file systems? |
Well obviously you'd also need to have sourced mqsiprofile... and have the queue manager and the broker's file systems available...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|