ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ problems on solaris

Post new topic  Reply to topic
 MQ problems on solaris « View previous topic :: View next topic » 
Author Message
ms_mq
PostPosted: Thu Jan 31, 2008 4:29 am    Post subject: MQ problems on solaris Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Thu Jan 31, 2008 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 31, 2008 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Thu Jan 31, 2008 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ms_mq
PostPosted: Thu Jan 31, 2008 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Thu Jan 31, 2008 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 31, 2008 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 31, 2008 5:21 am    Post subject: Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Thu Jan 31, 2008 5:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Jan 31, 2008 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Thu Jan 31, 2008 9:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ problems on solaris
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.