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 in LInux

Post new topic  Reply to topic
 Problem in running mqsiprofile in LInux « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Fri Apr 20, 2007 1:05 pm    Post subject: Problem in running mqsiprofile in LInux Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 20, 2007 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jeevan
PostPosted: Fri Apr 20, 2007 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 20, 2007 1:45 pm    Post subject: Reply with quote

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
Code:
newgrp -


Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
TonyD
PostPosted: Sun Apr 22, 2007 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
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 in LInux
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.