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 » General Discussion » The system could not dynamically load the shared library

Post new topic  Reply to topic Goto page Previous  1, 2
 The system could not dynamically load the shared library « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Fri Jul 20, 2007 12:01 pm    Post subject: Reply with quote

Jedi Knight

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

Hi,

What is the current error message from the MQ log file?

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
vutkuri
PostPosted: Fri Jul 20, 2007 12:42 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 35

Here is the latest log file

07/20/07 19:57:01 - Process(6393.3) User(mqm) Program(amqrmppa)
AMQ6175: The system could not dynamically load the shared library
'/var/mqm/exits64/libBcbsaChannelExit.so'. The system returned error message
'ld.so.1: /opt/mqm/bin/amqrmppa: fatal: libxerces-c.so.27: open failed: No such
file or directory'. The queue manager will continue without this module.

EXPLANATION:
This message applies to UNIX systems. The shared library
'/var/mqm/exits64/libBcbsaChannelExit.so' failed to load correctly due to a
problem with the library.
ACTION:
Check the file access permissions and that the file has not been corrupted.
----- amqxufnx.c : 1158 -------------------------------------------------------
07/20/07 19:57:02 - Process(6393.3) User(mqm) Program(amqrmppa)
AMQ9535: User exit not valid.

EXPLANATION:
Channel program 'FL.TO.BCBSA' ended because user exit
'libBcbsaChannelExit.so(CEGateway)' is not valid.
ACTION:
Ensure that the user exit is specified correctly in the channel definition, and
that the user exit program is correct and available.
----- amqrexta.c : 5295 -------------------------------------------------------
07/20/07 19:57:02 - Process(6393.3) User(mqm) Program(amqrmppa)
AMQ9999: Channel program ended abnormally.

EXPLANATION:
Channel program 'FL.TO.BCBSA' ended abnormally.
ACTION:
Look at previous error messages for channel program 'FL.TO.BCBSA' in the error
files to determine the cause of the failure.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jul 20, 2007 2:39 pm    Post subject: Reply with quote

Jedi Knight

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

vutkuri wrote:
AMQ6175: The system could not dynamically load the shared library
'/var/mqm/exits64/libBcbsaChannelExit.so'. The system returned error message
'ld.so.1: /opt/mqm/bin/amqrmppa: fatal: libxerces-c.so.27: open failed: No such
file or directory
'. The queue manager will continue without this module.

You have a problem with your path environment variable. Ask your Unix Admin to put all of your required directories in the appropriate path environment variable.

Remember, MQ is using a default profile which is probably different from the profile you are using at the shell prompt.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
vutkuri
PostPosted: Mon Jul 23, 2007 4:51 am    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 35

Thanks for your reply, Here is the my environment, am I missing anything in the path

mqm@CHGVBWINT1$ env
PWD=/var/mqm/qmgrs/BCBSACC01/errors
XERCESCROOT=/export/home/mqm/XERCES64/xerces-c-src_2_7_0
TZ=GMT
HOSTNAME=CHGVBWINT1
LD_LIBRARY_PATH=/opt/mqm/lib64:/export/home/mqm/XERCES64/xerces-c-src_2_7_0/lib:/usr/local/lib/sparcv9:/usr/lib/64
CLASSPATH=:/export/home/mqm:/opt/mqm/lib64:/export/home/mqm/XERCES64/xerces-c-src_2_7_0/lib:/usr/local/lib/sparcv9:/usr/lib/64
PS1=mqm@CHGVBWINT1$
SSH_CONNECTION=10.100.31.50 1569 10.100.11.147 22
USER=mqm
MACHTYPE=sparc-sun-solaris2.9
MAIL=/usr/mail/mqm
EDITOR=vi
JAVA_HOME=/usr/java
LOGNAME=mqm
SHLVL=1
SHELL=/bin/ksh
HOSTTYPE=sparc
OSTYPE=solaris2.9
HOME=/export/home/mqm
TERM=xterm
PATH=/usr/bin:/usr/local/bin:/opt/sfw/bin:/usr/X/bin:/usr/dt/bin:/usr/openwin/bin:/opt/openssh/bin:/export/home/mqm/XERCES64/xerces-c-src_2_7_0/src/xercesc
SSH_TTY=/dev/pts/15
OLDPWD=/var/mqm/qmgrs/BCBSACC01
_=/usr/bin/env
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 23, 2007 4:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Does mqm have sufficient priviledges on the Xerces lib directory?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Jul 23, 2007 5:35 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

When a setuid app runs, any LIBPATH set in the environment is reset to the standard directories, /lib & /usr/lib. This is a UNIX security feature to prevent librarires in LIBPATH overriding standard libs.

The lib that cannot be found should be moved (or symbolically linked) to one of the standard dirs so that it can be loaded by the setuid WMQ binary amqrmppa.
_________________
MQSeries.net helps those who help themselves..
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 Page 2 of 2

MQSeries.net Forum Index » General Discussion » The system could not dynamically load the shared library
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.