|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
issue with gsk6cmd |
« View previous topic :: View next topic » |
Author |
Message
|
j8mes |
Posted: Thu Jan 22, 2004 8:57 am Post subject: issue with gsk6cmd |
|
|
Novice
Joined: 22 Jan 2004 Posts: 12
|
On solaris 2.8 I have installed the latest macy_withSSL.tar.Z from the IBM web site.
Installed packages: mqm gsk6bas
gsk6cmd is me an error as follows:
./gsk6cmd -keydb -create -db /global1/james/keys.kdb -pw james -type cms -stash
JCE
ERROR: error message resource file is not well loaded.
If I truss the command I can see that the program is loading cfwk.zip and gsk6cls.jar, so it doesn't appear to be an issue with CLASSPATH:
...
28078: stat64("/opt/ibm/gsk6/classes/gsk6cls.jar", 0xEFFFCFE0) = 0
...
28078: stat64("/opt/ibm/gsk6/classes/cfwk.zip", 0xEFFFCFE0) = 0
This is the output of the truss just before the error is produced if this helps
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en.class", 0xEFFFD5D8) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en.class", 0xEFFFD5D8) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en.properties", 0xEFFFD180) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en_GB.class", 0xEFFFD5D8) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en_GB.class", 0xEFFFD5D8) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en_GB.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en_GB.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/mqm/ssl/lib/ext/ibmjcefw.jar", 0xEFFFE120) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: write(1, " J C E", 3) = 3
28106: write(1, "\n", 1) = 1
28106: poll(0xEF243A50, 0, 10) = 0
28106: write(2, " E R R O R : e r r o r".., 54) = 54
Is this the 7th of January problem ?
Any ideas ?
Thanks
James |
|
Back to top |
|
 |
JasonE |
Posted: Thu Jan 22, 2004 9:47 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
No, that shows up as "An error occurred while inserting keys to the database" on the create. Sounds like you dont have some property files where you need them, but I dont know, sorry. |
|
Back to top |
|
 |
gunter |
Posted: Fri Jan 23, 2004 12:14 am Post subject: Re: issue with gsk6cmd |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
On Linux I had also strange problems with gsk6ikm and gsk6cmd.
The soution was:
- install CSD05 with gskit
- update gskit to the newest version
- read memo.ptf and copy jar-files as described
- don't use IBMJava2, set JAVA_HOME to /opt/mqm/ssl/jre
If You have further errors, call gsk6ikm or gsk6cmd with option -verbose.
Gunter
j8mes wrote: |
On solaris 2.8 I have installed the latest macy_withSSL.tar.Z from the IBM web site.
Installed packages: mqm gsk6bas
gsk6cmd is me an error as follows:
./gsk6cmd -keydb -create -db /global1/james/keys.kdb -pw james -type cms -stash
JCE
ERROR: error message resource file is not well loaded.
If I truss the command I can see that the program is loading cfwk.zip and gsk6cls.jar, so it doesn't appear to be an issue with CLASSPATH:
...
28078: stat64("/opt/ibm/gsk6/classes/gsk6cls.jar", 0xEFFFCFE0) = 0
...
28078: stat64("/opt/ibm/gsk6/classes/cfwk.zip", 0xEFFFCFE0) = 0
This is the output of the truss just before the error is produced if this helps
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en.class", 0xEFFFD5D8) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en.class", 0xEFFFD5D8) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en.properties", 0xEFFFD180) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en_GB.class", 0xEFFFD5D8) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en_GB.class", 0xEFFFD5D8) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: stat64("/opt/ibm/gsk6/bin/ikmerr_en_GB.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/ibm/gsk6/classes/ikmerr_en_GB.properties", 0xEFFFD180) Err#2 ENOENT
28106: stat64("/opt/mqm/ssl/lib/ext/ibmjcefw.jar", 0xEFFFE120) Err#2 ENOENT
28106: poll(0xEF243A50, 0, 10) = 0
28106: write(1, " J C E", 3) = 3
28106: write(1, "\n", 1) = 1
28106: poll(0xEF243A50, 0, 10) = 0
28106: write(2, " E R R O R : e r r o r".., 54) = 54
Is this the 7th of January problem ?
Any ideas ?
Thanks
James |
|
|
Back to top |
|
 |
