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 » Not able to restart the qmgr

Post new topic  Reply to topic
 Not able to restart the qmgr « View previous topic :: View next topic » 
Author Message
vijaya
PostPosted: Thu Sep 13, 2007 7:41 pm    Post subject: Not able to restart the qmgr Reply with quote

Newbie

Joined: 13 Sep 2007
Posts: 7

Hi all,

OS:
$ uname -a
SunOS dev-db2 5.9 Generic_122300-11 sun4u sparc SUNW,Sun-Fire-V440

MQ: 6.0

Its a new server where we installed MQ and created all the required objects.
We used circular logging and the log paths are set to defaults.
We need to send the message to a mainframe qmgr and when we sent the test messages, all the
messages are sitting in the XMITQ.
All the definitions were correct from my side but I am not able to see the failed activity in the logs.
I had all the logs available just before doing a put. I waited few more mins...but no use..so I bounced
the QMGR using the endmqm -i( biggest mistake)....thinking my logs would be updated on a restart.And now
when I try to do a restart, I get the error like this..

$ sudo -u mqm strmqm SPEX.SUN.DEV_MQ_ORA.DEV
WebSphere MQ queue manager 'SPEX.SUN.DEV_MQ_ORA.DEV' starting.
Log path not valid or inaccessible.

I don't know how to proceed ahead. Am I only left with recreating my QMGR and all the definitions??..
If that's th only option left...please let me know if this is the right order of cleanup.
1. delete the /var/mqm/qmgrs sub directory.
2. delete logs at /var/mqm/logs

and let me know the other areas to look up.

I sincerely appreciate any of your help.

Thanks,
vijaya
Back to top
View user's profile Send private message
sidharth_bora
PostPosted: Thu Sep 13, 2007 9:27 pm    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2005
Posts: 87

can you send the output of the following command to be run with the same id you are using to administer the QM

touch /var/mqm/log/<QMname>/active/abc.dummy
ls -lrt /var/mqm/log/QMname/active

thx
Sid
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 14, 2007 12:02 am    Post subject: Re: Not able to restart the qmgr Reply with quote

Grand High Poobah

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

vijaya wrote:
We need to send the message to a mainframe qmgr and when we sent the test messages, all the
messages are sitting in the XMITQ.
All the definitions were correct from my side but I am not able to see the failed activity in the logs.


For what it's worth, if the problem reoccurs when you've made it back out of the hole this indicates a channel problem which bouncing the queue manager is not very likely to fix. Verify the sender channel definitions & especially that you have network connectivity to the target.

Then look for messages in the error log, in /var/mqm/<QMname>/errors. The files in /var/mqm/<QMname>/logs are the circular logs used to hold messages and have nothing of value to you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 14, 2007 6:48 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
$ sudo -u mqm strmqm SPEX.SUN.DEV_MQ_ORA.DEV
WebSphere MQ queue manager 'SPEX.SUN.DEV_MQ_ORA.DEV' starting.
Log path not valid or inaccessible.


Probably a file permission error.Get your unix admin to help.
Make sure the /var/mqm system is owned by mqm:mqm and has rw-rw (ug+rw) permissions for mqm:mqm and ug+rwx on directories

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vijaya
PostPosted: Fri Sep 14, 2007 6:52 am    Post subject: Reply with quote

Newbie

Joined: 13 Sep 2007
Posts: 7

hi siddharth / Vitor,

My problem was resolved.
The problem is from the mainframe side..where there was a typo in channel definitions and hence my messages are sitting is the queues.
I deleted my entire stuff and recreated things and everything is working fine.
I am new person here and I see all the qmgrs here are set with Circular logging.

Thanks,
viji
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 14, 2007 10:31 am    Post subject: Reply with quote

Grand High Poobah

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

vijaya wrote:
The problem is from the mainframe side..where there was a typo in channel definitions and hence my messages are sitting is the queues.


Told you.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Not able to restart the qmgr
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.