| Author | 
		  Message
		 | 
		
		  | mqmike | 
		  
		    
			  
				 Posted: Wed Jan 26, 2005 10:03 am    Post subject: pkginfo and ssl | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 09 Jul 2004 Posts: 63
  
  | 
		  
		    
			  
				Can somebody help me with the pkginfo command please?
 
 
I'm trying to determine the exact version of gskit we have installed on a Solaris box...
 
 
cdcswif1# pkginfo -l | grep SSL
 
      NAME:  Certificate and SSL Base Runtime (gsk6bas)
 
 
doesn't seem to tell me much.
 
 
But when I use lslpp on AIX I get loads back...
 
 
mqadmin@mqtest:/usr/mqm/samp/bin> lslpp -L | grep SSL
 
  gskak.rte                 6.0.5.43    C     F    AIX Certificate and SSL Base
 
 
Does the Solaris output look like we just have the base gskit installed? As far as I'm aware we should have the version that ships with CSD08 but I'm suspecting this isn't the case.
 
 
Just generally, I seem to get different results with pkginfo on different boxes...
 
 
$ uname -a
 
SunOS xsf3d6 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-Enterprise-10000
 
shows lots...
 
 
$ pkginfo -l mqm
 
   PKGINST:  mqm
 
      NAME:  WebSphere MQ for Sun Solaris
 
  CATEGORY:  application
 
      ARCH:  sparc
 
   VERSION:  5.3.0
 
    VENDOR:  IBM
 
    PSTAMP:  p000-L020617   (packaged: June 18, 2002 - 01:01:05 AM)
 
  INSTDATE:  Jun 11 2003 10:04
 
    VSTOCK:  5724-B41
 
    STATUS:  completely installed
 
 
but
 
 
cdcswif1# uname -a
 
SunOS cdcswif1 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-480R
 
 
shows not much...
 
 
 
 
cdcswif1# pkginfo -l | grep mqm
 
   PKGINST:  mqm
 
   PKGINST:  mqm-upd04
 
   PKGINST:  mqm-upd08
 
 
 
any ideas? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Wed Jan 26, 2005 10:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				Try
 
   
	| Code: | 
   
  
	| pkginfo -l | grep -i gsk | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Wed Jan 26, 2005 10:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				pkginfo -l gsk6bas  will give you what you want. _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Wed Jan 26, 2005 11:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| I'm trying to determine the exact version of gskit we have installed on a Solaris box...  | 
   
 
 
But he doesn't know what version of kit he already has. 
 
For example if he has gsk5bas, (or gsk7bas) then your solution might not work | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Wed Jan 26, 2005 12:40 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	
 
But he doesn't know what version of kit he already has.
 
For example if he has gsk5bas, (or gsk7bas) then your solution might not work | 
   
 
 
Sure -  the full solution migt be something like:
 
   
	| Code: | 
   
  
	pkginfo | grep gsk | awk '{ print $2)'  | xargs pkginfo -l 
 
  | 
   
 
 
But if it is for MQ  5.3 purposes then only gsk6bas is relevant, that is what is
 
shipped with MQ and it is the only version  that 5.3 will use. _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqmike | 
		  
		    
			  
				 Posted: Thu Jan 27, 2005 12:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 09 Jul 2004 Posts: 63
  
  | 
		  
		    
			  
				Thanks guys I've can get what I need now.
 
 
Much appreciated
 
 
Mike | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |