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 » WebSphere Message Broker (ACE) Support » MB 6.1 Linux issues - mqsiprofile

Post new topic  Reply to topic
 MB 6.1 Linux issues - mqsiprofile « View previous topic :: View next topic » 
Author Message
holycow02
PostPosted: Wed Feb 10, 2010 8:51 am    Post subject: MB 6.1 Linux issues - mqsiprofile Reply with quote

Novice

Joined: 10 Feb 2010
Posts: 21

Hello all,

I am running MB 6.1.0.2 on RedHat v5.4 x86-64.

Running the mqsiprofile command from the $MQSI_PATH/bin directory provides the correct output of the version number and the install path.

Now when I run mqsicreatebroker from the bin directory, I get this error:

./mqsicreatebroker: error while loading shared libraries: libImbCmdLib64.so: cannot open shared object file: No such file or directory

I went back and looked at the mqsiprofile LD_LIBRARY_PATH and it shows the correct library paths needed. 'ldd -v mqsicreatebroker' shows a whole bunch of missing dependencies, all of which are in the same library.

Adding 'echo $LD_LIBRARY_PATH' to the bottom of the mqsiprofile script and running it again shows the correct paths. Running ./mqsilist provides the same error as as mqsicreatebroker.

Now if I add the ./mqsilist to the bottom of the mqsiprofile script, mqsilist runs correct, outputting 'Successful command completion'.


It seems to me and my team that the LD_LIBRARY_PATH is not being persisted outside of mqsiprofile. echoing LD_LIBRARY_PATH outside of the script returns a blank line.

Does anyone have any idea why it is doing this? Is there an issue with the profile?


Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 10, 2010 9:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You're executing the mqsiprofile, rather than sourcing it.

use ". /opt/IBM/mqsi/6.1/bin/mqsiprofile".

Note that is dot-space-slash, not dot-slash.
Back to top
View user's profile Send private message
holycow02
PostPosted: Wed Feb 10, 2010 9:14 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2010
Posts: 21

mqjeff wrote:
You're executing the mqsiprofile, rather than sourcing it.

use ". /opt/IBM/mqsi/6.1/bin/mqsiprofile".

Note that is dot-space-slash, not dot-slash.



uhhhh wow. That worked. I feel like a fool.

Thanks for all your help though
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Feb 10, 2010 9:26 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

holycow02 wrote:

uhhhh wow. That worked. I feel like a fool.



Nah, Robin would say "Holy Cow Batman!"
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 10, 2010 9:32 am    Post subject: Reply with quote

Grand High Poobah

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

holycow02 wrote:
I feel like a fool.


But you can never find one on the menu can you?

Don't worry - you'll get used to the feeling after first 40 or 50 times. I did.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
holycow02
PostPosted: Wed Feb 10, 2010 9:39 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2010
Posts: 21

Vitor wrote:
holycow02 wrote:
I feel like a fool.


But you can never find one on the menu can you?

Don't worry - you'll get used to the feeling after first 40 or 50 times. I did.


yea there has to be a first time for there to be a last time
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 10, 2010 9:53 am    Post subject: Reply with quote

Grand High Poobah

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

holycow02 wrote:
yea there has to be a first time for there to be a last time


There's a last time? I'm filled with new hope I might one day reach it
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MB 6.1 Linux issues - mqsiprofile
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.