Author |
Message
|
sangminli |
Posted: Fri Nov 07, 2008 1:09 am Post subject: mb components can't start |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
i tried to start a broker and failed with this:
_________________________________________________
mqsistart BMSGD0Q1_B_DV0
exec(): 0509-036 Cannot load program mqsistart.bin because of the following errors:
0509-150 Dependent module libmqsistart64.a(libmqsistart64.a.so) could not be loaded.
0509-022 Cannot load module libmqsistart64.a(libmqsistart64.a.so).
0509-026 System error: A file or directory in the path name does not exist.
________________________________________________
the module libmqsistart64.a(libmqsistart64.a.so) is in /opt/IBM/mqsi/6.1/lib and is already in the path.
environment is AIX 5.3, mq 6.0.2.1, mb 6.1.0.2
Anyone shed some light on this?
Any advice is greatly appreciated. |
|
Back to top |
|
 |
Subha |
Posted: Fri Nov 07, 2008 1:18 am Post subject: |
|
|
Apprentice
Joined: 14 Nov 2006 Posts: 33 Location: Toronto
|
Did u run mqsiprofile?
Try this pls.
. ./mqsiprofile
from the installation directory. Hope this helps.
Thanks,
Subha _________________ Subh |
|
Back to top |
|
 |
sangminli |
Posted: Fri Nov 07, 2008 1:29 am Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
Subha wrote: |
Did u run mqsiprofile?
Try this pls.
. ./mqsiprofile
from the installation directory. Hope this helps.
Thanks,
Subha |
sure, i did this.. |
|
Back to top |
|
 |
Subha |
Posted: Fri Nov 07, 2008 1:48 am Post subject: |
|
|
Apprentice
Joined: 14 Nov 2006 Posts: 33 Location: Toronto
|
have u logged in with the user which must be in mqm and mqbrkrs group?
Actually you have to source mqsiprofile.
hope you have noticed a period and then a space then ./mqsiprofile
It should look like
. ./mqsiprofile
It looks to me that the path is not properly. _________________ Subh |
|
Back to top |
|
 |
sangminli |
Posted: Fri Nov 07, 2008 2:03 am Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
Subha wrote: |
have u logged in with the user which must be in mqm and mqbrkrs group?
Actually you have to source mqsiprofile.
hope you have noticed a period and then a space then ./mqsiprofile
It should look like
. ./mqsiprofile
It looks to me that the path is not properly. |
i did source the profile and my id is in both mqm and mqbrkrs. |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Nov 07, 2008 2:18 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
check the environment variables LIBPATH _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
sangminli |
Posted: Fri Nov 07, 2008 2:20 am Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
Gaya3 wrote: |
check the environment variables LIBPATH |
The module is in /opt/IBM/mqsi/6.1/lib, and /opt/IBM/mqsi/6.1/lib is in the LIBPATH. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Nov 07, 2008 2:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
check the mqsistart file (script file calling mqsistart.bin).
Does it change your libpath/ld_library_path?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sangminli |
Posted: Fri Nov 07, 2008 7:30 am Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
fjb_saper wrote: |
check the mqsistart file (script file calling mqsistart.bin).
Does it change your libpath/ld_library_path?  |
i am not sure, but i think it should not.
i will check this out.. |
|
Back to top |
|
 |
Esa |
Posted: Sun Nov 09, 2008 9:40 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
libmqsistart64.a.so is a 64 bit library, so it should NOT be found in LIBPATH. Try taking it away. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Nov 09, 2008 2:11 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Esa wrote: |
libmqsistart64.a.so is a 64 bit library, so it should NOT be found in LIBPATH. Try taking it away. |
But you could expect to find it in LIBAPTH64 _________________ MQ & Broker admin |
|
Back to top |
|
 |
sangminli |
Posted: Sun Nov 09, 2008 6:08 pm Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
fjb_saper wrote: |
Esa wrote: |
libmqsistart64.a.so is a 64 bit library, so it should NOT be found in LIBPATH. Try taking it away. |
But you could expect to find it in LIBAPTH64 |
thanks everyone. this turns out to be the reason of my id. the id we usually use for the broker process is brkid, and normall we use "pbrun -ubrkid runshell" then issue the command we want. but i think id that belongs to mqm and mqbrkrs should be able to start/stop mb components. and actually i used "pbrun -ubrkid mqsistart MBCONFIGMGR", but it just failed.
the company uses powerbroker(pbrun etc) for security. not sure if anyone faimiliar with this. i am wondering what is the difference of using "runshell"(pbrun -ubrkid runshell; then issue mqsistart MBCONFIGMGR) and just "issue the command directly"(pbrun -ubrkid mqsistart MBCONFIGMGR).
any advice is greatly appreciated:) |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 10, 2008 1:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I believe the difference is the same between issuing the command in a crontab environment and in a logged in environment. You should probably use a runshell as that would initialize your profile wheras the direct command might not.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sangminli |
Posted: Mon Nov 10, 2008 5:28 pm Post subject: |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
fjb_saper wrote: |
I believe the difference is the same between issuing the command in a crontab environment and in a logged in environment. You should probably use a runshell as that would initialize your profile wheras the direct command might not.
Enjoy  |
i think you are right..  |
|
Back to top |
|
 |
|