Author |
Message
|
mitul |
Posted: Fri Jul 16, 2004 8:52 am Post subject: Not Able to create a QManager on HP-UX |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
I am not able to create a QMgr of the same name that was deleted earlier.
It prompts me with an Error message "Queue Manager Already Exists"
I had a QMgr named .. "ABC.QMGR".
I deleted the above QMgr using the following command
dltmqm ABC.QMGR
It showed me a message saying "Queue Manager Deleted Successfully"
After this I tried creating a new QMgr with the same name i.e "ABC.QMGR"
crtmqm ABC.QMGR
But now its giving me the error .. "Queue Manager Already Exists"
I have also deleted the ABC.QMGR folder from /var/mqm/qmgrs/
But still its giving me the same problem.
Can some one help me on this..?
Thanks,
Mitul |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Jul 16, 2004 9:01 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Check in the file /var/mqm/mqs.ini for the ABC.qmgr _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mitul |
Posted: Fri Jul 16, 2004 9:19 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
I already tried that after posting this message...
There was a stanza refarding the ABC.QMGR in mqs.ini
I removed that and tried again.
But still getting the same error. |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Jul 16, 2004 9:50 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Did it also happen to be the default qmgr ???? _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mitul |
Posted: Sat Jul 17, 2004 1:10 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
I am not sure.
But most probably it wasn't the default Qmgr. |
|
Back to top |
|
 |
mrlinux |
Posted: Sat Jul 17, 2004 12:24 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well if it was the default qmgr there are 2 entries in the mqs.ini file _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mitul |
Posted: Sun Jul 18, 2004 10:21 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
Jeff its not the default Qmgr.
DefaultQueueManager: is set to something else.
However there was one more stanza for ABC.QMGR.
I removed that and saved the mqs.ini file.
However now if i try to do
crtmqm ABC.QMGR
I am getting a new error -
After a long delay the only line that is displayed is -
AMQ6162 - An error has occurred reading an INI file.
I checked with the mqs.ini file and the syntax looks correct. |
|
Back to top |
|
 |
kirani |
Posted: Sun Jul 18, 2004 1:15 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Did you make a backup of your .ini file before changing it? If there are more than one entries for the same queue manager then you can delete one entry. Restart your server before recreating the queue manager with the same name. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mitul |
Posted: Sun Jul 18, 2004 4:45 pm Post subject: |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
Kiran,
Unfortunately I didn't take the backup of that mqs.ini file.
And restarting the server is not possible for me as its not under my control.
Now I am not able to create a Qmgr of any name and not even able to start / stop an existing QMgr. Everytime it gives the same error -
Error reading an INI file.
Can you me provide me with a dummy/default file mqs.ini file..? |
|
Back to top |
|
 |
kirani |
Posted: Sun Jul 18, 2004 7:12 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
We had similar problems on Solaris. After rebooting the machine we were able to create the queue manager with the same name. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|