Author |
Message
|
tekgirl |
Posted: Thu Sep 09, 2004 7:27 am Post subject: Installing CSD's |
|
|
Newbie
Joined: 02 Sep 2004 Posts: 8 Location: Madison, Wisconsin
|
Whenever I try to install a CSD, it errors out & tells me "mq files are currently in use"....or something to that extent. I have stopped my qmgr, listener, etc, and killed all amq* processes in task manager (win2k). What else should I be looking for or doing? (or killing)
Thanks! |
|
Back to top |
|
 |
Ratan |
Posted: Thu Sep 09, 2004 7:33 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
use 'MQPINUSEOK=1' _________________ -Ratan |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 09, 2004 8:26 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
What are the ramifications of using this switch instead of hunting down the exes that are using the files and manually stopping them? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Ratan |
Posted: Thu Sep 09, 2004 8:33 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I am not aware of any. Whenever I run into this problem I use that switch. I tried to hunt down the execs locking the files in vain, so take this approach. _________________ -Ratan |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 09, 2004 8:34 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Not sure about the ramifications of the switch, but I also know that you can have problems with performance monitoring tools and the Windows Service 'Windows Management Instrumentation'. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 09, 2004 8:41 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
So if you can simply get around the problem with a switch, and there seems to be no negative impact, why doesn't IBM just make this happen automatically, instead of throwing us errors everytime we try to install a CSD? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
JasonE |
Posted: Thu Sep 09, 2004 8:41 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Best case - A reboot...
Basically we try to ensure we can just install and go, whereas if files are in use, we assume theres a problem.
However, this flag enables the install to be deferred until reboot time
My slight concern is I dont know (unless I go hunting the code!) whether only the files in use are deferred or the whole install is deferred. If the first, then its just possible an app will load a dll which was upgraded whilst the install is going on, and get odd behaviour...Unlikely but a slight possibility. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Sep 09, 2004 10:47 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Even with that switch, I've still seen an upgrade fail because of "Files in Use". As Ron points out, these are usually Instrumentation issues.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
JasonE |
Posted: Thu Sep 09, 2004 11:20 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
If you have a files in use problem which isnt solved by the mqpinuseok, then let me know (grab the amqicsdn.log from %temp%) via PM - That should word, as far as I know. |
|
Back to top |
|
 |
mq_crazy |
Posted: Thu Sep 09, 2004 1:14 pm Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
I always have same problem. What i do is i will go to the windows services under control panel\administrative tools and stop IBM mqseries process and windows management instrumentation and try again and it works. |
|
Back to top |
|
 |
rammer |
Posted: Fri Sep 10, 2004 12:53 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
When ever we have had this problem we have found the quickest way is to disable the MQ Services from starting and reboot the dam thing!! |
|
Back to top |
|
 |
JasonE |
Posted: Fri Sep 10, 2004 12:57 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I would still echo that MQPINUSEOK should work in all scenarios (that I've known about).
The problem is the dlls can be held onto by MQ, applications, MQ's guis, anyone who has loaded the performance tokens and is still running (eg. WMI), MSCS, any java application with com.ibm.mq.jar on the classpath EVEN if it never uses any of the MQ java interface!, etc etc....
If you look in your temporary directory (%temp%), we write a file amqicsdn.log (cumulative, so make sure you find the right invocation of any attempt to install). In there it logs exactly which file(s) the install is failing on (Search for "in use" or "unacceptable" or "error"). |
|
Back to top |
|
 |
|