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 » Miscellaneous Questions /observation

Post new topic  Reply to topic Goto page 1, 2  Next
 Miscellaneous Questions /observation « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Thu Jan 10, 2008 8:25 am    Post subject: Miscellaneous Questions /observation Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>

===============================

I have never seen this before. Is there any cure for this or do I have to reinstall MQ? I am using MQ v53.11


MQ as such is working okay.

2. General practice I have seen for MQ for unix ( any flavor->AIX, solaris or Linux) was that the use of mqm user for creating qmgr or any other admin work. My current project seems working differently. All the admin are added to mqm group but they do not switch to mqm for admin activities including creating qmgr or anything. I am wondering whether there is any harm technical doing this way? One thing is that the user running /starting qmgr will be different, but will this matter technically? though I know this is not a good practice.



3. is there any work of the residentail portion of mq for windows except other than starting up qmgr whent the box comes up and the proces starts up?

Thank you a lot for your input
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 10, 2008 8:43 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jeevan wrote:
A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>



Looks like runmqsc is working to me - what were you expecting to happen? I don't see an error - you type runmqsc, it starts, you don't type anything and it stops. What's the problem?

jeevan wrote:
All the admin are added to mqm group but they do not switch to mqm for admin activities including creating qmgr or anything. I am wondering whether there is any harm technical doing this way?


So long as the demons are running as mqm there's no problem, but I'd wonder about file ownership & things like that. Typically you log on as your user & su into mqm to provide an audit trail. On sites not bothered about auditing (e.g. in dev environments) the mqm password tends to be known to the team and everyone logs on as that because it justs eliminates any possible funny stuff!

jeevan wrote:

3. is there any work of the residentail portion of mq for windows except other than starting up qmgr whent the box comes up and the proces starts up?


I don't understand the question - what do you mean by "residential portion of mq"?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Jan 10, 2008 9:38 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

jeevan wrote:
I am using MQ v53.11


I'd also suggest moving forward to a supported version.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
PeterPotkay
PostPosted: Thu Jan 10, 2008 10:12 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:
jeevan wrote:
A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>



Looks like runmqsc is working to me - what were you expecting to happen? I don't see an error - you type runmqsc, it starts, you don't type anything and it stops. What's the problem?


Vitor, it should sit there indefinitly waiting for input. It should only end if the user types "end" and then hits enter.

It looks like for jeevan it fires up and immediatly ends without any user interaction.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Jan 10, 2008 10:15 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Vitor wrote:
jeevan wrote:
A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>



Looks like runmqsc is working to me - what were you expecting to happen? I don't see an error - you type runmqsc, it starts, you don't type anything and it stops. What's the problem?

No, it does not run just comes out without entering into the shell. We have plan to migrate ( this is in v53.11) so I do not like to put a lot of effort fixing this , but wondering what might have caused this.


jeevan wrote:
All the admin are added to mqm group but they do not switch to mqm for admin activities including creating qmgr or anything. I am wondering whether there is any harm technically doing this way?


So long as the demons are running as mqm there's no problem, but I'd wonder about file ownership & things like that. Typically you log on as your user & su into mqm to provide an audit trail. On sites not bothered about auditing (e.g. in dev environments) the mqm password tends to be known to the team and everyone logs on as that because it justs eliminates any possible funny stuff!

What is the bottom line you are trying to tell me? is it okay from the technical point of view.
jeevan wrote:

3. is there any work of the residentail portion of mq for windows except other than starting up qmgr whent the box comes up and the proces starts up?


I don't understand the question - what do you mean by "residential portion of mq"?


My point is there is IBM MQseries process running in Windows. What's its job except starting qmgr when the server is coming up provided that the qmgr start up are set to automatic.

FYI: tjhere is plan to migrate to v6 sometime soon.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Jan 10, 2008 10:19 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

PeterPotkay wrote:
Vitor wrote:
jeevan wrote:
A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>



