|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
New broker - Execution group falling over |
« View previous topic :: View next topic » |
Author |
Message
|
sjclark1 |
Posted: Wed Mar 09, 2005 6:27 am Post subject: |
|
|
Apprentice
Joined: 06 Jan 2003 Posts: 35 Location: Scotland
|
Can you remember which environment variable you needed to change?
Is LOCALE an environment variable? I didn't think it was. I checked the above are all set, I have tried various values for LANG and LC_ALL but to no avail.
LANG=en_US
LC_ALL=en_US
I also think the library path is fine because when I do "ldd" on the mqsistart command, I can see it finds all the libraries it needs:
Sole:->ldd ./mqsistart
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmqsistart.so => /opt/mqsi/lib/libmqsistart.so
libImbCmdLib.so => /opt/mqsi/lib/libImbCmdLib.so
libbipicu.so => /opt/mqsi/lib/libbipicu.so
libCommonServices.so => /opt/mqsi/lib/libCommonServices.so
libMessageServices.so => /opt/mqsi/lib/libMessageServices.so
libbipodbc.so => /opt/mqsi/lib/libbipodbc.so
libCrun.so.1 => /usr/lib/libCrun.so.1
libm.so.1 => /usr/lib/libm.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libw.so.1 => /usr/lib/libw.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libPlatFormSupport.so => /opt/mqsi/lib/libPlatFormSupport.so
libPersonality.so => /opt/mqsi/lib/libPersonality.so
libbipnativetrace.so => /opt/mqsi/lib/libbipnativetrace.so
libImbAAQueue.so => /opt/mqsi/lib/libImbAAQueue.so
libImbJni.so => /opt/mqsi/lib/libImbJni.so
libGenXmlParser2.so => /opt/mqsi/lib/libGenXmlParser2.so
libmqm.so => /usr/lib/libmqm.so
libmqmcs.so => /usr/lib/libmqmcs.so
libmqmzse.so => /usr/lib/libmqmzse.so
libjvm.so => /opt/mqsi/jre/lib/sparc/libjvm.so
libbipicudata.so => /opt/mqsi/lib/libbipicudata.so
librt.so.1 => /usr/lib/librt.so.1
libodbcinst.so => /opt/mqsi/lib/libodbcinst.so
libxmlcommon2.so => /opt/mqsi/lib/libxmlcommon2.so
libbipXercesC.so => /opt/mqsi/lib/libbipXercesC.so
libbipprefixmgr.so => /opt/mqsi/lib/libbipprefixmgr.so
libmqz.so => /opt/mqm/lib/libmqz.so
libaio.so.1 => /usr/lib/libaio.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
NLSPATH is set to:
NLSPATH=/usr/lib/locale/%L/LC_MESSAGES/%N:/opt/mqsi/messages/%N
CLASSPATH is set to:
CLASSPATH=/opt/mqsi/jre/lib/rt.jar:\
/opt/mqsi/jre/lib/i18n.jar:\
/opt/mqsi/classes/mci.jar:\
/opt/mqsi/classes/jfaceall.jar:\
/opt/mqsi/classes/swingall.jar |
|
Back to top |
|
 |
sjclark1 |
Posted: Wed Mar 09, 2005 7:13 am Post subject: Re: "lib32" |
|
|
Apprentice
Joined: 06 Jan 2003 Posts: 35 Location: Scotland
|
sjclark1 wrote: |
CodeCraft wrote: |
The absence of lib32 may mean that the Oracle 32 bit client is not installed on this system. You should check with your DBA or the installer for Oracle and see is there optional components which have not actually been installed.
Having done that, I'd be inclined to delete and recreate the broker to ensure that everything is genuinely up to scratch. |
Thanks, I am checking with our DBAs, will report back tomorrow... |
The DBA has stated that version of Oracle installed on the server is in fact 32-bit. There are no 64-bit libraries. I am assuming this does not pose a problem and therefore I still don't know what is causing the errors. |
|
Back to top |
|
 |
samgunddi |
Posted: Wed Mar 09, 2005 7:16 am Post subject: |
|
|
 Acolyte
Joined: 17 May 2004 Posts: 54
|
2 more things to check
Environment Variables
CLASSPATH
LANG
LC_ALL
LD_LIBRARY_PATH
LC_MESSAGES
MQSI_REGISTRY
ODBC_INI
NLSPATH
PATH
and .odbc.ini file. |
|
Back to top |
|
 |
sjensen |
Posted: Wed Mar 09, 2005 9:38 am Post subject: |
|
|
Centurion
Joined: 18 Dec 2003 Posts: 134 Location: London
|
Hi,
Hmm I thought Oracle 9 always came with 64 bit libraries but I am no DBA.
You can check he library like this:
Code: |
$ file /oracle9/product/9.2.0/lib32/libclntsh.so
/oracle9/product/9.2.0/lib32/libclntsh.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
$ file /oracle9/product/9.2.0/lib/libclntsh.so
/oracle9/product/9.2.0/lib/libclntsh.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
|
Also I thought you had to set
MQSI_PRELOAD to point to the libxlntsh.so library
Good luck
Stefan |
|
Back to top |
|
 |
sjclark1 |
Posted: Tue Mar 15, 2005 3:06 am Post subject: Fixed it |
|
|
Apprentice
Joined: 06 Jan 2003 Posts: 35 Location: Scotland
|
Thanks to everyone for their suggestions.
Fixed this problem this morning - right enough it was an environment problem, but not an environment variable.
IBM support helped me trace the failing execution group using mqsiservice (mqsichangetrace wasn't capturing the problem).
This showed a java exception "UnkownHostException" - the broker was trying to determine the IP address of the box it was running on (don't know why) but was unable to do so.
I then went onto the Solaris box and realised I couldn't ping the box despite being logged onto it. This suggested an underlying Solaris configuration error. I changed a configuraion setting in the file /etc/nsswitch.conf and now everything is working. Very obscure but there you go.
Thanks again,
Steven. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|