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 IndexGeneral IBM MQ SupportFile '/qm.ini' missing

Post new topicReply to topic
File '/qm.ini' missing View previous topic :: View next topic
Author Message
ammx
PostPosted: Wed Sep 13, 2017 7:28 pm Post subject: File '/qm.ini' missing Reply with quote

Newbie

Joined: 08 Sep 2017
Posts: 9

Hi

I have a MQ Server version 7.5.0.7(Linux) and I am trying to start a queue manager(QMBMST) with: strmqm QMBMST, but every time I try to do that it shows me an error that says:

"AMQ6237: File '/qm.ini' missing.
AMQ7001: The location specified for the queue manager is not
valid."

I investigated this error code and it says that the solution for this is to manually update the /var/mqm/mqs.ini to include the HACMP queue manager configuration stanza. But I have no idea how to do this.

Thanks in advance
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Sep 13, 2017 11:35 pm Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5520
Location: UK

HACMP is not used on Linux.

Is this a HA or MI cluster of some kind? If so check out the dspmqinf and addmqinf commands.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
vinay.gollapalli
PostPosted: Thu Sep 14, 2017 2:23 am Post subject: Re: File '/qm.ini' missing Reply with quote

Novice

Joined: 22 Aug 2017
Posts: 12

Is the file not got created during the creation of qmgr ?
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Sep 14, 2017 4:03 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1722
Location: Melbourne, Australia

Is there a stanza in /var/mqm/mqs.ini for the qmgr?
The Directory and Prefix / DataPath settings indicate where the qmgr's directory will be. There must be a valid qm.ini file that directory.

eg.
QueueManager:
Name=MQGLENN1
Prefix=/var/mqm
Directory=MQGLENN1
InstallationName=Installation1

File is /var/mqm/qmgrs/MQGLENN1/qm.ini

If the file is not there, you make need to restore from backup, or recreate the qmgr. This file should not ever go missing!
_________________
Glenn
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Sep 15, 2017 3:10 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17446

To add in some information, at least for other users.

With a multi-instance queue manager, all of the information about the queue manager (including messages) is mounted on disk that is active on both machines hosting the MI queue manager.

With a more traditional HA queue manager, all of the information about the queue manage (including messages) is mounted on disk that is only active on one machine at a time.

Shared disk versus non-shared disk.

If you have configured both machines such that the type of queue manager - MI or not - is using the wrong disk (non-shared for MI, shared for HA), then it won't work.

And you could see failures saying that the qm.ini doesn't exist.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
ammx
PostPosted: Tue Sep 19, 2017 3:23 pm Post subject: Reply with quote

Newbie

Joined: 08 Sep 2017
Posts: 9

Hi

The stanza was indeed on the path /var/mqm/mqs.ini

Thanks for your help
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Sep 19, 2017 5:02 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1722
Location: Melbourne, Australia

mqs.ini might might be pointing to a qmgr's data path that is not currently online (eg. passive node of HA clustered qmgr, MIQM shared nfs failure). dspmq command should show the qmgr as STATUS(Status not available).
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportFile '/qm.ini' missing
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.