Looks like runmqsc is working to me - what were you expecting to happen? I don't see an error - you type runmqsc, it starts, you don't type anything and it stops. What's the problem?


Vitor, it should sit there indefinitly waiting for input. It should only end if the user types "end" and then hits enter.

It looks like for jeevan it fires up and immediatly ends without any user interaction.


Thanks peter,

Yer, you got it. This is what it happens. I am curious whether there is less costly remedy and why this might happen.

Thanks a lot
Back to top
View user's profile Send private message
LouML
PostPosted: Thu Jan 10, 2008 10:23 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Partisan

Joined: 10 Nov 2005
Posts: 305
Location: Jersey City, NJ / Bethpage, NY

PeterPotkay wrote:
Vitor wrote:
jeevan wrote:
A few of my boxes do not run runmqsc command. What I mean is like follows:

===========================
D:\mqm>runmqsc XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager XXXXXXXX.


No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

D:\mqm>



Looks like runmqsc is working to me - what were you expecting to happen? I don't see an error - you type runmqsc, it starts, you don't type anything and it stops. What's the problem?


Vitor, it should sit there indefinitly waiting for input. It should only end if the user types "end" and then hits enter.

It looks like for jeevan it fires up and immediatly ends without any user interaction.


I still don't understand why IBM decided not to use a command prompt for runmqsc on Unix/Linux/Windows. The Tandem NSK version of runmqsc uses a command prompt.

I spent a lot of years working on Tandem. Definitely took some getting used to not having a command prompt. I'd fire off runmqsc and wait, cursing my slow-piece-of-junk server, only to remember - wait - there is no prompt.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 11, 2008 8:24 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jeevan wrote:
Yesr, you got it. This is what it happens. I am curious whether there is less costly remedy and why this might happen.

Thanks a lot


I really don't know. Anything I try to reproduce the error always throws some error to the screen indicating specifically what the problem is (QM N/A, Not Authorized, etc).

Yours just ends cleanly.


_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Jan 11, 2008 10:55 am    Post subject: Re: Miscellaneous Questions /observation Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

PeterPotkay wrote:
jeevan wrote:
Yesr, you got it. This is what it happens. I am curious whether there is less costly remedy and why this might happen.

Thanks a lot


I really don't know. Anything I try to reproduce the error always throws some error to the screen indicating specifically what the problem is (QM N/A, Not Authorized, etc).

Yours just ends cleanly.



Yes. Also, MQ as such is working fine. When I asekd the guy who is there, he does not know. However, as I said, we are moving ahead, it is not critical. Just curious and thought whether I can solve with mim effort.

thansk a lot
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 11, 2008 12:53 pm    Post subject: Reply with quote

Grand High Poobah

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

On Unix Ctrl+d and on windows ctrl+Z followed by the enter key will also terminate that runmqsc session.

Has your input been redirected and runmqsc detects that?

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Fri Jan 11, 2008 1:12 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

fjb_saper wrote:
On Unix Ctrl+d and on windows ctrl+Z followed by the enter key will also terminate that runmqsc session.

Has your input been redirected and runmqsc detects that?

Enjoy


I do not think so. How can I check whether the input is directed?
The environment is Windows 2000 server and MQ 53.11
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 11, 2008 3:09 pm    Post subject: Reply with quote

Grand High Poobah

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

what happens if you redirect:

echo "dis qmgr" | runmqsc MYQMGR

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Fri Jan 11, 2008 6:02 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Yes, I have tested this already. It does not work either. It comes out same way the runmqsc comes out.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 12, 2008 5:13 pm    Post subject: Reply with quote

Grand High Poobah

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

open a PMR
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Sat Jan 12, 2008 9:14 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

This is the result:

P:\>echo DIS QL(TEST.CLUSTER) | RUNMQSC XXXXXXXX

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.

Starting MQSC for queue manager MQPOSE3A.



No MQSC commands read.

No commands have a syntax error.

All valid MQSC commands were processed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Miscellaneous Questions /observation
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.