Author |
Message
|
JimHammond |
Posted: Wed Oct 22, 2003 12:11 pm Post subject: Problem running Client example on HPUX 11i |
|
|
Newbie
Joined: 22 Oct 2003 Posts: 5
|
I am trying to run the client example for HP-UX with a queue that is already defined on a server. I can ping the server, have an environment
variable called MQSERVER and have tried running the amqsputc program.
I get the following message.
Sample AMQSPUT0 start
MQCONN ended with reason code 2195
When I look in the error log, I see the following. It looks like there is a
problem reading an ini file. There was no qm.ini file created when I did the install, but I manually added one in the /var/mqm directory. I still get
the same error. Anyone have any thoughts?
Thanks,
Jim
+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Wednesday October 22 15:08:22 EDT 2003 |
| Host Name :- ncb10904 (HP-UX B.11.11) |
| PIDS :- 5724B4102 |
| LVLS :- 530.4 CSD04 |
| Product Long Name :- WebSphere MQ for HP-UX |
| Vendor :- IBM |
| Probe Id :- ZT049001 |
| Application Name :- MQM |
| Component :- zutPreReadMachineIniFile |
| Build Date :- Jul 3 2003 |
| CMVC level :- p530-CSD04J |
| Build Type :- IKAP - (Production) |
| UserID :- 00000106 (UNKNOWN) |
| Program Name :- amqsputc |
| Process :- 00026901 |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- xecU_E_INI_FILE_NOT_FOUND |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal WebSphere MQ error has occurred |
| (20006166) |
| FDCSequenceNumber :- 0 |
| Arith1 :- 536895846 20006166 |
| |
| |
+-----------------------------------------------------------------------------+
No MQM Function Stack Available
+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Wednesday October 22 15:08:22 EDT 2003 |
| Host Name :- ncb10904 (HP-UX B.11.11) |
| PIDS :- 5724B4102 |
| LVLS :- 530.4 CSD04 |
| Product Long Name :- WebSphere MQ for HP-UX |
| Vendor :- IBM |
| Probe Id :- ZS266000 |
| Application Name :- MQM |
| Component :- lpiObtainQMDetails |
| Build Date :- Jul 3 2003 |
| CMVC level :- p530-CSD04J |
| Build Type :- IKAP - (Production) |
| UserID :- 00000106 (UNKNOWN) |
| Program Name :- amqsputc |
| Process :- 00026901 |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- MQRC_UNEXPECTED_ERROR |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal WebSphere MQ error has occurred |
| (893) |
| FDCSequenceNumber :- 1 |
| Arith1 :- 2195 893
+-----------------------------------------------------------------------------+
NSequenceNumber :- 1 |
| Arith1 :- 2195 893 |
| |
+-----------------------------------------------------------------------------+
No MQM Function Stack Available |
|
Back to top |
|
 |
Leafar |
Posted: Thu Oct 23, 2003 6:13 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
which are the permissions in you /var/mqm/mqs.ini file?
The qm.ini mus be in the /var/mqm/qmgrs/NAME/qm.ini not in /var/mqm
Saludos
Rafael |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 23, 2003 7:31 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You shouldnt need access to the INI files for this to work, However
I see user id = UNKNOWN ???? do you have a valid ID and does it have permissions on the system ???? also post your MQSERVER env variable _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JimHammond |
Posted: Thu Oct 23, 2003 9:27 am Post subject: |
|
|
Newbie
Joined: 22 Oct 2003 Posts: 5
|
I don't have a mqs.ini at all. One wasn't generated in the install.
I don't have the directory named for the queue manager, but I can add it if I need to. I assumed that both of these things were just needed for the server portion of the software.
The MQSERVER environment variable is set in my .profile and it is
MQSERVER=CHNLCITR/TCP/'167.33.333.33(1414)'
The CHNLCITR is a valid channel and the port number is the one that is
being used on the windows box that hosts the server. I may not understand your question about the user. If you are asking if I have a valid Unix user account on the HP, I do. I have a mqm user in a mqm group, and that is the user that owns the client software and that is also the user that I try to run the example with.
Thanks
Jim |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 23, 2003 5:40 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well you have an invalid IP Address listed in the post. Well I was confused by which platform had MQSeries Server. Your unix id needs to exist on the windows box, but that doesnt explain the 2195. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JimHammond |
Posted: Thu Oct 23, 2003 6:10 pm Post subject: |
|
|
Newbie
Joined: 22 Oct 2003 Posts: 5
|
Sorry about that. I meant to say in the post that I wasn't showing the real IP. But rest assured that the one I have in the Environment Variable is correct. I can ping it and it is good.
The MQSeries Server is hosted on a Win 2000 Box. The client in on an HP rp5470 running HP-UX 11i. The MQ client software on the HP is installed as the mqm user. Not sure about the user for the server since another organization is maintaining it. I can find out of course. You do have me curious now. Are you saying that the name of the userid on the server and that on the client must be the same?
Thanks,
Jim |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 23, 2003 7:08 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
For a client connection yes, the ID has to exist and it also has to be given permissions to access the queue manager and queues. But if this was the current issue then you would get a 2035 not a 2195.
When you installed client which CD did you use the client cd or the
SERVER cd and just installed the client portion ???? If so you need to install from the client CD to install just the client _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JimHammond |
Posted: Thu Oct 23, 2003 7:15 pm Post subject: |
|
|
Newbie
Joined: 22 Oct 2003 Posts: 5
|
|
Back to top |
|
 |
JimHammond |
Posted: Thu Oct 30, 2003 7:30 am Post subject: |
|
|
Newbie
Joined: 22 Oct 2003 Posts: 5
|
Ok, the resolution to this problem did indeed turn out to be the missing or incorrectly placed ini files. I manually created the /var/mqm/mqs.ini file
and also moved the qm.ini file to /var/mqm/qmgrs/NAME/qm.ini. Not sure if it took both to correct the problem, but it now works. Thanks Rafael and
mrlinux |
|
Back to top |
|
 |
|