Author |
Message
|
shanu |
Posted: Mon Sep 04, 2006 9:58 pm Post subject: MQ Series Migration |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
Hi All,
We have just migrated the MQSeries from one unix server to new one AIX.
We are getting following error while trying to execute the commands like
dspmq, strmqm,runmqsc etc.
Websphere MQ was unable to open a Message Catalog to display an error message for messag id hexadecimal %6, with inserts %1, %2, %3, %4 and %5.
Kindly let me know where we re missing.
Thankssssssssssss
Shanu |
|
Back to top |
|
 |
shanu |
Posted: Mon Sep 04, 2006 11:34 pm Post subject: The FDC file related to the error |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
No MQM Function Stack Available
+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tuesday September 05 12:28:23 PAKST 2006 |
| Host Name :- badar1 (AIX 5.2) |
| PIDS :- 5724B4101 |
| LVLS :- 530.7 CSD07 |
| Product Long Name :- WebSphere MQ for AIX |
| Vendor :- IBM |
| Probe Id :- XC006001 |
| Application Name :- MQM |
| Component :- xcsFreeMem |
| Build Date :- May 27 2004 |
| CMVC level :- p530-07-L040527 |
| Build Type :- IKAP - (Production) |
| UserID :- 00000245 (UNKNOWN) |
| Program Name :- crtmqm |
| Process :- 00041920 |
| Major Errorcode :- xecS_I_PRIVATE_MEMORY_ERROR |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6091 |
| Probe Severity :- 4 |
| Probe Description :- WebSphere MQ was unable to open a message catalog to |
| display an error message for message id hexadecimal %6, with inserts %1, |
| %2, %3, %4, and %5. |
| FDCSequenceNumber :- 1 |
| Arith1 :- 3735928559 deadbeef |
| Comment1 :- invalid head or tail tag |
| |
| |
+-----------------------------------------------------------------------------+
No MQM Function Stack Available
Head
deadbed0 00 .
deadbee0 00000000 00000000 00000000 000000 ............... |
|
Back to top |
|
 |
dgolding |
Posted: Tue Sep 05, 2006 12:09 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
When you say "migrated" did you just hoover everything up on one box and drop it on down on another? Or did you re-install MQ? Anyway, a good thing thing is to check is the value of NLSPATH - what is it?
HTH |
|
Back to top |
|
 |
shanu |
Posted: Tue Sep 05, 2006 12:44 am Post subject: |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
value of $NLSPATH
/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
We have copied the whole MQ installation folder and restored to a new server. The AIX UNIX version remains the same 5.2.
MQ Det.
Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production)
We haven't installed MQ in new server but restored the complete backup from the old server.
The /va/mqm has following details
conv errors exits log mqs.ini qmgrs tivoli trace
While other command files like dspmq, runmqsc,crtmqm are stored in /usr/mqm/bin path.
just mqver runs, while other display error like
WebSphere MQ was unable to open a message catalog to display an error message
for message id hexadecimal %6, with inserts %1, %2, %3, %4, and %5.
Waiting for ur response
Thankssss |
|
Back to top |
|
 |
dgolding |
Posted: Tue Sep 05, 2006 12:59 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Is there any problem with re-installing MQ on the new box? I do know that MQ records the inode number as a key for certain files (the IPC stuff springs to mind) and you can't just copy the whole directory structure onto another box unless you had a clean filesystem on both the old and new system. What's the purpose of the exercise - is this a DR test? |
|
Back to top |
|
 |
shanu |
Posted: Tue Sep 05, 2006 1:30 am Post subject: dspmq works now |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
After restoring below two files the dspmq works now.
-r--r--r-- bin bin /usr/lib/nls/msg/prime/amq.cat
-rwxr-xr-x bin bin /usr/lib/nls/msg/en_US/amq.cat
But another problem while trying to start queue manager is
$ strmqm QMPRD.UPK.APO.REG.MBK
AMQ7077: You are not authorized to perform the requested operation.
also when I tried to create it , got following error
$ strmqm QMPRD.UPK.APO.REG.MBK
AMQ7077: You are not authorized to perform the requested operation. |
|
Back to top |
|
 |
