ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » dltmqinst : Entry is still active and has not been deleted

Post new topic  Reply to topic
 dltmqinst : Entry is still active and has not been deleted « View previous topic :: View next topic » 
Author Message
mqprimerib
PostPosted: Tue Jul 11, 2017 10:50 am    Post subject: dltmqinst : Entry is still active and has not been deleted Reply with quote

Apprentice

Joined: 30 Mar 2016
Posts: 36
Location: Detroit Rock City

Hey folks,

I did a side by side upgrade from MQ7 to MQ8 last year. Now I'm trying to remove the old MQ7 installation that we've upgraded from, leaving the mq8 installation. Some info:


Identify installations:

Code:
-bash-4.1$ dspmqver -i
Name:        WebSphere MQ
Version:     8.0.0.4
Level:       p800-004-151017
BuildType:   IKAP - (Production)
Platform:    WebSphere MQ for Linux (x86-64 platform)
Mode:        64-bit
O/S:         Linux 2.6.32-696.1.1.el6.x86_64
InstName:    Installation2
InstDesc:
Primary:     Yes
InstPath:    /opt/mq8
DataPath:    /var/mqm
MaxCmdLevel: 802
LicenseType: Production

Name:        WebSphere MQ
Version:     7.1.0.6
InstName:    Installation1
InstDesc:
InstPath:    /opt/mqm
Primary:     No



This is the one I want to remove:

Code:
[root@mq8 bin]# dspmqinst -n Installation1
InstName:      Installation1
InstDesc:
Identifier:    1
InstPath:      /opt/mqm
Version:       7.1.0.6
Primary:       No
State:         Available



But I get:

Code:
dltmqinst -n Installation1 -p /opt/mqm
AMQ7550: Entry is still active and has not been deleted.




I'm not using it as far as I can tell :

Code:
[root@mq8 bin]# /usr/bin/dspmq -o all
QMNAME(QM.EC1.1.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.2.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.1.DEV01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.2.DEV01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.1.DEV01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.2.DEV01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.1.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.2.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.R1MSNGR.DEV01)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.SIMTOOL.DEV01)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.1.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.2.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.1.DEV02)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.2.DEV02)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.1.DEV02)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.2.DEV02)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.1.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.2.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.R1MSNGR.DEV02)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.SIMTOOL.DEV02)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.1.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.2.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.1.TST01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.2.TST01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.1.TST01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.2.TST01)                                   STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.1.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.2.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.R1MSNGR.TST01)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.SIMTOOL.TST01)                                  STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.1.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.EC1.2.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.1.ITL)                                     STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF11.2.ITL)                                     STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.1.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF2.2.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.1.ITL)                                     STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.IF14.2.ITL)                                     STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.R1MSNGR.ITL)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.SIMTOOL.ITL)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.1.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.2.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.1.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.2.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.1.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.2.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.1.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.ORS.2.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.1.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.2.DEV01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.1.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.2.TST01)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.1.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.2.ITL)                                      STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.1.DEV02)                                    STATUS(Running) DEFAULT(no) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(QM.DFP.2.DEV02)                                    STATUS(Running) DEFAULT(yes) STANDBY(Not permitted) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(CQ.IF14.1.DEV02)                                   STATUS(Ended unexpectedly) DEFAULT(no) STANDBY(Not applicable) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)
QMNAME(CQ.IF14.2.DEV02)                                   STATUS(Ended unexpectedly) DEFAULT(no) STANDBY(Not applicable) INSTNAME(Installation2) INSTPATH(/opt/mq8) INSTVER(8.0.0.4)



Any idea what I'm missing here? I've been google-ing like mad and I'm not finding the fix to get this installation removed. Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 11, 2017 10:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20729
Location: LI,NY

Have you made sure no qmgr is using installation1?
Have you removed the installed binaries (rpm --remove ??)
I don't think you can remove the installation as long as its binaries are still present...

Have you made sure that the olde installation is no longer the primary installation?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jul 12, 2017 4:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

make sure to run the dspmq in a shell that has Installation1 as it's environment.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
mqprimerib
PostPosted: Thu Jul 13, 2017 6:46 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2016
Posts: 36
Location: Detroit Rock City

fjb_saper,

I hadn't removed the packages. I removed them and the instance delete works now.

[root@mq8 ~]# dltmqinst -n Installation1 -p /opt/mqm
Entry deleted successfully.

Thanks!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » dltmqinst : Entry is still active and has not been deleted
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.