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 » IBM MQ Installation/Configuration Support » unable to run programs in /opt/mqm/bin directory

Post new topic  Reply to topic
 unable to run programs in /opt/mqm/bin directory « View previous topic :: View next topic » 
Author Message
zigeesha
PostPosted: Tue Dec 07, 2004 4:33 pm    Post subject: unable to run programs in /opt/mqm/bin directory Reply with quote

Apprentice

Joined: 16 Aug 2004
Posts: 32
Location: california

Hi all,

I have installed webSphere MQ 530.5 CSD05 on redhat linux and am coming up with the following error whenever i try to run any of the shell programs from the /opt/mqm/bin directory

AMQ6090 : WebSphere MQ unable to display an error message 20006220

I have checked the error message details but am unable to figure out what to do to rectify the error..plz suggest

lakshmi
Back to top
View user's profile Send private message AIM Address
csmith28
PostPosted: Tue Dec 07, 2004 4:48 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Have you check the permissions and ownership of the /opt/mqm/bin directory, the files in that directory and the parent directorys?
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Dec 08, 2004 4:10 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

I think you have to set the env var LD_ASSUME_KERNEL=2.4.19 to use the 'old' threading model, not the new pthread library NPTL. The env var has to be set when doing anything to do with WMQ, i.e. creating and starting qmgrs, running apps, running listeners or responders (from xinetd).
Back to top
View user's profile Send private message
zigeesha
PostPosted: Wed Dec 08, 2004 11:47 am    Post subject: Reply with quote

Apprentice

Joined: 16 Aug 2004
Posts: 32
Location: california

Thx but,
Do i have to set the ev each time i try to acces the WMQ through a new terminal window.

I have set the ev using

LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL

but when i close the terminal n open amother one i have the same error .
I tried setting the path in the /var/mqm/.bashrc still doesn't work .Is there anyway i can set the ev permanently so that i don't haveto set the path every time i try to access the opt/mqm/samp programs

regards lakshmi
Back to top
View user's profile Send private message AIM Address
vennela
PostPosted: Wed Dec 08, 2004 12:13 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You should be able to that by exporting the variable in the .profile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zigeesha
PostPosted: Wed Dec 08, 2004 2:35 pm    Post subject: worked out finally Reply with quote

Apprentice

Joined: 16 Aug 2004
Posts: 32
Location: california

Thx all

I finally got tht working right

I navigated to the .bashrc file n added the above library path n the following as well

PATH=$PATH:/opt/mqm/bin
export PATH
and sourced it

source .bashrc

u can see the currently set path with the
echo $PATH

and then everything worked out fine .Thx again

regards lakshmi
Back to top
View user's profile Send private message AIM Address
csmith28
PostPosted: Wed Dec 08, 2004 6:41 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Grats...

Now, don't be a stranger.

Please continue to share what you learn and learn from what others share here.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
sairam
PostPosted: Mon Apr 04, 2005 1:08 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Lakshmi,

Can you explain clearly how you resolved the bug since i too am running into this.

I cant find 'profile ' for the user under which i am logged in. I have never edited the '.bashrc' nor the '.profile' files.

Any tips, appreciated.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Apr 04, 2005 2:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
I cant find 'profile ' for the user under which i am logged in. I have never edited the '.bashrc' nor the '.profile' files.


They are hidden files.
You have to do
Code:
ls -al


Which .profile you have to edit depends on what shell you are using. After you login do
Quote:
echo $SHELL

and based on the result you should find out what file to edit and export the variable
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sairam
PostPosted: Tue Apr 05, 2005 6:46 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

ok i have "/bin/bash" shell and ".bash_profile" hidden file. That already has a

PATH =$PATH:$HOME/bin
export PATH
unset USERNAME

So can i just edit this path to include my directory '/opt/mqm/bin' here like
PATH=$PATH:$HOME/bin:/opt/mqm/bin
export PATH
export LD_ASSUME_KERNEL=2..4.19

pls advise.
Back to top
View user's profile Send private message
Anirud
PostPosted: Tue Apr 05, 2005 7:26 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

sairam wrote:
So can i just edit this path to include my directory '/opt/mqm/bin' here like
PATH=$PATH:$HOME/bin:/opt/mqm/bin
export PATH
export LD_ASSUME_KERNEL=2..4.19

That's it.

Good Luck.
Back to top
View user's profile Send private message Visit poster's website
sairam
PostPosted: Tue Apr 05, 2005 9:19 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Appreciated. thanks.,
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 » IBM MQ Installation/Configuration Support » unable to run programs in /opt/mqm/bin directory
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.