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 » problem in running mqsiprofile

Post new topic  Reply to topic
 problem in running mqsiprofile « View previous topic :: View next topic » 
Author Message
mqwbi
PostPosted: Fri Jan 09, 2009 12:05 pm    Post subject: problem in running mqsiprofile Reply with quote

Novice

Joined: 15 Dec 2008
Posts: 24

Hi
I am using WMB 6.1 and WMQ 6.0 on AIX 5.3

My service user id for the broker is bkrusr . In the .profile file in its home directory, i have added these lines

. /opt/IBM/mqsi/6.1/bin/mqsiprofile
. <db2 instance directory>/sqllib/db2profile

added these lines. Saved the file
and ran

. ./.profile from the home directory

despite this, everytime aix is unable to recognise mqsi and db2 commands.
How do i get rid of this?
Can you help?
Thank You
Back to top
View user's profile Send private message
SAFraser
PostPosted: Fri Jan 09, 2009 1:38 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

While I think what you've done should work, I have gotten inconsistent results when I've tried it on Solaris. So I've gotten into the habit of manually sourcing mqsiprofile after I 'su' to my broker service ID.

I hope others may offer a more effective solution.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 09, 2009 1:47 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I have this in the profile file:

Code:
. /opt/ibm/mqsi/6.1/bin/mqsiprofile
export ODBCINI=/var/mqsi/odbc/odbc64.ini


If you then su - wmbid from another ID, it insures it runs the mqsiprofile command. This is RHEL 5 in my case, WMB 6.1.0.3.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 10, 2009 3:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Have you tried "newgrp -" When called with the "-" at the end it usually asks for the profile to be reloaded......
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jan 10, 2009 6:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Of course, different shells require the "profile" file to have different names.

Are you sure you're using a shell that should call ".profile" when you log on, and not for example ".bash_profile"?

Also make sure you are logging into an interactive session that will run the profile and not into a non-interactive session that runs the rc.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat Jan 10, 2009 8:24 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.

And if you are not sure what shell you are using use the following

$ echo $SHELL

an example is shown below

[color=orange][code]
[root@T3TA piccies]# echo $SHELL
/bin/bash
[root@T3TA piccies]#[/color]

[/code]
Therefore I would have to edit the .bash version of the .profile file to include the source of the wbi profile.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » problem in running 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.