Author |
Message
|
Sam Uppu |
Posted: Fri Jun 05, 2009 10:59 am Post subject: QMgr creation error while upgrading MQ from version 6 to 7 |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
Hi Guys,
OS: SOlaris x86
We were on MQ version 6.0.2.3 and migrating to version 7.0.0.1.
There are 2 user ids: app1 & app2 in the mqm group.
The MQ objects are created with the id: app1.
When the app1 is trying to create the QMgr, we are facing the below error:
crtmqm QM1 "
WebSphere MQ queue manager created.
Creating or replacing default objects for QM1.
Default objects statistics : 13 created. 0 replaced. 45 failed.
For details of the failures that occurred, please check AMQERR01.LOG.
Completing setup.
Setup completed
When I start the Qmgr, its starting but I dont see any default objects and its not allowing me create any of the MQ objects with RUNMQSC.
DEFINE LISTENER(TEST) TRPTYPE(TCP) PORT(1417) CONTROL(QMGR)
3 : DEFINE LISTENER(TEST) TRPTYPE(TCP) PORT(1417) CONTROL(QMGR)
AMQ8147: WebSphere MQ object TEST not found.
DIS CHL(*)
1 : DIS CHL(*)
AMQ8147: WebSphere MQ object * not found.
I looked into the FDCs, its saying MQ internal problem occured....UNKNOWN_OBJECT
The error: AMQERR01.LOG is saying MQ internal error occured and contact IBM.
whereas when we create the same QMgr - QM1 with the id: app2(which is also in mqm group), we are able to create the Qmgr successfully.
Do you guys ever had this issue before.
Please share your thoughts.
Thanks. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Jun 07, 2009 8:15 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
hmm... what does the system log say..
just a try - after creating start queue manager with strmqm -c (this will recreate default objects)... _________________ Cheers |
|
Back to top |
|
 |
gunter |
Posted: Sun Jun 07, 2009 11:22 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
Is mqm the primary group? _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
Sam Uppu |
Posted: Mon Jun 08, 2009 11:53 am Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
The server has resources restrictions on user-app1 in the /etc/project file for the app1 user id for shared memory(~700 meg).
When we remove the shared memory restriction on the user: app1 in /etc/project, the queue manamger is successfully started and all the objects are created successfully.
According to solaris quick beginning guide:
projects -l
If you do not already have a group.mqm project defined, enter the following
command:
projadd -c "WebSphere MQ default settings"
-K "process.max-file-descriptor=(basic,10000,deny)"
-K "project.max-shm-memory=(priv,4GB,deny)"
-K "project.max-shm-ids=(priv,1024,deny)"
-K "project.max-sem-ids=(priv,1024,deny)" group.mqm
This we dont have right now and we will implement this change. This is applicable to solaris 10. we recently migrated from solaris 9 to 10 and as solaris 10 uses zones and we have to allocate the project: group.mqm for MQ to manage system resources for MQ.
Thanks. |
|
Back to top |
|
 |
gunter |
Posted: Tue Jun 09, 2009 12:08 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
If you start a queuemanager with an user not mqm, you need ressources for the primary group of this user. If it is not mqm, group.mqm will not be used. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Tue Jun 09, 2009 9:57 pm Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
gunter wrote:
Quote: |
If you start a queuemanager with an user not mqm, you need ressources for the primary group of this user . If it is not mqm, group.mqm will not be used |
group.mqm project is a prerequsite for the mq on Sorlais 10 and need to be defined.
Cheers,
Aditya |
|
Back to top |
|
 |
gunter |
Posted: Tue Jun 09, 2009 11:08 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
Quote: |
group.mqm project is a prerequsite for the mq on Sorlais 10 and need to be defined. |
Only if mqm starts the queuemanager. It doesn't help if the queuemanager will bbe started by a user with an other primary group.
If you do not believe it, try it. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 10, 2009 7:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
gunter wrote: |
Quote: |
group.mqm project is a prerequsite for the mq on Sorlais 10 and need to be defined. |
Only if mqm starts the queuemanager. It doesn't help if the queuemanager will bbe started by a user with an other primary group.
If you do not believe it, try it. |
You mean to say that the permissions and ownership for crtmqm are not
r-sr-s--- mqm:mqm ??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Wed Jun 10, 2009 9:04 pm Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
gunter wrote:
Quote: |
It doesn't help if the queuemanager will bbe started by a user with an other primary group |
You should perform MQ adminsitration task using mqm id only.
Which user id used while creating queue manager at your end?
Cheers,
Aditya |
|
Back to top |
|
 |
gunter |
Posted: Thu Jun 11, 2009 12:33 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
Quote: |
You mean to say that the permissions and ownership for crtmqm are not
r-sr-s--- mqm:mqm ?? |
No!!! MQ ist installed and permissions are not changed. If you start a process it gets the ressources from the starting user ( user + primary group). If the effective userid or groupid of the process changes because of setuid or setguid, it doesn't change the ressources.
Aditya wrote: |
You should perform MQ adminsitration task using mqm id only.
|
I agree!!!
Aditya wrote: |
Which user id used while creating queue manager at your end? |
It's unimportend which user created the queuemanager, it's only important which user started the queuemanager. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
Sam Uppu |
Posted: Tue Jun 16, 2009 12:59 pm Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
I was looking into this script provided by IBM in setting up OS resources on a Unix server: http://www-01.ibm.com/support/docview.wss?uid=swg21271236
Not sure whether this script just compares the Quick beginnings recommendations vs settings on the server?. When do we need to execute the script?. just during the qmgr is running or when there is heavy load processing on this qmgr?.
If you guys already came across this script, please share your thoughts.
Thanks. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jun 16, 2009 1:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
We run that script before installing MQ on any UNIX server, after giving the server admin our requirements. If it doesn't report 100% OK, we tell the server admin he has to fix the settings.
Nowadays it always reports 100% OK. We got our requirments doc where it needs to be. But when we first saw this script and ran it against some older servers, it did highlight potential problems that we then fixed. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|