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 Discussion » AMQ8118: WebSphere MQ queue manager does not exist

Post new topic  Reply to topic Goto page 1, 2  Next
 AMQ8118: WebSphere MQ queue manager does not exist « View previous topic :: View next topic » 
Author Message
santnmq
PostPosted: Sun May 29, 2011 9:39 pm    Post subject: AMQ8118: WebSphere MQ queue manager does not exist Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

I have a queue manager on my local system on windows XP. I can see at the MQ explorer that the queue manager QM1 is running and connected to the MQ explorer.
When trying to stop this queue manager QM1 from MQ explorer, it is throwing the error

****************************************
* Command: amqmdain qmgr end QM1 -i
****************************************
AMQ8118: WebSphere MQ queue manager does not exist.
exitvalue = 16

Any help on this please...

thanks in advance...
Back to top
View user's profile Send private message
santnmq
PostPosted: Sun May 29, 2011 10:15 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

I have identified the issue and this is because of the amqmdain command used internally by the MQ explorer.

I am able to start the queue manager using strmqm command, but it fails to start if I use amqmdain command with the error code 16, which means that "Failed to configure service principal name"

Any idea, what can be the cause for this?
Back to top
View user's profile Send private message
exerk
PostPosted: Mon May 30, 2011 2:26 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Is it a 'local' install, i.e. MUSR_MQADMIN exists, or a domain install? What did you change on your system, or what domain policy changed?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
santnmq
PostPosted: Mon May 30, 2011 2:41 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

it is a local install and the user MUSR_MQADMIN exists for MQ processes.
As the issue seems to because of the service principal name, I have changed the DCOM config for the MQ Series from the MUSR_MQADMIN to launching user. Now it's working fine.

But I think now, MQ will not survive logged in user logoff.. please correct me if I am wrong.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon May 30, 2011 3:22 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Try switching it back to MUSR_MQADMIN and see if the issue persists.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 30, 2011 4:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

He did not say which version of MQ he is using.
I have however had little success with my V7 installs on Windows V7.

We do not use a domain install.

amqmdain does not work as expected and connections to the running qmgr are refused as not authorized.

strmqm -si however seems to work fine.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
santnmq
PostPosted: Mon May 30, 2011 8:43 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

I have reverted back to the user MUSR_MQADMIN and it's not working. it throwing the same error.

AMQ8118: WebSphere MQ queue manager does not exist.
exitvalue = 16

I am using MQ V6.0.2.5.

There are 4 qmgr on this system, out of which two qmgrs are working fine through MQ explorer but two qmgrs are having issue.

I am confused, as if this issue is because of the User, then all the queue managers should have this issue.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue May 31, 2011 1:52 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Something got screwed. Try deleting and recreating the two 'broken' queue managers.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
santnmq
PostPosted: Tue May 31, 2011 2:08 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

Ya recreating the qmgrs again will surely solve the problem but I am not in a condition to do so.

There is one more thing that I found out by observing the windows registry.. hope somebody can conclude how to solve this problem.

In windows registry...under location

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\ CurrentVersion\Configuration\Services

I can see that entry for those qmgrs which are not working is absent.
I had tried manually to add those entries there but could'nt do so.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue May 31, 2011 2:11 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

santnmq wrote:
Ya recreating the qmgrs again will surely solve the problem but I am not in a condition to do so.

Why not?

santnmq wrote:
There is one more thing that I found out by observing the windows registry.. hope somebody can conclude how to solve this problem.

In windows registry...under location

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\ CurrentVersion\Configuration\Services

I can see that entry for those qmgrs which are not working is absent.
I had tried manually to add those entries there but could'nt do so.

What entries are missing in comparison to the working queue managers?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
santnmq
PostPosted: Tue May 31, 2011 2:40 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

There are below two entries in the registry for working qmgrs. These are not present for the non-working qmgrs.
-------
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\SAN_QMGR]
"InstanceID"="1295243153"

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\SAN_QMGR\Queue Manager]
"ServiceType"=dword:00000004
"RecAction"=dword:00000001
"RecDelay"=dword:00000001
"RecAttempts"=dword:00000003
-------
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\KUM_QMGR]
"InstanceID"="1294222551"

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Services\KUM_QMGR\Queue Manager]
"ServiceType"=dword:00000004
"RecAction"=dword:00000001
"RecDelay"=dword:00000001
"RecAttempts"=dword:00000003
-----
Back to top
View user's profile Send private message
santnmq
PostPosted: Tue May 31, 2011 2:42 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

I had successfully added the entries in the registry using the registry file and editing it.. but these entries got removed automatically from registry after sometime.

It seems some MQ process is removing these entries for non-working qmgrs.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 31, 2011 5:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
I have however had little success with my V7 installs on Windows V7.


FWIW and potentially

I've got WMQv7 running happily under Win7. Local install, local user & a service user to query the domain as per the documentation. Both amqmdain & strmqm work as expected.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue May 31, 2011 5:32 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

santnmq wrote:
I had successfully added the entries in the registry using the registry file and editing it.. but these entries got removed automatically from registry after sometime.

It seems some MQ process is removing these entries for non-working qmgrs.

Then either a Windows or WMQ internal process is removing them. I doubt you'd be able to restore the unique instance ID of each anyway as it's probably generated when the queue manager is created. Delete and recreate, and please answer my earlier question of why you are not in a position to do so.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
santnmq
PostPosted: Tue May 31, 2011 8:39 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

The reason why I am unwilling to delete and recreate the queue manager is that these queue managers are linked to so many other MQ setups and which I have to setup again in case of recreation of the qmgrs.

If this issue could'nt resolve by any other way, as a last option I have to recreate the qmgrs.

Unique instance ID of the non-wokring queue manager can be found in the registry...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » AMQ8118: WebSphere MQ queue manager does not exist
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.