Author |
Message
|
ammx |
Posted: Wed Sep 13, 2017 7:28 pm Post subject: File '/qm.ini' missing |
|
|
Acolyte
Joined: 08 Sep 2017 Posts: 50
|
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 |
|
 |
zpat |
Posted: Wed Sep 13, 2017 11:35 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
vinay.gollapalli |
Posted: Thu Sep 14, 2017 2:23 am Post subject: Re: File '/qm.ini' missing |
|
|
Novice
Joined: 22 Aug 2017 Posts: 22
|
Is the file not got created during the creation of qmgr ? |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Sep 14, 2017 4:03 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
mqjeff |
Posted: Fri Sep 15, 2017 3:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
ammx |
Posted: Tue Sep 19, 2017 3:23 pm Post subject: |
|
|
Acolyte
Joined: 08 Sep 2017 Posts: 50
|
Hi
The stanza was indeed on the path /var/mqm/mqs.ini
Thanks for your help |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Sep 19, 2017 5:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
|