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 » IBM MQ Installation/Configuration Support » getting error while creating a QMgr on Unix server

Post new topic  Reply to topic
 getting error while creating a QMgr on Unix server « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Tue Jul 01, 2008 7:15 am    Post subject: getting error while creating a QMgr on Unix server Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi Guys,
The QMgr was working fine until 2 days ago. The Unix team applied a OS patch without stopping the QMgr. The QMgr ended abnormally. I tried to recreate it by first deleting and creating.

I was able to delete it but while creating I am having issues.

$ crtmqm QM1
AMQ7019: An error occurred while creating or checking the directory structure for the queue manager.

Not sure what could be the issue and didn't find good info to troubleshoot this issue.

Any help would appreciate it.

Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jul 01, 2008 8:01 pm    Post subject: Re: getting error while creating a QMgr on Unix server Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

chris boehnke wrote:

The Unix team applied a OS patch without stopping the QMgr. The QMgr ended abnormally. I tried to recreate it by first deleting and creating.


$ crtmqm QM1
AMQ7019: An error occurred while creating or checking the directory structure for the queue manager.


check the permission of the directories.
user authentication etc etc. seems to be permission issue
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Jul 01, 2008 8:41 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

also check out for available disk space....

and mq directories structure...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
chris boehnke
PostPosted: Wed Jul 02, 2008 5:09 am    Post subject: Re: getting error while creating a QMgr on Unix server Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Gaya3 wrote:
chris boehnke wrote:

The Unix team applied a OS patch without stopping the QMgr. The QMgr ended abnormally. I tried to recreate it by first deleting and creating.


$ crtmqm QM1
AMQ7019: An error occurred while creating or checking the directory structure for the queue manager.


check the permission of the directories.
user authentication etc etc. seems to be permission issue


This issue got resolved. It was a directory permissions issue. Somebody deleted the /var/mqm/errors directory and recreated with root id. The root id was not part of mqm group. So when I was trying to delete and recreate the QMgr, I was getting the error. I asked the Unix admin to change the owner of this directory from root to mqm and it works now.

thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Jul 02, 2008 5:15 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

its really strange...

how an OS patch could effect or accidently delete /var/mqm/errors directory.

incase if this happens on Production Servers, then life is going to be mess. though you are taking back ups also....

Please take care this type of concerns very seriously....
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Wed Jul 02, 2008 5:38 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Gaya3 wrote:
its really strange...

how an OS patch could effect or accidently delete /var/mqm/errors directory.

incase if this happens on Production Servers, then life is going to be mess. though you are taking back ups also....

Please take care this type of concerns very seriously....


You are right. If this happens in PROD, it would be really a mess. I usually take backups of QMgr and its objects by ./saveqmgr script. When I need to recreate those objects, I can do it in couple of seconds. I am wondering if there are any messages in the queues and if the above case happens, how to recover those messages and is there anyway to backup those messages as well?.

One more thing:
If the msgs are written to linear log, how can they be retrieved?. Do you think, they will automatically recover when the queue exists?.

any suggestions in this regard would help me.

Thanks.
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 » IBM MQ Installation/Configuration Support » getting error while creating a QMgr on Unix server
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.