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 » IBM MQ Security » AMQ4059 issue on Windows 7, 64 bits

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 AMQ4059 issue on Windows 7, 64 bits « View previous topic :: View next topic » 
Author Message
bruce2359
PostPosted: Thu Dec 27, 2012 7:46 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Does this fail only on QM1? How about QM2?
_________________
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
View user's profile Send private message
drodrick
PostPosted: Fri Dec 28, 2012 8:18 am    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

Yes, both QM1 and QM2 give the same results, AMQ4059.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Dec 28, 2012 9:03 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

You've told us what does NOT work. What does work?

Can you get SDR-RCVR channels between QM1 and QM2 to work?
_________________
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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 28, 2012 10:46 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Prove you have network connectivity to this hostname and port. Open up a command prompt and type in
Code:
telnet nnnn xxxx

replace nnnn with the DNS name of the host where the QM is running
replace xxxx with the port number that QM's Listener is listening on. Even if its 1414, specify it.

If this works, the command prompt window will go blank meaning you've established a connection. Or it will throw an error.

Post the command you enter and the results.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
drodrick
PostPosted: Fri Dec 28, 2012 11:25 am    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

Quote:
Can you get SDR-RCVR channels between QM1 and QM2 to work?


No. It remains in 'Retrying' mode. Following error messages are found in AMQERR01.LOG. See the characters after (192.168.1.45)(1415). I am surprised about those junk characters.

----- amqrccca.c : 1003 -------------------------------------------------------
12/28/2012 14:18:39 - Process(5696.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
Host(MYCOMPUTER) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM1)

AMQ9002: Channel 'QM1.QM2' is starting.

EXPLANATION:
Channel 'QM1.QM2' is starting.
ACTION:
None.
-------------------------------------------------------------------------------
12/28/2012 14:18:40 - Process(5696.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
Host(MYCOMPUTER) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM1)

AMQ9209: Connection to host 'MyComputer (192.168.1.45)(1415)Owk¶ )^' for
channel 'QM1.QM2' closed.

EXPLANATION:
An error occurred receiving data from 'MyComputer
(192.168.1.45)(1415)Owk¶ )^' over TCP/IP. The connection to the remote host
has unexpectedly terminated.

The channel name is 'QM1.QM2'; in some cases it cannot be determined and so is
shown as '????'.
ACTION:
Tell the systems administrator.
----- amqccita.c : 3694 -------------------------------------------------------
12/28/2012 14:18:40 - Process(5696.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
Host(MYCOMPUTER) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM1)

AMQ9999: Channel 'QM1.QM2' to host 'MyComputer(1415)' ended abnormally.

EXPLANATION:
The channel program running under process ID 5696(5832) for channel 'QM1.QM2'
ended abnormally. The host name is 'MyComputer(1415)'; in some cases the host
name cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.
----- amqrccca.c : 1003 -------------------------------------------------------


Quote:
Prove you have network connectivity to this hostname and port


Yes, command window goes blank, means successful. I entered following.

telnet MyComputer 1414

Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Dec 28, 2012 1:10 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

drodrick wrote:
Quote:
Can you get SDR-RCVR channels between QM1 and QM2 to work?


No. It remains in 'Retrying' mode. Following error messages are found in AMQERR01.LOG. See the characters after (192.168.1.45)(1415). I am surprised about those junk characters.

[color=blue]----- amqrccca.c : 1003 -------------------------------------------------------
12/28/2012 14:18:39 - Process(5696.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
Host(MYCOMPUTER) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM1)

AMQ9002: Channel 'QM1.QM2' is starting.

EXPLANATION:
Channel 'QM1.QM2' is starting.
ACTION:
None.
-------------------------------------------------------------------------------
12/28/2012 14:18:40 - Process(5696.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
Host(MYCOMPUTER) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM1)

AMQ9209: Connection to host 'MyComputer (192.168.1.45)(1415)Owk¶ )^' for
channel 'QM1.QM2' closed.

Try this:
1) Disable CHLAUTH qmgr attribute, then try again.
2) Display using runmqsc the SDR channel definition, 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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 28, 2012 1:23 pm    Post subject: Re: AMQ4059 issue on Windows 7, 64 bits Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

