Author |
Message
|
yonny |
Posted: Tue May 18, 2010 3:05 pm Post subject: Problem with amqccgsk_r shared library on AIX |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
I am trying to configure a client connection with SSL where my queue manager is running on AIX (mq v7) and the client is running on windows (mq client v5.3).
On the AIX error log I am getting the message:
Code: |
The GSKitSSL communications program could not be loaded. |
And above this the error log shows:
Code: |
AMQ6175. The system could not dynamically load the shared library '/usr/mqm/lib64/amqccgsk_r'. The system returned error number '2' and error message 'A file of directory in the path name does not exist.' The queue manager will continue without this module. |
On the windows box: AMQ9559: A failure occurred during SSL handshaking.
(Did not copy and paste these errors, excuse me if there are mistakes).
This is the output of the ldd command:
Code: |
$ ldd /usr/mqm/lib64/amqccgsk_r
/usr/mqm/lib64/amqccgsk_r needs:
/usr/mqm/lib64/libmqmcs_r.a(shr.o)
/usr/lib/libc_r.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
Cannot find /usr/lib/libdl.a(shr_64.o)
/usr/lib/libiconv.a(shr4_64.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libc.a(shr_64.o)
|
The aix admin told me that the file not found by the ldd command is not necessarily /usr/lib/libdl.a, because there is a bug on the output of the ldd command and the missing library is not shown.
Am I missing a prerequisite on the AIX box? perhaps a prerequisite or an environment variable?
Any ideas will be appreciated. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed May 19, 2010 3:54 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Hmmm, I have that file on my system, so it does look like it is missing for you. I have several others like it too.
amqcc62a
amqcc62a_r
amqccgsk
amqccgsk75
amqccgsk75_r
amqccgsk_r
amqcctca
amqcctca_r
amqcltca
amqcltca_r |
|
Back to top |
|
 |
yonny |
Posted: Wed May 19, 2010 4:44 am Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Hello Joseph, do you have MQ 7 running on AIX?
Could you please post the output of: ldd /usr/mqm/lib64/amqccgsk_r of your system.
Thank you. |
|
Back to top |
|
 |
exerk |
Posted: Wed May 19, 2010 4:58 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
From one of or base-level V7 machines...
Code: |
mqm@[redacted]:/home/mqm$ dspmqver
Name: WebSphere MQ
Version: 7.0.1.0
CMVC level: p000-L090813
BuildType: IKAP - (Production)
mqm@[redacted]:/home/mqm$ ldd /usr/mqm/lib64/amqccgsk_r
/usr/mqm/lib64/amqccgsk_r needs:
/usr/mqm/lib64/libmqmcs_r.a(shr.o)
/usr/lib/libc_r.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/opt/ibm/gsksa/lib64/libgsk7ssl_64.so
/usr/lib/libdl.a(shr_64.o)
/usr/lib/libiconv.a(shr4_64.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/threads/libc.a(shr_64.o)
/usr/lib/libgsk7cms_64.so
/usr/lib/libC_r.a(shr_64.o)
/usr/lib/libC_r.a(shr2_64.o)
/usr/lib/libC_r.a(ansi_64.o)
/usr/lib/libgsk7sys_64.so
/usr/lib/libC.a(ansicore_64.o)
/usr/lib/libC.a(shrcore_64.o)
/usr/lib/libC.a(shr3_64.o)
/usr/lib/libC.a(shr2_64.o)
/usr/lib/libC.a(shr_64.o) |
SSL is working fine on this server... _________________ 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 |
|
 |
yonny |
Posted: Wed May 19, 2010 5:49 am Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Thank you exerk.
It seems that the AIX box I was using has an incomplete installation, I tried the ldd command on another AIX and the output was the same as yours.
So, I am moving my SSL' tests to that box.
I will return later to check what filesets are missing on the original aix server.
Best regards  |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 19, 2010 7:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You're missing the GSKit install, likely. |
|
Back to top |
|
 |
|