Author |
Message
|
madi |
Posted: Sun Apr 16, 2006 8:05 am Post subject: mqsilist |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Hi All
I am new to mqsi administration, I am trying to see the brokers and flows usig the mqsilist command.
My question is where do i give this command. This is on a unix server. I went into the apps/mqsi.. directory.
I can see all the commands when I do a ls but get a "command not found" error when I say mqsilist.
I think I do have access to run these commands.
what am i doing wrong??
any links to docs would be appreciated!!
thanks
madi |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Apr 16, 2006 2:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
try
Code: |
./mqsiprofile
./mqsilist |
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Apr 16, 2006 2:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I think you mean ". ./mqsiprofile", right? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
madi |
Posted: Sun Apr 16, 2006 5:28 pm Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
nop, did not work. I guess I dont have permission.
--madi |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Apr 16, 2006 5:55 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
"ls -al apps/mqsi" will show you the permissions.
"cd apps/mqsi;. ./mqsiprofile" will add the .mqsiprofile to your current shell.
After that, "./mqsilist" should function - assuming you belong to the user, group, or other that has eXecute permissions on apps/mqsi/mqsilit, as shown by ls -al.
Welcome to Unix. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
madi |
Posted: Sun Apr 16, 2006 6:40 pm Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Quote: |
a025969@wmqux001@/export/home/a025969>> ls -al mqsilist
-rwxrwxr-x 1 svcMQadm mqbrkrs 116300 Jan 12 18:38 mqsilist
a025969@wmqux001@/export/home/a025969>> ls -al mqsiprofile
mqsiprofile: No such file or directory
a025969@wmqux001@/export/home/a025969>> ./mqsilist
ld.so.1: ./mqsilist: fatal: libjvm.so: open failed: No such file or directory
Killed
a025969@wmqux001@/export/home/a025969>> . ./mqsilsit
/bin/.: Permission denied.
|
i think it says i do have permission and theres no mqsiprofile
--madi |
|
Back to top |
|
 |
wschutz |
Posted: Mon Apr 17, 2006 2:47 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
madi |
Posted: Mon Apr 17, 2006 5:43 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Quote: |
a025969@wmqux001@/export/home/a025969>> pwd
/apps/mqsi/bin
|
I think im in the right place
--madi |
|
Back to top |
|
 |
wschutz |
Posted: Mon Apr 17, 2006 5:57 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Is this V5 or V6? On my solaris V5 machines, its:
molina:/opt/mqsi/sample/profiles$ ls
profile.sol _________________ -wayne |
|
Back to top |
|
 |
sirsi |
Posted: Mon Apr 17, 2006 1:31 pm Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
search for the mqsiprofile file
find / -name mqsiprofile |
|
Back to top |
|
 |
madi |
Posted: Mon Apr 17, 2006 1:39 pm Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
I talked to the admin guys and they said I dont have access
thanks for all the help guys
--madi |
|
Back to top |
|
 |
wschutz |
Posted: Mon Apr 17, 2006 2:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
sirsi wrote: |
search for the mqsiprofile file
find / -name mqsiprofile |
Except that back in V5 of broker the profile is named differently:
Quote: |
Environment variables created during installation On Windows, environment variables PATH, INCLUDE, and LIB are updated by the install program; the exact updates made depend on the components that you have installed and the directories into which you have installed them. On UNIX systems, the install program does not update variables. Use the profile files that are provided with WebSphere Business Integration Message Broker to set the environment variables that are required before you use the product. The path and filename of the profile is dependent on your platform: For Solaris: /opt/mqsi/sample/profiles/profile.sol For HP-UX: /opt/mqsi/sample/profiles/profile.hpux For AIX: usr/opt/mqsi/sample/profiles/profile.aix For Linux: usr/opt/mqsi/sample/profiles/profile.lnx |
_________________ -wayne |
|
Back to top |
|
 |
|