| Author | 
		  Message
		 | 
		
		  | jeevan | 
		  
		    
			  
				 Posted: Thu May 17, 2007 1:24 am    Post subject: IBM websphere MQ files are in use. Stop activity and retry | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 12 Nov 2005 Posts: 1432
  
  | 
		  
		    
			  
				Waiting for MQ to stop. After a while it starts installation, it comes up with 
 
 
" IBM websphere MQ files are in use. Stop activity and retry (AMQ4757)" this error message and halt installing the fixpac.  
 
 
I have stops all the process including amqmtbrn- the mq alert.  Just to be confirmed, I tried to issue :
 
 
NET STOP "IBM MQSeries" command but it gives error. 
 
 
 
How can I get around of this problem without rebooting the machine? Does not end porcess from taskmanager end the process? 
 
 
thank you a you  lot. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu May 17, 2007 1:36 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				Sounds like when you stopped one of the processes, it didn't clear a file handle before it went down. I've seen this where processes are stopped using "End Process" from the taskmanager - they stop like they've been hit with a brick and they don't release the file handle. Windows doesn't notice they've died and you end up with this "file in use by no-one" problem.
 
 
The only way I know of getting Windows to notice the file's been closed is to reboot. With luck it's been fixed in Vista......          _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jeevan | 
		  
		    
			  
				 Posted: Thu May 17, 2007 5:12 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 12 Nov 2005 Posts: 1432
  
  | 
		  
		    
			  
				Vitor,
 
 
Is there any utility that clear the file handler? or any other windows utility which kills the process completely. Though the process is ended from taskmanager ( it was amqmtbrn). I am not sure whether  this causes any problem or was any  one of  the previous  process. 
 
 
Thank you very much, | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ramires | 
		  
		    
			  
				 Posted: Thu May 17, 2007 6:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa 
  | 
		  
		    
			  
				There are some tools to do that, one example is this:
 
 
c:\>tasklist /M
 
 
i'll give a list of loaded dll's. Look for the ones from MQ, tipically amq*, look for the .exe using them, and kill this .exe
 
 
Regards
 
joao | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | BBM | 
		  
		    
			  
				 Posted: Fri May 18, 2007 4:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 10 Nov 2005 Posts: 217 Location: London, UK 
  | 
		  
		    
			  
				Just navigate to the c:\program files\ibm\source folder and run:
 
 
amqicsdn.exe mqpinuseok=1
 
 
This is the workaround but it may ask you to reboot.
 
 
IBM should really sort this issue out now - we've had it for two versions... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Fri May 18, 2007 5:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				Check http://sysinternals.com for a program called handle, it will allow you to close a file handle without rebooting (Good tool on Windows servers) _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Shiningblade | 
		  
		    
			  
				 Posted: Fri May 18, 2007 6:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 17 Apr 2007 Posts: 1
  
  | 
		  
		    
			  
				I have gone through this recently.
 
 
Try stopping the "Windows Management Instrumentation" Service before you apply the Fixpack.
 
 
Jude | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | zx7R | 
		  
		    
			  
				 Posted: Wed Oct 31, 2007 9:13 am    Post subject: All you have to do is to stop manually a service called | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 08 May 2007 Posts: 12
  
  | 
		  
		    
			  
				amq... something(do not remember exactly but it is only one i had)  from  task manager..          
 
 
 
 
Yonathan Masovich
 
Integration consultanat
 
Benefit-SI
 
Israel | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |