Author |
Message
|
kishoreavk32 |
Posted: Sun Jul 05, 2009 11:07 pm Post subject: MQSI Command console |
|
|
Novice
Joined: 11 Sep 2008 Posts: 22
|
Hi ALL..,
I am getting this error while using mqsi commands...,
error is : " Make sure that the message catalog is available and that the mqsi response is in the message catalog. If the problem continues contact your IBM support centre."
Operating System: Windows only.
please Help me on this. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Sun Jul 05, 2009 11:48 pm Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
Hi,
Pls check whether "messages" folder inside MQSI runtime folder("C:\Program Files\IBM\MQSI\6.104") is installed properly . That folder contains the "message catalog" files.
If it is not installed properly somehow it is possible that other runtime files would also have not installed properly, So my suggestion is to repair/reinstall your broker runtime.
Thanks,
Venkatesh |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 06, 2009 1:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nvenkatesh wrote: |
So my suggestion is to repair/reinstall your broker runtime. |
I'd make sure mqsiprofile had been run in the shell in which you're running the commands first. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Mon Jul 06, 2009 2:15 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
True. As the title says "MQSI Command Console" I assumed he has run those commands on a MQSI command console.
If that is not the case we have to check mqsiprofile has been run before running the commands as you said. But in the new versions it clearly points as below when I tried to run mqsilist from the standard windows command line without running mqsiprofile.
C:\Program Files\IBM\MQSI\6.104\bin>mqsilist
The user environment was not adequately prepared to continue execution. Locate a
nd run the profile supplied with the product. This file is called mqsiprofile.cm
d, and is located in the bin subdirectory for the product.
Thanks,
Venkatesh |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 06, 2009 2:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nvenkatesh wrote: |
But in the new versions it clearly points as below when I tried to run mqsilist from the standard windows command line without running mqsiprofile.
|
- we don't know what version the poster is running
- we don't know that the mechanism you highlight is foolproof
- it's a quick and simple check that takes 10 seconds before spending hours reinstalling stuff. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Mon Jul 06, 2009 3:00 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
Quote: |
- it's a quick and simple check that takes 10 seconds before spending hours reinstalling stuff. |
I never said we dont have to check this and proceed with the repair/uninstallation directly.
Quote: |
we don't know that the mechanism you highlight is foolproof |
I renamed the "messages" folder to "messages1" in the MQSI runtime folder and tried to run the mqsilist for which I got the below o/p.
C:\Program Files\IBM\MQSI\6.104>mqsilist
Make sure that the message catalog is available and that the mqsi response is in
the message catalog. If the problem continues contact your IBM support centre.
Make sure that the message catalog is available and that the mqsi response is in
the message catalog. If the problem continues contact your IBM support centre.
Make sure that the message catalog is available and that the mqsi response is in
the message catalog. If the problem continues contact your IBM support centre.
Make sure that the message catalog is available and that the mqsi response is in
the message catalog. If the problem continues contact your IBM support centre.
Which is the same as given in this post. You can check this by yourself.
Thanks,
Venkatesh |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Mon Jul 06, 2009 3:04 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Venkatesh,
You may very well have hit the nail on the head with your diagnosis of the issue but Vitors point is to never assume anything and to ensure the basics are checked before offering advice to reinstall the broker. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Mon Jul 06, 2009 3:47 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
WMBDEV1/Vitor,
You are getting me wrong..
What I tried to suggest in my first reply is that IF AND ONLY IF you have a corrupted or missing "messages" folder, You should proceed for repair/reinstallation.. Am I right here or not?? Please correct me if I am wrong..
I didnt suggest repair/reinstallation for plain trivial errors..
Thanks,
Venkatesh |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 06, 2009 5:03 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nvenkatesh wrote: |
What I tried to suggest in my first reply is that IF AND ONLY IF you have a corrupted or missing "messages" folder, You should proceed for repair/reinstallation.. Am I right here or not?? Please correct me if I am wrong.. |
This is not wrong.
It's not very likely the source of the problem reported, however. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Mon Jul 06, 2009 5:53 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
Quote: |
It's not very likely the source of the problem reported, however |
But I could reproduce this same error if I renamed/moved "messages" folder(Please see my previous reply).
The issue as far as I could understand is that,
When a mqsi command finishes executing, Event codes are reported(Say bip8071) by the components. The proper corresponding response description("Successful command completion") for the code is fetched from the "messages" folder(available in BIPv610.properties, En_US\Messages.html, which are the catalog's I guess) and displayed on the screen. Now as the error clearly says,
Make sure that the message catalog is available and that the mqsi response is in
the message catalog. If the problem continues contact your IBM support centre.
It is clear that the command cannot fetch the description for those codes which means either those files are somehow corrupted or the component sent an unknown error code event which likely may not be the case. This also makes sense when you rename the messages folder and get the same error response.
Please let me know if there could be any other causes other than this.
Thanks,
Venkatesh |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 06, 2009 6:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The most likely cause is the one previously given. That the user did not execute the mqsi command in a shell environment that had the mqsiprofile applied to it. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Mon Jul 06, 2009 7:00 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
Quote: |
The most likely cause is the one previously given. That the user did not execute the mqsi command in a shell environment that had the mqsiprofile applied to it. |
From the term "shell environment", I assume you think the command is being executed in the UNIX environment. In which case I agree with you that mqsiprofile is most likely not put in the .profile(For e.g). But the user mentions his environment as Windows here. I think its very unlikely that the windows users here will open a cmd.exe and go the MQSI folder and execute mqsi commands.
I will really agree that you are such a great mind reader in case that this windows user comes and says that he tried to execute the mqsi commands using cmd.exe and now that his problem was solved.
I didnt say that its not the cause. But if you had read the title of the post which says "MQSI Command Console", I and Everyone here believes that the user executed the commands on a MQSI Command Console.
And again if we stick to your view, if the mqsiprofile didnt get properly applied while opening the MQSI command console(FYI, it is started with cmd.exe /k mqsiprofile.cmd in windows), It means either there is problem with windows cmd.exe or mqsiprofile.cmd. Again the most likely case is the mqsiprofile.cmd which could have possibly been corrupted. And so we need a reinstall.
Thanks,
Venkatesh |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 06, 2009 8:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Every assumption you have made in that last post is incorrect, including your assumptions about my use of the word "shell" and your assumptions about what I do and do not know about how the Broker command environment is configured on Windows.
It is, in my long experience working with broker and here on mqseries.net, most likely that kishoreavk32 has indeed started up a windows command shell, using cmd.exe, and attempted to run mqsi commands without calling the mqsiprofile first.
A bad installation is still a possibility. And it's still a somewhat likely possibility. It is just *more* likely a simple user error. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 06, 2009 8:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nvenkatesh wrote: |
Again the most likely case is the mqsiprofile.cmd which could have possibly been corrupted. And so we need a reinstall.
|
It's far more likely not to have been run. And even on Windows you don't need a reinstall just to fix mqsiprofile. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 06, 2009 8:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nvenkatesh wrote: |
I and Everyone here believes that the user executed the commands on a MQSI Command Console.
|
Also don't tell me what I believe!
And you should try to offer advice based on what's posted, not what (often misleadingly) selected for a title. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|