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 IBM MQ Support » Backing UP QMGR AMQ7017

Post new topic  Reply to topic
 Backing UP QMGR AMQ7017 « View previous topic :: View next topic » 
Author Message
Boomn4x4
PostPosted: Fri Apr 27, 2012 5:41 am    Post subject: Backing UP QMGR AMQ7017 Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

I'm working on getting QMGR backups working using a backup queue manager and having problem.

So far, I've created qmgrs on two machines, both using the exact same crtmqm parameters.

Next, I advance the logs on the active QMGR
Next, DIS QMSTATUS CURRLOG, which gives me a result of 3...
Copy /var/mqm/log/QMGR/active/S0, S1, and S2 over to the backup /var/mqm/log/QMGR/active
Finally, on the backup strmqm -r QMGR

In doing so, I am getting AMQ7017 error... the documentation = LOG NOT AVAILABLE... doesn't say much.

The QMGR Log says:
AMQ6767: Log file /var/mqm/log/QMGR/active/S0000000.LOG could not be
opened for use.

EXPLANATION:
Log file /var/mqm/log/QMGR/active/S0000000.LOG could not be opened
for use. Possible reasons include the file being missing, the queue manager
being denied permission to open the file or the contents of the file being
incorrect.
ACTION:
If the log file was required to start the queue manager, ensure that the log
file exists and that the queue manager is able to read from and write to it. If
the log file was required to recreate an object from its media image and you do
not have a copy of the required log file, delete the object instead of
recreating it.

Any ideas what I'm missing?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 27, 2012 5:54 am    Post subject: Reply with quote

Grand High Poobah

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

On what platform?

Are you sure of the permissions? I accept you've checked by eye, but is it possible that mqm on machine A has a different SID / GID / etc on machine B & is being refused permissions?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Fri Apr 27, 2012 6:09 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

Vitor wrote:
On what platform?

Are you sure of the permissions? I accept you've checked by eye, but is it possible that mqm on machine A has a different SID / GID / etc on machine B & is being refused permissions?


Linux

Yes, I've checked the permissions on both systems, the log files are owned mqm:mqm 660. Also checked both /etc/group and /etc/passwd and both have identical entries for mqm.
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Mon Apr 30, 2012 8:03 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

It looks like my problem was PROBABLY, that I only copied the LOG directory, and not the data directory as well.

I tared up the /var/mqm/qmgrs/qmgr directory and compied it over to the backup system
then tared up the /var/mqm/log/qmgr directory and copied it over to the backup system

and then it worked. Do I need to copy both of these directories over each time in to a backup/replay?
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 » General IBM MQ Support » Backing UP QMGR AMQ7017
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.