| Author | Message | 
		
		  | Mo | 
			  
				|  Posted: Tue Jan 19, 2016 5:33 pm    Post subject: MQ v8 installation hangs after installing 3 rpm's. |   |  | 
		
		  | Novice
 
 
 Joined: 02 Apr 2010Posts: 17
 Location: IL USA
 
 | 
			  
				| I am upgrading to mq v8 from v7.5. we are following multi install technique and installing mq at a location other than /opt/mqm. When we
 run our script to install rpm's , 3 rpm's install fine and then
 installation hangs.
 What we observed is that there are multiple mqconfig process running
 when It's hung.
 
 I did a rpm -qp on mqserver rom which is where I think the hang is happening,, and that's the one that has the post script to run mqconfig.
 
 Anyone have any ideas.
 
 We are on rhel 6.7
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Philip Morten | 
			  
				|  Posted: Wed Jan 20, 2016 2:51 am    Post subject: |   |  | 
		
		  | Master
 
 
 Joined: 07 Mar 2002Posts: 230
 Location: Hursley Park
 
 | 
			  
				| It is probably worth looking to see if any of the mqconfig instances have written any output.  At install the mqconfig log is redirected to /tmp/mqconfig.pid.log _________________
 Philip Morten
 
 The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Mo | 
			  
				|  Posted: Wed Jan 20, 2016 6:06 pm    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 02 Apr 2010Posts: 17
 Location: IL USA
 
 | 
			  
				| It did write the output to the /tmp file. WHat doesnt happen is, if you remember , it will redirect a warning or message about mqconfig usage during rpm installation. That doesn't happen. I enabled -vv option for verbose mode during installation and see the installation halts at the step executing mqconfig. 
 Here are the last few lines of the output of the rpm install using -vv option
 
 
 
   
	| Code: |  
	| + chown -fh mqm /opt/mqm80_Inst1/lib64/libXML4CMessages.so + chgrp -fh mqm /opt/mqm80_Inst1/lib64/libXML4CMessages.so
 + INSTALLROOT=/opt/mqm80_Inst1
 ++ LD_LIBRARY_PATH=
 ++ /opt/mqm80_Inst1/bin/setmqinst -r -p /opt/mqm80_Inst1
 + setmqinst_out=
 + rc=0
 + '[' 0 -ne 0 ']'
 + echo
 + '[' -x /opt/mqm80_Inst1/bin/mqconfig ']'
 + MQCONFIG_LOGFILE=/tmp/mqconfig.469702.log
 ++ /opt/mqm80_Inst1/bin/dspmqver -f2 -b
 ++ awk -F. '{print $1 "." $2}'
 + INSTALL_VR=8.0
 + /opt/mqm80_Inst1/bin/mqconfig -v 8.0
 |  
 
 and here is the output of the ps -ef command when the install hung.
 
 
 
   
	| Code: |  
	| psef mq script psef executing Tue Jan 19 13:10:34 CST 2016
 
 UID          PID    PPID  C STIME TTY          TIME CMD
 smmsp       3018       1  0 Jan18 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
 svcwbimb    4860       1  0 Jan18 ?        00:00:12  /opt/ibm/itm/lx8263/mq/bin/kmqagent /opt/ibm/itm/config/mq.cfg
 root      428526  376496  0 13:05 pts/2    00:00:00 /bin/ksh ./InstWMQV80.ksh
 root      429306  428526  4 13:07 pts/2    00:00:07 rpm --prefix  /opt/mqm80_Inst1 -vv -ivh /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesRuntime_6-8.0.0-0.x86_64.rpm
 /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesSDK_6-8.0.0-0.x86_64.rpm /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesServer_6-8.0.0-0.x86_64.rpm /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesClient_6-8.0.0-0.x86_64.rpm /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesSamples_6-8.0.0-0.x86_64.rpm
 /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesJava_6-8.0.0-0.x86_64.rpm /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesJRE_6-8.0.0-0.x86_64.rpm
 /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesMan_6-8.0.0-0.x86_64.rpm /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesExplorer_6-8.0.0-0.x86_64.rpm
 /var/mqm/trace/WMQUNX8000.00/LINUX/MQV8000GA/6/x86_64/MQSeriesGSKit_6-8.0.0-0.x86_64.rpm
 root      429307  428526  0 13:07 pts/2    00:00:00 tee /tmp/MQinstV80.out
 root      496408  469702  0 13:09 pts/2    00:00:00 /bin/sh  /opt/mqm80_Inst1/bin/mqconfig -v 8.0
 root      496780  496408  0 13:09 pts/2    00:00:00 /bin/sh  /opt/mqm80_Inst1/bin/mqconfig -v 8.0
 root      496782  496780  0 13:09 pts/2    00:00:00 /bin/sh  /opt/mqm80_Inst1/bin/mqconfig -v 8.0
 |  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Mo | 
			  
				|  Posted: Thu Jan 21, 2016 1:14 pm    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 02 Apr 2010Posts: 17
 Location: IL USA
 
 | 
			  
				| Update if any one have the same issue. 
 IBM tells, that mqconfig might be causing the issue and the options are
 1. They can provide a new rom,  with updated mqconfig or disable mqconfig to run during installation
 2. pull 8.0.0.4  as base code and install rather than doing base and fix pack installs since this one has the new mq config.
 
 I chose the second option and all is working well.
 
 Edited: to be more clear
 
 Last edited by Mo on Sun Jan 24, 2016 7:00 am; edited 1 time in total
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | umatharani | 
			  
				|  Posted: Sat Jan 23, 2016 10:41 pm    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 23 Oct 2008Posts: 39
 
 
 | 
			  
				| Given the problem did not occur on 8004, I think this is likely a known problem fixed after MQ 8000. 
 Thanks,
 mahesh
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |