Author |
Message
|
DyneMc |
Posted: Wed Dec 29, 2010 8:50 pm Post subject: crtmqm didn't give any response |
|
|
Newbie
Joined: 29 Dec 2010 Posts: 7
|
Greetings all,
I'm sorry if my first post here is a question but I have an urgent problem.
Last week, our websphere expert are gone from the company, so they give me the "responsibility" to setting the MQ on server for our new client.
I try to create a new queue manager using script like this :
crtmqm -u SYSTEM.DEAD.LETTER.QUEUE cw.qm
and got no response (no error,no success message, nothing)
when I try to start it using "strmqm cw.qm" it said :
AMQ8118: WebSphere MQ queue manager does not exist.
So that mean the crtmgm command is not working right?
I try to get a error response from the crtmqm command (I try crtmqm -y, crtmqm -xx and other combination) and still get no response.
the other command (strmqm,dltmqm,etc) give the correct response either it error or success message.
right now I'm stuck since I can't create the queue.
I try to use the default queue (venus.queue.manager) for temporary fix, but I still need to create the queue.
On second question, after I move using venus.queue.manager, I try running my java program and got the error MQJE001 RC 2009, from what I search it mean that the java apps have managed to connect with my queue but then disconnected, am I right?
this is the possible cause that I found for RC 2009
1. A firewall that is terminating the connection.
2. An IOException that causes the socket to be closed.
3. An explicit action to cause the socket to be closed by one end.
4. The queue manager is offline.
5. The maximum number of channels allowed by the queue manager are open.
6. A configuration problem in the Queue Connection Factory (QCF).
the java apps and the queue are on the same machine so I guess the firewall wouldn't be a problem.
I don't understand the others cause so anyone can tell me what to do or point me to where I can found the answer?
(please be patient with me here, I'm learning this thing on the fly so I may know advanced stuff and still don't understand the basic stuff)
Thank you for the help |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 29, 2010 8:58 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
In order to create (and start) a qmgr successfully, the userId attempting this action needs to be a member of the mqm group (and a member of the administrator group in windows).
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
DyneMc |
Posted: Wed Dec 29, 2010 9:04 pm Post subject: |
|
|
Newbie
Joined: 29 Dec 2010 Posts: 7
|
@fjb_saper
The user that try create and starting the qmgr is already under the mqm group (the server use hp-ux as OS)
In fact I manage to start and stop the default queue (venus) but still can't create the queue
If there is others detail that you need please tell me, so I can give it.
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 30, 2010 12:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
DyneMc wrote: |
@fjb_saper
The user that try create and starting the qmgr is already under the mqm group (the server use hp-ux as OS)
In fact I manage to start and stop the default queue (venus) but still can't create the queue
If there is others detail that you need please tell me, so I can give it.
Thanks |
You are starting to confuse us with contradictory terms:
- You do not start and stop a queue. A queue lives under a qmgr
- you start and stop a qmgr
- you create a queue in a qmgr using tools like MQExplorer, MO71, runmqsc or MO72
This being said and if you can't get it done with the mqm userId, you might have a problem with permissions in your file system... or your qmgr access (reason code 2035)
Was any FDC generated? (/var/mqm/errors) (only post header not full FDC)
What are the permissions of /var/mqm, /var/mqm/qmgrs, /var/mqm/errors,
How much free space do you have on /var/mqm ? (absolute and %)
If everything seems fine... open a PMR.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
DyneMc |
Posted: Thu Dec 30, 2010 2:21 am Post subject: |
|
|
Newbie
Joined: 29 Dec 2010 Posts: 7
|
@fjb_saper
sorry for the misunderstanding.
I manage to run the strmqm,runmqsc, and endmqm without problem
I don't get any response while try to run the crtmqm command (no error message nor success message)
no FDC created and all permission in var/mqm, /var/mqm/qmgrs, /var/mqm/errors belong to mqm
and for disc space I have :
1024-blocks Used Available Capacity Mounted on
8666944 2281944 6385000 27% /var
is there anything else I need to check?
and could you point me on where I can found tutorial about PMR? I already search about PMR and I can't understand anything from what I found (only know that it stand for Prob Management Record)  |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 30, 2010 3:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
DyneMc wrote: |
and could you point me on where I can found tutorial about PMR? I already search about PMR and I can't understand anything from what I found (only know that it stand for Prob Management Record)  |
Google for "IBM PMR" and it'll turn up all there is to know.
It's just a request for support from IBM. Clearly it comes in various priorities, according to criteria.
If all else fails, speak to your IBM account rep. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Thu Dec 30, 2010 4:40 am Post subject: Re: crtmqm didn't give any response |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
DyneMc wrote: |
...Last week, our websphere expert are gone from the company, so they give me the "responsibility" to setting the MQ on server for our new client... |
And push back on your management to give you training, i.e. courses. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 30, 2010 5:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 30, 2010 5:14 am Post subject: Re: crtmqm didn't give any response |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
DyneMc wrote: |
...Last week, our websphere expert are gone from the company, so they give me the "responsibility" to setting the MQ on server for our new client... |
And push back on your management to give you training, i.e. courses. |
At the very least manage their expectations. Management often fail to fully grasp the most obvious things, like the difference between "websphere expert" and "doesn't know what a PMR is".
No disrespect is intended. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 30, 2010 10:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
1024-blocks Used Available Capacity Mounted on
8,666,944 2,281,944 6,385,000 27% /var
|
I figure this to say
Total 8,666,944 => due to your 1024 blocks comment I don't know if that is 8 MB or 8 GB
Used 2,281,944
Available 6,385,000
used % = 27%
So you should no have any problem with space...
If you have other similarly configured boxes (HP with MQ), check the access rights of your executables (crtmqm) against what the other box shows...
Open a PMR!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 30, 2010 11:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
..and got no response (no error,no success message, nothing) |
You mean that after you typed to crtmqm command and pressed the enter key, you saw the unix $ prompt character?
Please retry the command. Copy the entire conversation, and post it here. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
DyneMc |
Posted: Thu Dec 30, 2010 6:25 pm Post subject: |
|
|
Newbie
Joined: 29 Dec 2010 Posts: 7
|
@vitor
I'll try to google that. I already give my report to my client and ask them to contact the IBM.I don't know if they'll contact the IBM or left the rest to me and asking for miracle
@fjb_saper
I already compared the setting, access right,mqs.ini between the server in my office with the server in the client. So far nothing different, I'll probably will run check on all file and folder just to make sure
@bruce2359
yup,you are right. This is the entire conversation :
$ whoami
cwmgr
$ groups
cwapp dba mqm
$ crtmqm -u SYSTEM.DEAD.LETTER.QUEUE cw.qm
$ strmqm cw.qm
AMQ8118: WebSphere MQ queue manager does not exist.
$ crtmqm
$ crtmqm -y
$ crtmqmq
sh: crtmqmq: not found.
$
is this enough? |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 30, 2010 6:53 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
does "dspmq" show that you have a qmgr "CW.QM"? |
|
Back to top |
|
 |
DyneMc |
Posted: Thu Dec 30, 2010 7:54 pm Post subject: |
|
|
Newbie
Joined: 29 Dec 2010 Posts: 7
|
@mqjeff
nope, this is what I got when writing dspmq
$ dspmq
QMNAME(venus.queue.manager) STATUS(Running) |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 30, 2010 8:39 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Try once again to create a qmgr. Note the time of day.
Then, navigate down the mq install filesystem path /var/mqm/errors/
Browse the current error log file AMQERR01.LOG for an entry for the same time of day.
Post anything around the same time. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|