shanu |
Posted: Tue Sep 05, 2006 1:35 am Post subject: Logs generated in /var/mqm |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
MQ has attempted to display the message associated with return code hexadecimal
'893'. The return code indicates that there is no message text associated with
the message. Associated with the request are inserts 1 : -1 : realUID:245,
effectiveUID:245 : cannot set mqm uid : . |
|
Back to top |
|
 |
dgolding |
Posted: Tue Sep 05, 2006 1:38 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
This is turning out to be MQ 101.
Did you create the "mqm" user and group on this box and did you use the same UID and GID?
What are you logged in as - root or mqm?
Why are you doing this - system move or DR test?
Why can't you reinstall MQ?
Why don't you dump the configuration for the queue manager using "saveqmgr" and then recreate on the new box?
Last edited by dgolding on Tue Sep 05, 2006 3:10 am; edited 1 time in total |
|
Back to top |
|
 |
shanu |
Posted: Tue Sep 05, 2006 2:05 am Post subject: user mqm creation |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
Hi Master,
The user mqm and the group mqm both have been created and the MQADMIN user is under mqm group.
We will use the Installation as the last option. This activity is to add extra hardware to the server.
The AIX version remains the same.
Kindly suggest some ploy
Thanks a lot |
|
Back to top |
|
 |
dgolding |
Posted: Tue Sep 05, 2006 3:19 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
You need to answer ALL the questions:
How did you copy - using cp -pr, tar or TSM archive or what?
What user ID and group ID protects the /var/mqm and /usr/mqm directories?
Are you logged in or su'ed to root or mqm?
It really sounds like the copy went wrong. Do you do saveqmgr archives - if not, you should, but it's perhaps a bit too late now. Then you could recreate the queue manager and rejoin the cluster (if any). Also, as I said it's often quicker and cleaner to do a reinstall - when you do a lslpp -h mq.base.runtime what do you see? aren't you worried about getting the object catalogue out of sync, by doing a copy and not an install?
I'm still not clear - do you copy to a new location on the same box, or to another box?
What seemed to be the quickest way, just copy and drop, has turned out more complex - what would have been simpler would to have installed the software, recreated the queue manager and you would have been up and running in no time.
If you ARE copying to a different box, NOW would be a good time to get a saveqmgr backup of the original queue manager  |
|
Back to top |
|
 |
shanu |
Posted: Mon Sep 18, 2006 12:25 am Post subject: Answers |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
Sir
As I ran lslpp -h mq.base.runtime I got following error.
lslpp: 0504-132 Fileset mq.base.runtime not installed.
Does this give any clues. Let me know .
Also , I will just contact System Admin to get the answers to some of the questions put by u.
thanks a lot in adavence |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 18, 2006 2:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The product is not installed. If you are lucky the new install will not overwrite the /var/mqm directory structure. Basically you cannot copy from one machine to the other... you need to reinstall.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shanu |
Posted: Mon Sep 18, 2006 2:51 am Post subject: Migration |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
Master,
You mean to say the restoration of backup MQ will not work.
Thanks a lot |
|
Back to top |
|
 |
Philip Morten |
Posted: Mon Sep 18, 2006 6:52 am Post subject: Re: Migration |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
shanu wrote: |
Master,
You mean to say the restoration of backup MQ will not work.
Thanks a lot |
Apart from anything else you will not be able to apply any later PTFs, the PTF updates require the base product to have been correctly installed and registered in the ODM. The proper installation will check the user and group mqm, set up /var/mqm with the correct attributes, set up the message catalogs correctly, link executables and libraries to /usr/bin and 'lib, etc, etc.
You will need to re-install the base product and then reapply service to bring it up to the level you require ( PTFs are cumulative so you only need the most recent PTF ). _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 18, 2006 3:30 pm Post subject: Re: Migration |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
shanu wrote: |
Master,
You mean to say the restoration of backup MQ will not work.
Thanks a lot |
You should be able to restore /var/mqm from a backup. As for the product itself you will most probably have to reinstall...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|