drodrick wrote:

I have installed MQ V7 ver 7.0.0.0 Server on my laptop.


OK, first things first. Download and apply Fix Pack 7.0.1.9. This may or may not solve THIS problem, but it will solve many other problems waiting for you.

drodrick wrote:

Quote:
Prove you have network connectivity to this hostname and port


Yes, command window goes blank, means successful. I entered following.

telnet MyComputer 1414


OK, now that you know network connectivity works, lets try a very basic MQ Client connection test. From a command prompt on the same machine where your telnet test worked, type this:
Code:

amqscnxc -x nnnn(xxxx) - c yyyy

replace nnnn with the DNS name of the host where the QM is running
replace xxxx with the port number that QM's Listener is listening on. Even if its 1414, specify it.
replace yyyy with the SVRCONN channel on the QM that is set up for these connections.

If it works it will connect to the QM, grab the QM's name, and disconnect. Or it will fail and return a 4 digit reason code.

Post your results.

Upgrade to 7.0.1.9 first!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
drodrick
PostPosted: Sat Dec 29, 2012 10:37 am    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

bruce2359 wrote:

Quote:
1) Disable CHLAUTH qmgr attribute, then try again.



Tried after disabling Communication/channel authentication records property of the queue manager, but no luck.

bruce2359 wrote:
Quote:
2) Display using runmqsc the SDR channel definition, post it here.


Here is the output in runmqsc for the SDR channel.

