Author |
Message
|
ms_mq |
Posted: Thu Jan 31, 2008 4:29 am Post subject: MQ problems on solaris |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Hi all,
Iam running mq on a solaris box. The server had some hardware problems and it crashed . The server is restored now.
Now, when i try to start the queue manager , it is not running .
It is not recognizing the mq commands.
$ dspmq
ksh: dspmq: not found
$ runmqsc
ksh: runmqsc: not found
The MQ install files looks ok . Please advise. _________________ Regards,
MS |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Jan 31, 2008 4:32 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
The AMQ error log shows -#
----- amqrimna.c : 859 -------------------------------------------------------
31/01/08 12:26:31 PM
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.
------------------------------------------------------------------------------
Please advise. _________________ Regards,
MS |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 31, 2008 4:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'd say that the server wasn't restored properly.
Is /usr/bin on your path? Are there links in there for the MQ commands, that point to .. I think it's /opt/mqm/bin on Solaris? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 31, 2008 4:33 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Do you find any commands from any of your other installed products? Is your environment set up correctly? |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Jan 31, 2008 5:06 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Yes,thanks. The /usr/bin did not have the amq* files . Now, they have been restored.
Can you please advise what environment variables should i check?
Where it is located ?
Please advise. _________________ Regards,
MS |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Jan 31, 2008 5:11 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Now, when i give the commands,
dspmq ,it get the error as follows :
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.
AMQ7047 _________________ Regards,
MS |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 31, 2008 5:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You should be aware that, if the backup was taken while the queue manager was running, you may not have a working configuration.
You may have lost messages, even if you are using linear logging. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 31, 2008 5:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'd say, again, that your server team has not restored this machine properly.
You probably want to a) re-install MQ, b) recreate the queue manager, c) take this as a learning experience and figure out how to properly back up and restore a WMQ system. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Jan 31, 2008 5:22 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Thanks Jeff.
So, what should be done to make the queue manager working?
Please advise. _________________ Regards,
MS |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 31, 2008 6:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ms_mq wrote: |
Now, when i give the commands,
dspmq ,it get the error as follows :
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.
AMQ7047 |
Is your machine using Solaris zones?
I've seen this error where the NLSPATH variable isn't set properly because the /usr path isn't where it's supposed to be when you use zones. This also causes the "not found" errors for the WMQ commands because /usr/bin isn't where you think it is.
(If you want more details, look at the IBM site & the Hursley blog. If you understand it fully please post it as I'd be very, very interested!!!)
Anyway, check the .profile of your mqm user. It sounds like whatever "backup" was taken hasn't included all the relevent files and file systems. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Jan 31, 2008 9:58 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Hi All,
Thanks for your responses. The issue is resolved now after the links were restored back on /usr/bin and /usr/lib dirs.Thanks once again. _________________ Regards,
MS |
|
Back to top |
|
 |
|