Author |
Message
|
zigeesha |
Posted: Tue Dec 07, 2004 4:33 pm Post subject: unable to run programs in /opt/mqm/bin directory |
|
|
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 |
|
 |
csmith28 |
Posted: Tue Dec 07, 2004 4:48 pm Post subject: |
|
|
 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 |
|
 |
Nigelg |
Posted: Wed Dec 08, 2004 4:10 am Post subject: |
|
|
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 |
|
 |
zigeesha |
Posted: Wed Dec 08, 2004 11:47 am Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Wed Dec 08, 2004 12:13 pm Post subject: |
|
|
 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 |
|
 |
zigeesha |
Posted: Wed Dec 08, 2004 2:35 pm Post subject: worked out finally |
|
|
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 |
|
 |
csmith28 |
Posted: Wed Dec 08, 2004 6:41 pm Post subject: |
|
|
 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 |
|
 |
sairam |
Posted: Mon Apr 04, 2005 1:08 pm Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Mon Apr 04, 2005 2:01 pm Post subject: |
|
|
 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
Which .profile you have to edit depends on what shell you are using. After you login do
and based on the result you should find out what file to edit and export the variable |
|
Back to top |
|
 |
sairam |
Posted: Tue Apr 05, 2005 6:46 am Post subject: |
|
|
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 |
|
 |
Anirud |
Posted: Tue Apr 05, 2005 7:26 am Post subject: |
|
|
 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 |
|
 |
sairam |
Posted: Tue Apr 05, 2005 9:19 am Post subject: |
|
|
Centurion
Joined: 07 Mar 2005 Posts: 120
|
|
Back to top |
|
 |
|