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 » Not able to execute broker commands in AIX

Post new topic  Reply to topic
 Not able to execute broker commands in AIX « View previous topic :: View next topic » 
Author Message
chetu777
PostPosted: Fri May 06, 2011 3:35 am    Post subject: Not able to execute broker commands in AIX Reply with quote

Acolyte

Joined: 07 Sep 2009
Posts: 59

Hi Guys,

I am not used to AIX machine, but I tried to install the WMB v7 in AIX box.

Once after completing the successfull installation. I am facing error in executing the commands. I tried googling but not found much success. Can someone guide me through this error.

E.g : For any MB command I am getting the same error as below.

# ./mqsicreatebroker
exec(): 0509-036 Cannot load program ./mqsicreatebroker because of the following errors:
0509-150 Dependent module libImbCmdLib.a(libImbCmdLib.a.so) could not be loaded.
0509-022 Cannot load module libImbCmdLib.a(libImbCmdLib.a.so).
0509-026 System error: A file or directory in the path name does not exist.


I even created a .profile file and added a classpath and path as below.

PATH=$PATH:/opt/IBM/mqsi/7.0/bin/
CLASSPATH=$CLASSPATH:/opt/IBM/mqsi/7.0/lib/

But of no help.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri May 06, 2011 3:40 am    Post subject: Re: Not able to execute broker commands in AIX Reply with quote

Jedi Council

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

chetu777 wrote:


I even created a .profile file and added a classpath and path as below.

PATH=$PATH:/opt/IBM/mqsi/7.0/bin/
CLASSPATH=$CLASSPATH:/opt/IBM/mqsi/7.0/lib/

But of no help.


That is where you went wrong. There is a little more to it than that.

There are many similar posts here. (sigh)
Search for
' source mqsiprofile'

and all will be revealed.
_________________
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
chetu777
PostPosted: Fri May 06, 2011 3:54 am    Post subject: Reply with quote

Acolyte

Joined: 07 Sep 2009
Posts: 59

I did go through the fourms earlier.

I guess you are talking abt the below mentioned forum

http://www.mqseries.net/phpBB2/viewtopic.php?t=36129#173808

Here he tells do the following things
"Create a new user for broker admin. Make it part of mqm and mqbrks groups. Source the mqsiprofile file in the profile...

. ./mqsiprofile (dot space dot slash) "

I did create a new user 'broker' and made it part of the group mqbrkrs and mqm.
But I am not able to understand the second part "Source the mqsiprofile in the profile"... can you kindly brief me a bit.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri May 06, 2011 4:03 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.

chetu777 wrote:


. ./mqsiprofile (dot space dot slash) "


That is called sourcing.

Did you try it?
If not why not?
If you did were you able to run mqsi* commands?

You may need some Unix/Linux training.
_________________
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
lancelotlinc
PostPosted: Fri May 06, 2011 4:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

chetu777 wrote:
I did go through the fourms earlier.

I guess you are talking abt the below mentioned forum

http://www.mqseries.net/phpBB2/viewtopic.php?t=36129#173808

Here he tells do the following things
"Create a new user for broker admin. Make it part of mqm and mqbrks groups. Source the mqsiprofile file in the profile...

. ./mqsiprofile (dot space dot slash) "

I did create a new user 'broker' and made it part of the group mqbrkrs and mqm.
But I am not able to understand the second part "Source the mqsiprofile in the profile"... can you kindly brief me a bit.


You might be interested in this class offering:

https://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM643

This 4-day instructor-led workshop provides an intermediate-level overview of the IBM WebSphere Message Broker product, concentrating on administering WebSphere Message Broker V7 on distributed platforms such as Windows and AIX.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
chetu777
PostPosted: Sat May 07, 2011 11:09 am    Post subject: Reply with quote

Acolyte

Joined: 07 Sep 2009
Posts: 59

Thank smdavies,

I did resolve the problem. I called the .mqsiprofile file in my login .profile file and was able to run the commands successfully.

Thanks a lot
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 » Not able to execute broker commands in AIX
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.