Author |
Message
|
jeevan |
Posted: Fri Apr 20, 2007 1:05 pm Post subject: Problem in running mqsiprofile in LInux |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I installed MB (redhat suse) successfully. when I tried to run the profile, it does not not. This is the first step. I can not do anything until I get it working. Any suggestions.
I checkeck the file permission. What else?
Thank you very much,
Kiran |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 20, 2007 1:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Don't run the profile, source it:
. ./mqsiprofile
You need the dot space before the run command.
This allows for the environment commands to affect your current shell instead of being restricted to the child shell running the command.
It is called sourcing the profile...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Fri Apr 20, 2007 1:42 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
[jeevan@xxxxx bin]$ . ./mqsiprofile
MQSI 6.0.0.3
/opt/ibm/mqsi/6.0
in fact, the profile script runs, but stops here at this point. I tried normal way:
./mqsiprolife
This does not work.
I read spacing and I tried that too. But both of them do not work.
It is so annoying, as this is the first step. Until I get it working, I could not do anything. And there is not much I can do to fix it as thich has to run is not working. I tried running differntly but invein.
What else may go wrong?
thanks
Last edited by jeevan on Fri Apr 20, 2007 1:46 pm; edited 1 time in total |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 20, 2007 1:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
[jeevan@xxxxx bin]$ . ./profile
bash: ./profile: No such file or directory
I tried ./ as normal way. I read spacing and I tried that too. But both of them do not work.
It is so annoying, as this is the first step. Until I get it working, I could not do much. And there is not much I can do. I tried running differntly but invein.
What else may go wrong?
thanks |
if it is for the profile you should try
./.profile.
with ls -al you will see that the filename starts with a dot....
To reinitialize the profile from the home directory I usually run
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
TonyD |
Posted: Sun Apr 22, 2007 4:05 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Quote: |
jeevan@xxxxx bin]$ . ./mqsiprofile
MQSI 6.0.0.3
/opt/ibm/mqsi/6.0
|
That is the response that you get when the profile runs OK ... enter 'env' to view the resulting environment settings. |
|
Back to top |
|
 |
|