| Author | 
		  Message
		 | 
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 5:57 am    Post subject: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				Hi,
 
 
I have just installed MQ-5.3 on Solaris 8 and now trying to install upd07. I get the following error when i try to install the update. Can someone pls help.
 
 
The following packages are available:
 
  1  gsk6bas       Certificate and SSL Base Runtime (gsk6bas)
 
                   (sparc) 6.0.5.41
 
  2  mqm-upd07     WebSphere MQ for Sun Solaris 2 - U496731
 
                   (sparc) 5.3.0
 
 
Select package(s) you wish to process (or 'all' to process
 
all packages). (default: all) [?,??,q]: 2
 
 
Processing package instance <mqm-upd07> from </tmp/mqm-U496731.img>
 
 
WebSphere MQ for Sun Solaris 2 - U496731
 
(sparc) 5.3.0
 
Licensed Materials - Property of IBM
 
 
5724-B41
 
 (C) Copyright IBM Corporation 1994, 2002
 
 
All rights reserved.
 
US Government Users Restricted Rights - Use, duplication or disclosure
 
restricted by GSA ADP Schedule Contract with IBM Corp.
 
WARNING: Cannot find/read supersede and current ptf information.
 
        There is no problem if this is the first update applied.
 
        If not then contact your System Administrator or supplier.
 
 
## Executing checkinstall script.
 
/var/tmp/dstreAAAADaqhn/mqm-upd07/install/checkinstall: /var/tmp/dstreAAAADaqhnn
 
pkgadd: ERROR: checkinstall script did not complete successfully
 
 
Installation of <mqm-upd07> failed.
 
No changes were made to the system.
 
 
Regards,
 
BK | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 6:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				Is the base installed properly
 
Can you do a pkginfo and find out whether MQ base is installed right or not | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 6:53 am    Post subject: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				Yes, its installed properly.
 
 
root:# pkginfo -l mqm
 
  PKGINST:  mqm
 
     NAME:  WebSphere MQ for Sun Solaris
 
 CATEGORY:  application
 
     ARCH:  sparc
 
  VERSION:  5.3.0
 
   VENDOR:  IBM
 
   PSTAMP:  p000-L021011   (packaged: October 12, 2002 - 04:28:52 AM)
 
 INSTDATE:  Jul 26 2004 13:56
 
   VSTOCK:  5724-B41
 
   STATUS:  completely installed
 
    FILES:     2675 installed pathnames
 
                115 directories
 
                226 executables
 
                 53 setuid/setgid executables
 
             159488 blocks used (approx) | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 8:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				Can you rerun the pkgadd with the -v flag? This will trace the checkinstall script and we might be able to see what is going wrong. _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 9:15 am    Post subject: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				root # pkgadd -v -d mqm-U496731img
 
 
The following packages are available:
 
  1  gsk6bas       Certificate and SSL Base Runtime (gsk6bas)
 
                   (sparc) 6.0.5.41
 
  2  mqm-upd07     WebSphere MQ for Sun Solaris 2 - U496731
 
                   (sparc) 5.3.0
 
 
Select package(s) you wish to process (or 'all' to process
 
all packages). (default: all) [?,??,q]: 2
 
 
Processing package instance <mqm-upd07> from </tmp/mqm-U496731.img>
 
 
WebSphere MQ for Sun Solaris 2 - U496731
 
(sparc) 5.3.0
 
Licensed Materials - Property of IBM
 
 
 5724-B41
 
  (C) Copyright IBM Corporation 1994, 2002
 
 
All rights reserved.
 
US Government Users Restricted Rights - Use, duplication or disclosure
 
restricted by GSA ADP Schedule Contract with IBM Corp.
 
envfile=/tmp/installIMaiib/respKMaiib
 
+ ps -ef
 
+ grep -v grep
 
+ grep amqzxma0
 
rc=
 
+ [ 1 = 0 ]
 
installed_ptf=/opt/mqm/ptf_installed
 
supersede=/opt/mqm/ptf_supersede
 
+ pkginfo -q mqm-upd07
 
rc=
 
+ [ 1 = 0 ]
 
+ [ -r /opt/mqm/ptf_supersede -a -r /opt/mqm/ptf_installed ]
 
+ echo WARNING: Cannot find/read supersede and current ptf information.
 
WARNING: Cannot find/read supersede and current ptf information.
 
+ echo          There is no problem if this is the first update applied.
 
        There is no problem if this is the first update applied.
 
+ echo          If not then contact your System Administrator or supplier.
 
        If not then contact your System Administrator or supplier.
 
+ echo
 
 
+ expr mqm-upd07 : \(.*\)-
 
basepkg=mqm
 
+ pkginfo -q mqm
 
rc=
 
baseon=0
 
+ [ 0 = 0 ]
 
+ pkgparam mqm CLASSES
 
INSTALL_CLASSES=base java keyman man runtime samples server sol_client
 
+ cat
 
CLASSES="base java keyman man runtime samples server sol_client"
 
+ exit 0
 
## Executing checkinstall script.
 
/var/tmp/dstreAAAdkaWhb/mqm-upd07/install/checkinstall: /var/tmp/dstreAAAdkaWhbn
 
pkgadd: ERROR: checkinstall script did not complete successfully
 
 
Installation of <mqm-upd07> failed.
 
No changes were made to the system. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | btjo | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 12:05 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 07 Jul 2004 Posts: 19
  
  | 
		  
		    
			  
				You didnt mention if there are any QMs running still. anyways stop all QMs (endmqm) and any listeners. 
 
 
ps -ef|grep mq and kill any mq processes. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 2:35 pm    Post subject: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				| No MQ is running on ths server. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JT | 
		  
		    
			  
				 Posted: Tue Jul 27, 2004 7:09 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Padawan
 
 Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT. 
  | 
		  
		    
			  
				| What id areyou using? Does the id have rights to the directory: /opt/mqm/ | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Wed Jul 28, 2004 2:40 am    Post subject: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				| I am installing this as user "root". | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Wed Jul 28, 2004 3:38 am    Post subject: Re: Preoblem installing mqm-upd07 | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				
   
	| bagesh123 wrote: | 
   
  
	root # pkgadd -v -d mqm-U496731img
 
 
 
## Executing checkinstall script.
 
/var/tmp/dstreAAAdkaWhb/mqm-upd07/install/checkinstall: /var/tmp/dstreAAAdkaWhbn
 
pkgadd: ERROR: checkinstall script did not complete successfully
 
 
Installation of <mqm-upd07> failed.
 
No changes were made to the system. | 
   
 
 
 
Something is going seriously wrong with the checkinstall script,   can you try this:
 
 
mkdir /var/tmp/mqm
 
 
pkgtrans mqm-U496731.img /var/tmp/mqm all
 
 
and then examine the file  /var/tmp/mqm/mqm-upd07/install/checkinstall, 
 
if it looks OK then try installing using:
 
 
 pkgadd -d /var/tmp/mqm _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bagesh123 | 
		  
		    
			  
				 Posted: Wed Jul 28, 2004 6:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Jul 2004 Posts: 6
  
  | 
		  
		    
			  
				| Wll spotted. It was all down to permissining. I did the pkg trans and changed the permissions on the resulting directories and it worked like charm. Thanks for your help. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |