| Author | 
		  Message
		 | 
		
		  | nosnhoj | 
		  
		    
			  
				 Posted: Mon Jan 06, 2014 11:23 am    Post subject: Removing Package | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 07 Sep 2005 Posts: 40 Location: Markham On. 
  | 
		  
		    
			  
				Hi, I'm trying to remove an MQ package (7.0.1.11) on solaris  but I keep getting this error (this was the output of pkgrm -v):
 
 
+ /opt/mqm/bin/amqiclen -x
 
rc=7
 
+ [ 7 -ne 0 ]
 
+ echo ERROR:   WebSphere MQ shared resources for this installation are still in use
 
ERROR:   WebSphere MQ shared resources for this installation are still in use
 
+ echo          Check that no Websphere MQ 7.0 processes are running
 
         Check that no Websphere MQ 7.0 processes are running
 
+ echo          before removing this fix pack
 
         before removing this fix pack
 
 
Nothing is running, I have done ipcrm, amqiclen, and I have even rebooted the server - and its still coming up with that error.  Also on the server are 7.0.1.4, and 7.0.0.1 - but attempting to remove them produces the same error.
 
 
Is there a way to manually remove the packages? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Jan 06, 2014 11:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nosnhoj | 
		  
		    
			  
				 Posted: Mon Jan 06, 2014 11:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 07 Sep 2005 Posts: 40 Location: Markham On. 
  | 
		  
		    
			  
				| Yes, I have followed them to the letter... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Jan 06, 2014 12:52 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Which instruction steps worked?  What steps did not? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Tue Jan 07, 2014 3:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				Try running "/opt/mqm/bin/amqiclen -x -v" (as root) , the output may give more information. _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nosnhoj | 
		  
		    
			  
				 Posted: Tue Jan 07, 2014 5:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 07 Sep 2005 Posts: 40 Location: Markham On. 
  | 
		  
		    
			  
				amqiclen as root simply returns the prompt - so i assume it completes successfully.  The only step that fails is pkgrm mqm-7.0.1.11 (I don't need to set the environment in 7.0)  When the removal starts - it fails saying processes are still running.    if i use the -v i see that amqiclen gives a retrun code of 7.
 
 
Again nothing is running, server has been restarted.
 
 
Starting preremove script
 
ERROR:   WebSphere MQ shared resources for this installation are still in use
 
         Check that no Websphere MQ 7.0 processes are running
 
         before removing this fix pack | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Tue Jan 07, 2014 8:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				
   
	| nosnhoj wrote: | 
   
  
	amqiclen as root simply returns the prompt - so i assume it completes successfully.  The only step that fails is pkgrm mqm-7.0.1.11 (I don't need to set the environment in 7.0)  When the removal starts - it fails saying processes are still running.    if i use the -v i see that amqiclen gives a retrun code of 7.
 
 
Again nothing is running, server has been restarted.
 
 
Starting preremove script
 
ERROR:   WebSphere MQ shared resources for this installation are still in use
 
         Check that no Websphere MQ 7.0 processes are running
 
         before removing this fix pack | 
   
 
 
OK, and this is a last resort and is bit of a hack, but you can remove amqiclen, the code in the fixpack preremove script will only try to run it if it exists _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nosnhoj | 
		  
		    
			  
				 Posted: Mon Jan 13, 2014 6:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 07 Sep 2005 Posts: 40 Location: Markham On. 
  | 
		  
		    
			  
				| Fantastic!  the renaming of amqiclen did the trick!  Thanks for this. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |