| Author | 
		  Message
		 | 
		
		  | VishnuPrasadS | 
		  
		    
			  
				 Posted: Thu Nov 07, 2013 7:18 pm    Post subject: mqsilist command won't exit | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Thu Nov 07, 2013 11:24 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Fri Nov 08, 2013 7:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | VishnuPrasadS | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 3:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 4:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | VishnuPrasadS | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 5:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 6:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 1:36 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | VishnuPrasadS | 
		  
		    
			  
				 Posted: Sat Nov 09, 2013 9:39 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Sun Nov 10, 2013 12:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dogorsy | 
		  
		    
			  
				 Posted: Sun Nov 10, 2013 12:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 
 without any parameters and you will see the syntax | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sun Nov 10, 2013 10:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |