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 » WebSphere Message Broker (ACE) Support » mqsilist command won't exit

Post new topic  Reply to topic
 mqsilist command won't exit « View previous topic :: View next topic » 
Author Message
VishnuPrasadS
PostPosted: Thu Nov 07, 2013 7:18 pm    Post subject: mqsilist command won't exit Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Hi

mqsilist command won't exit
This command responds with list of installed brokers, but after is echoes "Successful command completion", its process doesnot terminate.
I have observed same behavior in two different aix boxes.
Processes remain indefinetly and have to be killed using (kill -9 processid).
I have observed mqsilist processes that have lived for more than a month.

Environmnet details :
OS : AIX
Broker version : 7.0.0.5

Awaiting your observations/suggestions.
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Thu Nov 07, 2013 11:24 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

As this is such a repeatable problem for you, have you raised a PMR with IBM yet?

If you have not done so, why not?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Tibor
PostPosted: Fri Nov 08, 2013 7:04 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

If you brave enough for analyzing trace files, you can enable utility trace: http://www-01.ibm.com/support/docview.wss?uid=swg21461066

You cannot avoid this step, even if you prefer opening a PMR...
Back to top
View user's profile Send private message
VishnuPrasadS
PostPosted: Sat Nov 09, 2013 3:51 am    Post subject: Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Hi Tibor

I fired the below commands as you suggested.

-------------
set MQSI_UTILITY_TRACE=debug
set MQSI_UTILITY_TRACESIZE=51200
mqsilist
set MQSI_UTILITY_TRACE=none
mqsireadlog utility -t -b mqsilist -f -o mqsilisttrace.xml
mqsiformatlog -i mqsilisttrace.xml -o mqsilisttrace.txt
-------------
contents of mqsilisttrace.xml :
<?xml version="1.0" encoding="UTF-8" ?><TraceLog/>
-------------
in the below pic you can observe that timestamp of utility.mqsilist.trace.bin.0 has changed but content-size is 0

https://drive.google.com/file/d/0Bz3bVRRIu-RVUHlySkk1ekpZNjA/edit?usp=sharing

-------------
i will let MQSI_UTILITY_TRACE be set as debug for 2 days and check if i get some data out of it.

-------------
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Sat Nov 09, 2013 4:01 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Seems weird, because I have already used it earlier. By the way, could you try an alternate option (mqsilist ... -v filename), described in the Infocenter:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fau14270_.htm

One more thing: it was told, the problem is on your AIX box. In this case you should set environment variables with export command:
Code:
export MQSI_UTILITY_TRACE=debug
...
Back to top
View user's profile Send private message
VishnuPrasadS
PostPosted: Sat Nov 09, 2013 5:56 am    Post subject: Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Hi

Query 1 : how to reset tracefile size to 0
-->for eg trace files , i have used ( mqsichangetrace {broker_name} -t -e {eg_name} -r )
-->for utility trace files , i tried below command , but saw no change in size
mqsichangetrace utility -t -b


-->the aix server that exibits this problem(ie not able to delete eg) has both version 6 and version 7 of brokers.
-->in user trace , i noticed
2013-11-09 18:18:58.527724 1 ImbCmdLibBase::findActiveBrokers 'brokerName=' , 'temp'
we have no broker or configmgr with name temp
Query 2 : what do you make of this info ?

------
Following commands were fired to extract trace info

export MQSI_UTILITY_TRACE=normal
export MQSI_UTILITY_TRACESIZE=51200
mqsilist
export MQSI_UTILITY_TRACE=none
mqsireadlog utility -t -b mqsilist -f -o mqsilisttrace_normal.xml
mqsiformatlog -i mqsilisttrace_normal.xml -o mqsilisttrace_normal.txt

link to user trace file
https://drive.google.com/file/d/0Bz3bVRRIu-RVb1dHVm5Db1ZHVDQ/edit?usp=sharing
------
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Sat Nov 09, 2013 6:04 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Hi,

Answer1: you can reset the size with -r option, e.g. mqsichangetrace .... -r

Answer2: your trace entry means, there should be a directory named temp under /var/mqsi/registry (theoretically) - please check it.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Nov 09, 2013 1:36 pm    Post subject: Reply with quote

Grand High Poobah

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

make sure you use/source the correct environment to issue the mqsilist command.
You don't want to issue an mqsilist command against a V7 broker in a V6.1 environment and vice versa.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
VishnuPrasadS
PostPosted: Sat Nov 09, 2013 9:39 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Hi Tibor

Would you provide the entire command to reset trace file , below commands that i try have one or the other error
mqsichangetrace utility -t -b mqsilist -r
or
mqsichangetrace utility -t -b -r

i can delete /var/mqsi/common/log/utility.mqsilist.trace.bin.0 to reset it.

-----------------------
Quote:

Answer2: your trace entry means, there should be a directory named temp under /var/mqsi/registry (theoretically) - please check it.

You are correct.

----------------------------------------------

Hi fjb_saper

I am using the correct env(version 7) to issue the command. I say this because on logging into this version of broker i see echo of broker version 7.0.0.5. Broker 7 mqsi commands execute and provide expected results.

on version 6 env i dont see this error. it occurs only in version 7 env.
Please take a look at the attached profile files and let me know if you find any issues.

version 6 profile
https://drive.google.com/file/d/0Bz3bVRRIu-RVSF82RFdBN0VLcWc/edit?usp=sharing

version 7 profile
https://drive.google.com/file/d/0Bz3bVRRIu-RVZmZvVDRWMFV4akk/edit?usp=sharing
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Sun Nov 10, 2013 12:09 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

You could check your MQSI_WORKPATH variables, it is highly recommended separating your workspaces for instances, mostly if versions are different. Default value is set in mqsiprofile, but you can change it:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fan19000_.htm

There is no reset option for service trace, you are right, but I'm writing these posts by heart...
Back to top
View user's profile Send private message
dogorsy
PostPosted: Sun Nov 10, 2013 12:17 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

VishnuPrasadS wrote:
Would you provide the entire command to reset trace file

what is preventing you from looking it up in the documentation?
or even just execute
Code:
mqsichangetrace
without any parameters and you will see the syntax
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 10, 2013 10:17 am    Post subject: Reply with quote

Grand High Poobah

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

Are you using the same service user for both version 6.1 and 7?
You should be using a different service user for each version. This way you ensure there is no environment leakage.

If this does not help, go the PMR route
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsilist command won't exit
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.