DISPLAY CHANNEL (QM1.QM2) TYPE(SDR)
1 : DISPLAY CHANNEL (QM1.QM2) TYPE(SDR)
AMQ8414: Display Channel details.
CHANNEL(QM1.QM2) CHLTYPE(SDR)
ALTDATE(2012-12-2 ALTTIME(14.05.24)
BATCHHB(0) BATCHINT(0)
BATCHLIM(5000) BATCHSZ(50)
COMPHDR(NONE) COMPMSG(NONE)
CONNAME(MyComputer(1415)) CONVERT(NO)
DESCR( ) DISCINT(6000)
HBINT(300) KAINT(AUTO)
LOCLADDR( ) LONGRTY(999999999)
LONGTMR(1200) MAXMSGL(4194304)
MCANAME( ) MCATYPE(PROCESS)
MCAUSER( ) MODENAME( )
MONCHL(QMGR) MSGDATA( )
MSGEXIT( ) NPMSPEED(FAST)
PASSWORD( ) PROPCTL(COMPAT)
RCVDATA( ) RCVEXIT( )
RESETSEQ(1) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SEQWRAP(999999999)
SHORTRTY(10) SHORTTMR(60)
SSLCIPH( ) SSLPEER( )
STATCHL(QMGR) TPNAME( )
TRPTYPE(TCP) USEDLQ(YES)
USERID( ) XMITQ(QX1)


PeterPotkay wrote:
Quote:
OK, first things first. Download and apply Fix Pack 7.0.1.9. This may or may not solve THIS problem, but it will solve many other problems waiting for you.


I downloaded the service pack and tried to install it, but received following error message, at the end of the installation.

IBM WebSphere MQ Version 7.0 is not installed. (AMQ4756)

I tried following to make it work, but unsuccessful.

- Ran the exe file, by double clicking on it in Windows Explorer and also thru command prompt. Both time ran it as administrator.
- Ran after rebooting the computer.
- Ran after disabling Norton
- Ran in the same folder where the package was downloaded and unzipped. (As per the recommendation in following IBM Technote, with and without the option MQPINUSEOK=1.

http://www-01.ibm.com/support/docview.wss?uid=swg21214099

Still trying to figure it out...

Code:
amqscnxc -x nnnn(xxxx) - c yyyy


C:\Windows\system32>amqscnxc -x MyComputer(1414) -c SYSTEM.ADMIN.SVRCONN
Sample AMQSCNXC start
Connecting to the default queue manager
using the server connection channel SYSTEM.ADMIN.SVRCONN
on connection name MyComputer(1414).
MQCONNX ended with reason code 2538


Thank you guys, for all your time and efforts!!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Dec 29, 2012 12:20 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

drodrick wrote:

I downloaded the service pack and tried to install it, but received following error message, at the end of the installation.

IBM WebSphere MQ Version 7.0 is not installed. (AMQ4756)

I'm confused. Are you attempting to run the WMQ Explorer from a pc other than your laptop?

Quote:
VRMF(7.5.0.0) QMgr(QM1)
says that QM1 is a WMQ 7.5.0.0 qmgr, not 7.0.

At a c: prompt on the server pc, execute the command dspmqver . Post the results here.

At a c: prompt on the client pc, execute the command dspmqver . Post the results here

For clarity, you have WMQ 7.0 server software installed on your laptop; and NOT WMQ 7.5?

For clarity, where are you attempting to run the WMQ Explorer from?
_________________
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
View user's profile Send private message
fjb_saper
PostPosted: Sat Dec 29, 2012 12:23 pm    Post subject: Reply with quote

Grand High Poobah

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

For clarity let's also make sure he has not both versions of MQ co-located on his laptop...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
drodrick
PostPosted: Sat Dec 29, 2012 5:20 pm    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

Yes, your doubt is right. It is 7.5.0.0.

C:\Windows\System32>dspmqver
Name: WebSphere MQ
Version: 7.5.0.0
Level: p000-L120604
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Windows
Mode: 32-bit
O/S: Windows 7 Ultimate x64 Edition, Build 7601: SP1
InstName: Installation1
InstDesc:
InstPath: C:\Program Files (x86)\IBM\WebSphere MQ
DataPath: C:\Program Files (x86)\IBM\WebSphere MQ
Primary: Yes
MaxCmdLevel: 750


There is only ONE installation and server and client are on the same computer, my laptop.

Sorry, for the confusion. There are installable files for both 7.0 and 7.5 version on my hard drive. What would have happened that, while reinstalling the WMQ again and again, I must have used the installable files for 7.5, unknowingly.

I tried all the solutions/tests suggested above AGAIN and got the same results mentioned. Still get the almost same message as follows.

Could not establish a connection to the queue manager - reason 2009. (AMQ4059)
Severity: 10 (Warning)
Explanation: The attempt to connect to the queue manager failed. This could be because the queue manager is incorrectly configured to allow a connection from this system, or the connection has been broken.
Response: Try the operation again. If the error persists, examine the problem determination information to see if any information has been recorded.





Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Dec 29, 2012 5:34 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Time for a clean install. Download tge Quick Beginnings manual for one version of wmq. Follow the instructions very carefully.

Your wmq installation is likely corrupted. Uninstall wmq entirely from your laptop. Then reinstall. Then try all this again.
_________________
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
View user's profile Send private message
drodrick
PostPosted: Sun Dec 30, 2012 7:59 am    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

Ok. 'Uninstalled' the program thru Control Panel, removed from registry completely and deleted the folder 'WebSphere MQ' from 'Program files (x86)'. Then reinstalled the ver 7.5.0.0 as administrator, as mentioned on IBM's online document 'Installing WebSphere MQ'. Verified the installation by amqsput and amqsget.

Still no luck, got the same error.

Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Dec 30, 2012 8:35 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Next, read the WMQ Intercommunications manual (or InfoCenter equivalent) on basic WMQ network configuration. There are examples that work when followed.
_________________
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
View user's profile Send private message
drodrick
PostPosted: Sun Dec 30, 2012 2:39 pm    Post subject: Reply with quote

Novice

Joined: 26 Dec 2012
Posts: 17

bruce2359 wrote:
Next, read the WMQ Intercommunications manual (or InfoCenter equivalent) on basic WMQ network configuration. There are examples that work when followed.


FYI, I am a certified IBM MQ Series Specialist, having more than 8 years of experience in MQ, but do not have versatile expertise like you guys have. I tried whatever is in my brain, for last one month. Now I seek help from masters, thinking that I may be missing something which is new in ver 7.0.0.0 or 7.5.0.0 and with Windows 7, x64.

It looks like I will have to postpone my application testing until Linux servers are ready.

Thank you for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » IBM MQ Security » AMQ4059 issue on Windows 7, 64 bits
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.