Author |
Message
|
ydsk |
Posted: Tue Aug 22, 2006 1:35 pm Post subject: unable to issue mqsichangetrace on solaris broker |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
I have a userid on a solaris broker. I am able to login to the box and was able to do a cd to /opt/IBM/mqsi/6.0/bin directory.
But I am unable to issue any of the commands in the directory. More specifically I want to use mqsichangetrace, mqsireadlog, and mqsiformatlog commands.
Does my id need to be part of any groups on the solaris box ? Please help.
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Aug 22, 2006 2:12 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
PieterV |
Posted: Tue Aug 29, 2006 5:20 am Post subject: |
|
|
Disciple
Joined: 04 Jan 2006 Posts: 164 Location: Belgium
|
you need to be part of the mqbrkrs group and have access to at least SYSTEM.BROKER.MODEL.QUEUE.
perhaps other queues as well, check your mq error log. |
|
Back to top |
|
 |
ydsk |
Posted: Tue Aug 29, 2006 5:18 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi Pieter,
My unix id was added to both mqm and mqbrkrs groups on the Solaris broker boxes.
Now when I issue mqsichangetrace command on the box from /opt/IBM/mqsi/6.0/bin directory, I am getting the following error.
mqsichangetrace: fatal: libImbCmdLib.so: open failed: No such file or directory
Can you pls tell me what is wrong ?
Thanks.
ydsk. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Aug 29, 2006 5:25 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
try:
Quote: |
source /opt/IBM/mqsi/6.0/bin/mqsiprofile
|
first ....  _________________ -wayne |
|
Back to top |
|
 |
ydsk |
Posted: Tue Aug 29, 2006 7:20 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Wayne,
I understand that I need to run mqsiprofile before issuing any mqsi* commands( forgot about it completely earlier) but I don't understand the significance of the word 'source' that you inserted before the command string....is it a typo ?
I don't have remote access so I am going to try it as the first thing tomorrow morning.
Thank you.
ydsk. |
|
Back to top |
|
 |
wschutz |
Posted: Wed Aug 30, 2006 1:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
sorry... solaris doesn't have "source" (as linux does) ... so its:
Quote: |
. /opt/IBM/mqsi/6.0/bin/mqsiprofile |
_________________ -wayne |
|
Back to top |
|
 |
PieterV |
Posted: Wed Aug 30, 2006 3:44 am Post subject: |
|
|
Disciple
Joined: 04 Jan 2006 Posts: 164 Location: Belgium
|
add this line
Quote: |
. /opt/IBM/mqsi/6.0/bin/mqsiprofile
|
to the .profile of your solaris userid so the mqsiprofile is loaded on startup. |
|
Back to top |
|
 |
|