|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Catalog not found error |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Thu Sep 04, 2008 3:43 pm Post subject: Message Catalog not found error |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I am having message catalog not found problem. When I googled, i found this:
Problem(Abstract)
You install WebSphere® MQ on a Linux® zSeries® server and the installation appears to work successfully, however, you get errors when trying to create the default Queue Manager.
Symptom
root@linuxc:/tmp > crtmqm -q venus.queue.manager
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.
Cause
You have created a mounted directory for /usr/locale sub-directories. A system trace shows that MQ is having permissions (EACCES) problems accessing this mounted directory.
Diagnosing the problem
There are a couple of environment variables that determine where we look for this amq.cat file. These environment variables are LANG and NLSPATH.
For example check :
/usr/share/locale/en_US/LC_MESSAGES/link to amq.cat
and
/usr/share/locale/C/LC_MESSAGES/amq.cat
Resolving the problem
MQ error messages are stored in a file called amq.cat. Make sure MQ has access to the directories where amq.cat is located.
Also, please check the permissions and ownership of both of those directories and files. The link should have full permissions. The real file should allow at least read permissions.
When crtmqm cannot open the message catalog, in /usr/share/locale, it will try in the working directory. As a circumvention, you can try copying amq.cat into the directory from which you run crtmqm, making sure root can open it from there and then try running crtmqm again.
However, when I check in my running systems, I did not see en_US under /usr/share/locale/ folder.
Any idea?
thanks |
|
Back to top |
|
 |
jeevan |
Posted: Thu Sep 04, 2008 3:54 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I am having problem in the system where the MQ is restored. But as I said, I even did not see the en_US directory in the production systems where the image is taken for DR excercise purpose. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 04, 2008 4:37 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
I am having problem in the system where the MQ is restored. But as I said, I even did not see the en_US directory in the production systems where the image is taken for DR excercise purpose. |
Do not restore MQ from system A to system B. MQ is tied into the userid/groupid at the number level not the name level. So if your group name is the same but your grpid is different you are SOL.
You can restore the DATA part of MQ. As for the program part you may be better off reinstalling it.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Fri Sep 05, 2008 7:20 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
fjb_saper wrote: |
jeevan wrote: |
I am having problem in the system where the MQ is restored. But as I said, I even did not see the en_US directory in the production systems where the image is taken for DR excercise purpose. |
Do not restore MQ from system A to system B. MQ is tied into the userid/groupid at the number level not the name level. So if your group name is the same but your grpid is different you are SOL.
You can restore the DATA part of MQ. As for the program part you may be better off reinstalling it.  |
Sorry for not being clear in my previous mail. I have two questions:
Our DR practice is that the unix part o of the MQ is restored. As this is for DR purpose, there will be everything same.
My question is : is that a good practice or rebuilding the whole is better as the most time taking is the mq installation. building the objects does not take long as we have definition of the object uptodate.
My second question is realted to language catalog. I have problem in the restored systems, but when I check in the running system, I could not find even the directory en_US under the /usr/share/locale.
The directories and contents in the running systems and the restored systems are the same however, I am getting the annyoing catalog not found error in the restored system. Any idea what might have happened? |
|
Back to top |
|
 |
jeevan |
Posted: Fri Sep 05, 2008 8:23 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
jeevan wrote: |
fjb_saper wrote: |
jeevan wrote: |
I am having problem in the system where the MQ is restored. But as I said, I even did not see the en_US directory in the production systems where the image is taken for DR excercise purpose. |
Do not restore MQ from system A to system B. MQ is tied into the userid/groupid at the number level not the name level. So if your group name is the same but your grpid is different you are SOL.
You can restore the DATA part of MQ. As for the program part you may be better off reinstalling it.  |
Sorry for not being clear in my previous mail. I have two questions:
Our DR practice is that the unix part o of the MQ is restored. As this is for DR purpose, there will be everything same.
My question is : is that a good practice or rebuilding the whole is better as the most time taking is the mq installation. building the objects does not take long as we have definition of the object uptodate.
My second question is realted to language catalog. I have problem in the restored systems, but when I check in the running system, I could not find even the directory en_US under the /usr/share/locale.
The directories and contents in the running systems and the restored systems are the same however, I am getting the annyoing catalog not found error in the restored system. Any idea what might have happened? |
Sorry, I took linux directory thinking it uses the same directories. But solaris uses diff directory.
/usr/lib/locale/C/LC_MESSAGES/amq.cat
Japanese language example:
/usr/lib/locale/ja/LC_MESSAGES/amq.cat
/usr/lib/locale/ja_JP.PCK/LC_MESSAGES/amq.cat
/usr/lib/locale/ja_JP/LC_MESSAGES/amq.cat
I found the file mission.
thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|