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 » @SYSTEM directory under /var/mqm/qmgrs

Post new topic  Reply to topic
 @SYSTEM directory under /var/mqm/qmgrs « View previous topic :: View next topic » 
Author Message
muthum_2000
PostPosted: Mon Sep 20, 2010 7:51 am    Post subject: @SYSTEM directory under /var/mqm/qmgrs Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

Guys

Need your help here.

One of my Unix SA has mistakenly deleted everything under @SYSTEM directory under /var/mqm/qmgrs.

Actually it should have the following;

drwxrwxrwx 2 mqm mqm 512 May 10 2005 ssem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 msem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 isem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 esem
-rw------- 1 mqm mqm 3 May 10 2005 amqcap.inf
drwxrwxrwx 2 mqm mqm 512 Jan 30 2006 errors
drwxrwxrwx 2 mqm mqm 512 Sep 8 2007 shmem
-rw-rw-r-- 1 root mqm 0 Sep 8 2007 nodelock

Now the crtmqm command will not work for sure.

Is there any way to get back the contents of @SYSTEM directory or only option is to re-install MQ.

Please advise.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 20, 2010 7:54 am    Post subject: Re: @SYSTEM directory under /var/mqm/qmgrs Reply with quote

Grand High Poobah

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

muthum_2000 wrote:
Guys

Need your help here.

One of my Unix SA has mistakenly deleted everything under @SYSTEM directory under /var/mqm/qmgrs.

Actually it should have the following;

drwxrwxrwx 2 mqm mqm 512 May 10 2005 ssem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 msem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 isem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 esem
-rw------- 1 mqm mqm 3 May 10 2005 amqcap.inf
drwxrwxrwx 2 mqm mqm 512 Jan 30 2006 errors
drwxrwxrwx 2 mqm mqm 512 Sep 8 2007 shmem
-rw-rw-r-- 1 root mqm 0 Sep 8 2007 nodelock

Now the crtmqm command will not work for sure.

Is there any way to get back the contents of @SYSTEM directory or only option is to re-install MQ.

Please advise.

I don't think that the content is that relevant as this is used for shared memory... so the content would no longer be accurate.
What you do probably need, is to recreate the directories...
A touch for nodelock might be enough...

The most important file you have there might well be amqcap.inf.
If you cannot get it from a backup you might have no choice but to uninstall and reinstall the software.

Try it out and let us know.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
muthum_2000
PostPosted: Mon Sep 20, 2010 8:31 am    Post subject: Re: @SYSTEM directory under /var/mqm/qmgrs Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

fjb_saper wrote:
muthum_2000 wrote:
Guys

Need your help here.

One of my Unix SA has mistakenly deleted everything under @SYSTEM directory under /var/mqm/qmgrs.

Actually it should have the following;

drwxrwxrwx 2 mqm mqm 512 May 10 2005 ssem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 msem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 isem
drwxrwxrwx 2 mqm mqm 512 May 10 2005 esem
-rw------- 1 mqm mqm 3 May 10 2005 amqcap.inf
drwxrwxrwx 2 mqm mqm 512 Jan 30 2006 errors
drwxrwxrwx 2 mqm mqm 512 Sep 8 2007 shmem
-rw-rw-r-- 1 root mqm 0 Sep 8 2007 nodelock

Now the crtmqm command will not work for sure.

Is there any way to get back the contents of @SYSTEM directory or only option is to re-install MQ.

Please advise.

I don't think that the content is that relevant as this is used for shared memory... so the content would no longer be accurate.
What you do probably need, is to recreate the directories...
A touch for nodelock might be enough...

The most important file you have there might well be amqcap.inf.
If you cannot get it from a backup you might have no choice but to uninstall and reinstall the software.

Try it out and let us know.


Thanks for the advise.

I just spoke with my SA and thank god, he has taken the backup before removing it. He has just restored it and everything looks good now.

Cheers!
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Sep 20, 2010 3:33 pm    Post subject: Re: @SYSTEM directory under /var/mqm/qmgrs Reply with quote

Jedi Knight

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

muthum_2000 wrote:
Thanks for the advise.

I just spoke with my SA and thank god, he has taken the backup before removing it. He has just restored it and everything looks good now.
Cheers!


I suggest you have another quiet chat with the SA and inform them to never delete any MQ files or directories without consult the MQ admin. This is particularly true for the MQ recovery logs. I have seen SA delete some of the circular log files (more than once!) to save space because apparently they were not being used. A queue manager is unable to restart if any logs are missing, and it will have a heart attack next time it cycles around to use the older logs. Even restoring a backup of circular logs may not be sufficient to enable a queue manager to work again.
_________________
Glenn
Back to top
View user's profile Send private message
muthum_2000
PostPosted: Mon Sep 20, 2010 7:14 pm    Post subject: Re: @SYSTEM directory under /var/mqm/qmgrs Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

gbaddeley wrote:
muthum_2000 wrote:
Thanks for the advise.

I just spoke with my SA and thank god, he has taken the backup before removing it. He has just restored it and everything looks good now.
Cheers!


I suggest you have another quiet chat with the SA and inform them to never delete any MQ files or directories without consult the MQ admin. This is particularly true for the MQ recovery logs. I have seen SA delete some of the circular log files (more than once!) to save space because apparently they were not being used. A queue manager is unable to restart if any logs are missing, and it will have a heart attack next time it cycles around to use the older logs. Even restoring a backup of circular logs may not be sufficient to enable a queue manager to work again.


Yes. You are true Glenn. SA sometimes do this without our knowledge. I have now clearly informed him about MQ filesystems and binaries location.Seems like this SA is new to enviornment.

Never mind. Thanks for the suggestion.
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 » @SYSTEM directory under /var/mqm/qmgrs
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.