j8mes |
Posted: Fri Jan 23, 2004 4:39 am Post subject: have I got further ? |
|
|
Novice
Joined: 22 Jan 2004 Posts: 12
|
I reloaded mqm 5.3.0.5 & gsk5bas 6.0.5.39 (which I believe has the 7th Jan fix)
I followed memo.ptf
I can not use /opt/mqm/ssl/jre, it doesn't exist. Maybe this has been removed from the macy ssl release ?
Running
./gsk6cmd -keydb -create -db /global1/james/keys.kdb -pw james -type cms>
Exception in thread "main" java.lang.UnsatisfiedLinkError: c_CreateNewKeyDb
at com.ibm.gsk.ikeyman.basic.CMSKeyDatabase.c_CreateNewKeyDb(Native Method)
at com.ibm.gsk.ikeyman.basic.CMSKeyDatabase.create(CMSKeyDatabase.java:223)
at com.ibm.spi.CMSKeyStoreSpi.engineLoadCMS(CMSKeyStoreSpi.java:1695)
at com.ibm.spi.IBMKeyStore.loadCMS(IBMKeyStore.java:248)
at com.ibm.gsk.ikeyman.basic.KeyStoreManager.create(KeyStoreManager.java:1238)
at com.ibm.gsk.ikeyman.cli.CLIKeyStoreManager.keyDbCreate(CLIKeyStoreManager.java:115)
at com.ibm.gsk.ikeyman.ikeycmd.callKeyStoreDatabaseAPI(ikeycmd.java:1020)
at com.ibm.gsk.ikeyman.ikeycmd.handleDatabaseTask(ikeycmd.java:1553)
at com.ibm.gsk.ikeyman.ikeycmd.main(ikeycmd.java:386)
Which is the same error is this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=12325&highlight=gsk6cmd
Looks as though I am missing something from a library!
James |
|
Back to top |
|
 |
gunter |
Posted: Sat Jan 24, 2004 2:09 am Post subject: Re: have I got further ? |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
It is possible that you use the wrong java-version ? I use:
# /opt/mqm/ssl/jre/bin/java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled: jitc))
Look at output from gsk6cmd with option -version, I found ClassNotFoundExceptions.
!! I'm on Linux, not on Solaris !!
Gunter
j8mes wrote: |
I reloaded mqm 5.3.0.5 & gsk5bas 6.0.5.39 (which I believe has the 7th Jan fix)
I followed memo.ptf
I can not use /opt/mqm/ssl/jre, it doesn't exist. Maybe this has been removed from the macy ssl release ?
Running
./gsk6cmd -keydb -create -db /global1/james/keys.kdb -pw james -type cms>
Exception in thread "main" java.lang.UnsatisfiedLinkError: c_CreateNewKeyDb
at com.ibm.gsk.ikeyman.basic.CMSKeyDatabase.c_CreateNewKeyDb(Native Method)
at com.ibm.gsk.ikeyman.basic.CMSKeyDatabase.create(CMSKeyDatabase.java:223)
at com.ibm.spi.CMSKeyStoreSpi.engineLoadCMS(CMSKeyStoreSpi.java:1695)
at com.ibm.spi.IBMKeyStore.loadCMS(IBMKeyStore.java:248)
at com.ibm.gsk.ikeyman.basic.KeyStoreManager.create(KeyStoreManager.java:1238)
at com.ibm.gsk.ikeyman.cli.CLIKeyStoreManager.keyDbCreate(CLIKeyStoreManager.java:115)
at com.ibm.gsk.ikeyman.ikeycmd.callKeyStoreDatabaseAPI(ikeycmd.java:1020)
at com.ibm.gsk.ikeyman.ikeycmd.handleDatabaseTask(ikeycmd.java:1553)
at com.ibm.gsk.ikeyman.ikeycmd.main(ikeycmd.java:386)
Which is the same error is this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=12325&highlight=gsk6cmd
Looks as though I am missing something from a library!
James |
|
|
Back to top |
|
 |
j8mes |
Posted: Mon Jan 26, 2004 8:42 am Post subject: Thanks again |
|
|
Novice
Joined: 22 Jan 2004 Posts: 12
|
It turns out that I was running the wrong version of Java, my path was picking up java elsewhere on the system. However I still have the error.
I will review my environment variables etc. once more to ensure they are pointing were they should .Meanwhile I am going to go to IBM for support on this, now I have found a contact. Will let you know the outcome.
Thanks
James |
|
Back to top |
|
 |
j8mes |
Posted: Thu Jan 29, 2004 4:11 am Post subject: The solution |
|
|
Novice
Joined: 22 Jan 2004 Posts: 12
|
I found the solution to this is to load all the solaris 2.8 patches listed in the "memo.ptf" file! Yes I know I should have checked this already !
Thanks
James |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|