Author |
Message
|
kailashbawane |
Posted: Tue Apr 07, 2009 1:48 am Post subject: dltmqm is not deleting the QM |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Tue Apr 07, 2009 1:54 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 2:00 am Post subject: |
|
|
 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 |
|
 |
kailashbawane |
Posted: Tue Apr 07, 2009 2:05 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Tue Apr 07, 2009 2:11 am Post subject: |
|
|
 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 |
|
 |
kailashbawane |
Posted: Tue Apr 07, 2009 2:14 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 2:16 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 2:17 am Post subject: |
|
|
 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 |
|
 |
kailashbawane |
Posted: Tue Apr 07, 2009 2:21 am Post subject: |
|
|
 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 |
|
 |
kailashbawane |
Posted: Tue Apr 07, 2009 2:24 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 2:37 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Apr 07, 2009 2:37 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 2:38 am Post subject: |
|
|
 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 |
|
 |
kailashbawane |
Posted: Tue Apr 07, 2009 3:00 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 3:04 am Post subject: |
|
|
 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 |
|
 |
|