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 » dltmqm is not deleting the QM

Post new topic  Reply to topic Goto page 1, 2  Next
 dltmqm is not deleting the QM « View previous topic :: View next topic » 
Author Message
kailashbawane
PostPosted: Tue Apr 07, 2009 1:48 am    Post subject: dltmqm is not deleting the QM Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

Dear friends,

I am trying to delete the QM on my system, I am using MQ Version: 6.0.2.0, on AIX 5.3L.

It gives me the following error:
AMQ7064: Log path not valid or inaccessible.

I have checke the qm.ini for that queue manager.

it is showing the #

Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=LINEAR
LogBufferPages=0
LogPath=/var/mqm/log/PQM/
LogWriteIntegrity=TripleWrite


Can you pls help me out to delete the QM ?
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Mr Butcher
PostPosted: Tue Apr 07, 2009 1:54 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

does your userid has the proper rights to delete the qm? check with the logfile path, how are the rights for that path? then verify with your userid.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 07, 2009 2:00 am    Post subject: Reply with quote

Grand High Poobah

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

Make sure the user id you're using is in the mqm group, and that the file system ownership is set correctly.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kailashbawane
PostPosted: Tue Apr 07, 2009 2:05 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

Thanks for quick reply,

I have login with mqm id. and i fire a command id on comand prompt
is gives following output:
uid=418(mqm) gid=209(mqm) groups=402(oradba),210(msgsupp)
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
PeterPotkay
PostPosted: Tue Apr 07, 2009 2:11 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

And the answer to the second question is?



_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kailashbawane
PostPosted: Tue Apr 07, 2009 2:14 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

Hi Peter,

I havent see anything in /var/mqm/log
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Vitor
PostPosted: Tue Apr 07, 2009 2:16 am    Post subject: Reply with quote

Grand High Poobah

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

kailashbawane wrote:
I havent see anything in /var/mqm/log


No one asked if there was anything in it. We asked who owned it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 07, 2009 2:17 am    Post subject: Reply with quote

Grand High Poobah

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

Or do you mean there's no folder for the queue manager you're trying to delete in /var/mqm/logs?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kailashbawane
PostPosted: Tue Apr 07, 2009 2:21 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

yes , you are right vitor.


:/var/mqm/log />ls -ltr
total 0



_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
kailashbawane
PostPosted: Tue Apr 07, 2009 2:24 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

permission for /var/mqm/log is

drwxrwsr-x 2 mqm mqm 256 Apr 07 05:06 log
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Vitor
PostPosted: Tue Apr 07, 2009 2:37 am    Post subject: Reply with quote

Grand High Poobah

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

kailashbawane wrote:
yes , you are right vitor.


:/var/mqm/log />ls -ltr
total 0




So make a guess why the dltmqm command, using the LogPath shown in the ini file, is throwing an error that it can't find the log path.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 07, 2009 2:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Are the logs typically on a disk share (a SAN or etc) that is not currently mounted?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 07, 2009 2:38 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Are the logs typically on a disk share (a SAN or etc) that is not currently mounted?


Or does someone who knows the mqm user id password had a go at deleting a queue manager with the rm command?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kailashbawane
PostPosted: Tue Apr 07, 2009 3:00 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

No, nobody has done the rm for deleting Qm.

help to delete the Qm. How can i delete the Qm in such case?
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Vitor
PostPosted: Tue Apr 07, 2009 3:04 am    Post subject: Reply with quote

Grand High Poobah

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

kailashbawane wrote:
No, nobody has done the rm for deleting Qm.


Someone has certainly done the rm for it's log!

kailashbawane wrote:
help to delete the Qm. How can i delete the Qm in such case?


Recreating the queue manager's logs sounds like a logical first thing to try. Look up "mkdir" in any standard reference.

(Other log creation methods are available and may be superior to that specified here. No warranty, express or implied, is accepted)
_________________
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 Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » dltmqm is not deleting the QM
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.