| Author | 
		  Message
		 | 
		
		  | sairam | 
		  
		    
			  
				 Posted: Fri Apr 22, 2005 9:33 am    Post subject: Error installing rpm's with 'mqm' user in 'mqm' group | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 07 Mar 2005 Posts: 120
  
  | 
		  
		    
			  
				Folks,
 
 
I get this error when running the rpm's for MQ on linux.Is it because i did not set the umask to 022? it is at 0002 now.The user 'mqm' is in the 'mqm' group and the directories "/var/mqm" and "/opt/mqm" is owned by 'mqm / mqm'.
 
 
********
 
rpm -ivh MQSeriesRuntime-5.3.0-2.i386.rpm 
 
error: cannot get exclusive lock on /var/lib/rpm/Packages
 
error: cannot open Packages index using db3 - Operation not permitted (1)
 
error: cannot open Packages database in /var/lib/rpm | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Apr 22, 2005 9:36 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				You have to apply the rpms as root. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sairam | 
		  
		    
			  
				 Posted: Fri Apr 22, 2005 9:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 07 Mar 2005 Posts: 120
  
  | 
		  
		    
			  
				So i cannot install MQ as 'mqm' user is what you mean? 
 
DO i need to be a "root" user to install MQ on any unix platform? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Apr 22, 2005 10:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| sairam wrote: | 
   
  
	So i cannot install MQ as 'mqm' user is what you mean? 
 
DO i need to be a "root" user to install MQ on any unix platform? | 
   
 
 
 
Yes - or be able to sudo the rpm command.  Likewise, you have to be a member of the Administrator's group on Windows in order to install MQ on Windows. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Sat Apr 23, 2005 2:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	So i cannot install MQ as 'mqm' user is what you mean?
 
DO i need to be a "root" user to install MQ on any unix platform? | 
   
 
 
 
Yes, on each of the UNIX platforms we use the system installer  ( installp, rpm, pkgadd,  swinstall ) which all require root. _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |