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 Performance Monitoring » Queue Manager logs in HP-UX

Post new topic  Reply to topic
 Queue Manager logs in HP-UX « View previous topic :: View next topic » 
Author Message
saikrishna_80
PostPosted: Mon May 03, 2004 9:04 pm    Post subject: Queue Manager logs in HP-UX Reply with quote

Newbie

Joined: 03 May 2004
Posts: 1
Location: India

Hi all,
If by chance we have removed the Queue manager logs and when we want to start queue manager again it gives an error message

Log not available.

Is there any way of creating logs without having to delete the queue manager and its associated objects? This is for MQseries installed in HP-UX.

Please give a solution to this.
Back to top
View user's profile Send private message
sreekanth
PostPosted: Tue May 04, 2004 5:55 am    Post subject: Simple Reply with quote

Newbie

Joined: 01 May 2004
Posts: 5

U should not delete logs..If u delete them..U must recreate the directory structure again...as...
goto logs/active.. and create S0000001.log, S0000002.log, S0000003.log.

If it works ...fine or recreate the queue manager again..

I think it helped u..If iam wrong in any way...Please tell me...
_________________
All Problems will have solutions, just You want to try...
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue May 04, 2004 6:05 am    Post subject: Reply with quote

Grand High Poobah

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

Try the intelligent thing.
Change qms.ini and remove all reference to the queue manager
Move all specific directories qmgrs/<qm> log/<qm> to a backup dir.
Create a new QMGR (same name) with all the objects in the old one.
Move the logs to the backup log directory. Move the log/ctrl file to the bakup log directory. Stop the queue manager
Delete the new files and replace with the old ones (backup dirs). If on linear logging you may have to recreate a full image as soon as the queue manager is up.
If on circular logging good luck.

ABSOLUTELY NO GUARANTEE THAT IT WORKS. IF it does let us know.

Thanks
F.J.
Back to top
View user's profile Send private message Send e-mail
kglenn
PostPosted: Wed May 05, 2004 6:23 am    Post subject: Reply with quote

Newbie

Joined: 05 May 2004
Posts: 7
Location: Overland Park KS

The easiest solution to your problem, without losing the objects already defined within said queue manager is as follows,

1. Create queue manager by the same name on another server, ensuring that the OS/MQ levels are the same.

2. FTP the following files from the newly created queue manager and move them to the queue manager that gave the log not available.

/var/mqm/qmgrs/QMGRNAME/errors/AMQERR01-3.LOG
/var/mqm/log/QMGRNAME/active/S0000001-3.LOG
/var/mqm/log/QMGRNAME/amqhlctl.lfh

This will allow you to restart the queue manager without impacting any channel sequence numbers and without losing any of the already defined objects.

This is something that I have done several times and I have never had any problems arise as a result.

Let me know if this works out for you.


Ken
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Queue Manager logs in HP-UX
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.