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 » Archives - All » MQRC 2059 Connecting to QMgr With MQSSX Enabled on SVRCONN

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 MQRC 2059 Connecting to QMgr With MQSSX Enabled on SVRCONN « View previous topic :: View next topic » 
Author Message
belchman
PostPosted: Thu Jan 04, 2007 4:52 am    Post subject: MQRC 2059 Connecting to QMgr With MQSSX Enabled on SVRCONN Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

Situation:

I have MQv6 on AIX with MQSSX v1.2.0 installed on remote host
I have MQv6 on Windows on local host

On local host, I perform amqsputc over SvrConnA to remote host with SCYEXIT and SCYDATA null and the put succeeds. If I populate the channel attributes as indicated in user guide, I get a 2059.

Any suggestions?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 04, 2007 4:59 am    Post subject: Reply with quote

Grand High Poobah

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

Aside from the obvious, that one of the channel attribute settings is incorrect for your environment, not really.

Can I assume it's repeatable - no SCY* attributes set it works, set them get a 2059, remove them and it works again? And also that you've methodically checked your security set-up (certificates etc) and are confident these are all correct?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
belchman
PostPosted: Thu Jan 04, 2007 5:38 am    Post subject: Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

Rule 1... don't assume I do not have obvious errors. However, if I do, it isn't obvious to me.

It is repeatable. If I leave SCYEXIT and SCYDATA null, I can do a put. If I set them to '/var/mqm/exits64/mqssx(SecExit)' and '/var/mqm/exits64/mqssx.ini', then I get a 2059.

Here is the listing for the exits64 directory...

-r-xr-x--- 1 mqm mqm 56759 Nov 30 02:10 mqssx
-rw-r----- 1 mqm mqm 224 Jan 2 16:01 mqssx.ini

BTW, here is the mqssx.ini. I changed some things to rule out AIX security issues but they didn't work either...

#LogMode=N
#LogMode=Q
LogMode=V
#
#LogFile=/var/mqm/exits64/mqssx.log
LogFile=/home/zn18634/mqssx.log
AllowUserID=*
Allowmqm=Y
AllowBlankUserID=N
UseMCC=N
UseAllowIP=N
UseProxy=N
License=topsecret(i didn't want to post license key on web)
#
### The End ###

I tried to enable verbose logging, hoping it would trap my failed connect attempt, but the log file never appeared...

I appreciate any clues anyone can throw my way.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jan 04, 2007 8:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

Hi,
belchman wrote:
I have MQv6 on AIX with MQSSX v1.2.0 installed on remote host

You mean MQSSX v1.1.0 - right?
belchman wrote:
I tried to enable verbose logging, hoping it would trap my failed connect attempt, but the log file never appeared...

Hummm, this points to something being wrong in your setup. Try the following log settings (Debug):
Code:
LogMode=D
LogFile=/var/mqm/exits64/mqssx.log


If it generates a log you might want to send it to me privately at the "support at capitalware dot biz".

Secondly, by chance did you install the 32-bit version of MQSSX rather than the 64-bit version (WMQ v6 requires the 64-bit version of MQSSX). This is easy to check. Have a look at the QMgr error log located at:
/var/mqm/qmgrs/QMgrName/errors/AMQERR01.LOG

Are there any entries about a problem loading MQSSX?

For the amqsputc program, how are you specifying the remote QMgr parameters? MQSERVER environment variable?

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
belchman
PostPosted: Fri Jan 05, 2007 5:04 am    Post subject: Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

Roger,

You are correct. I had the 32-bit software installed in the /var/mqm/exits64 directory.

I have requested the AIX admin correct the problem and will get back to you via support at capitalware dot biz.

To answer your other questions:

You mean MQSSX v1.1.0 - right? I am not sure... whichever one you licensed me for.

Are there any entries about a problem loading MQSSX? Yes. It was telling me it could find nothing on /var/mqm/exits. I did not think that your software would write to MQM logs. Now I know, eh.

For the amqsputc program, how are you specifying the remote QMgr parameters? MQSERVER environment variable? MQSERVER env var.

Out!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 05, 2007 5:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

For the record, Roger's software doesn't write to the MQ logs.

His software is loaded by the queue manager, and runs inside the queue manager. So if the queue manager has errors loading or running his software, then the queue manager will write to it's own logs to complain about the problem.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jan 05, 2007 8:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

Hi,

Jeff, is absolutely correctly. MQSSX does not write to the MQ logs but it is the QMgr that is complaining about a problem with the exit.

belchman wrote:
Are there any entries about a problem loading MQSSX? Yes. It was telling me it could find nothing on /var/mqm/exits.

Hummm, this looks odd (unless it is a typo). Did it complain about nothing in /var/mqm/exits or /var/mqm/exits64 ?

On AIX for WMQ v5.*, the exit directory is /var/mqm/exits and the security exit must be 32-bit.

On AIX for WMQ v6, the exit directory is /var/mqm/exits64 and the security exit must be 64-bit.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Tue Jan 09, 2007 8:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

Follow-up:

After he installed the 64-bit release of the security exit, everything started to work just fine.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » MQRC 2059 Connecting to QMgr With MQSSX Enabled on SVRCONN
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.