Author |
Message
|
Rahul999 |
Posted: Wed Nov 19, 2008 3:45 am Post subject: Problems running saveQmgr.hp on HP-UX |
|
|
 Centurion
Joined: 14 Mar 2007 Posts: 134
|
Hi Friends,
I am trying to run saveQmgr utility on HP-UX system. I have unzipped the tar file on my local windows system and then copied the saveqmgr.hp to the HP-UX server, when I run it it gives me the error -
"Unable to find library libmqm.sl"
Does anybody knows what can be the root cause of this problem ?
Regards,
Rahul |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 19, 2008 4:05 am Post subject: Re: Problems running saveQmgr.hp on HP-UX |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Rahul999 wrote: |
Does anybody knows what can be the root cause of this problem ? |
It can't find that shared library in the path provided.
Possible causes:
- no server WMQ install on the machine
- no WMQ in the path of the user running saveqmgr
Other causes are equally possible. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 19, 2008 4:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor has the two main root causes identified. There could be a permissions issue - for example not running saveqmgr.hp as a user in the mqm group - but that's not as likely. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 19, 2008 4:46 am Post subject: Re: Problems running saveQmgr.hp on HP-UX |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Rahul999 wrote: |
Hi Friends,
I am trying to run saveQmgr utility on HP-UX system. I have unzipped the tar file on my local windows system and then copied the saveqmgr.hp to the HP-UX server, when I run it it gives me the error -
"Unable to find library libmqm.sl"
Does anybody knows what can be the root cause of this problem ?
Regards,
Rahul |
If you have mqclient installed on your windows machine you could try and run saveqmgrc.exe or saveqmgrc.bat.... Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Rahul999 |
Posted: Wed Nov 19, 2008 5:21 am Post subject: |
|
|
 Centurion
Joined: 14 Mar 2007 Posts: 134
|
Hi ,
Thanx for the reply.
I am running as a "wbimb" user and that user is also a part of mqm group.
Hi Vitor, I have MQ server installed on the machine, and it try to find that file in the directory
$ saveqmgr.hp
/usr/lib/pa20_64/dld.sl: Unable to find library 'libmqm.sl'.
Killed
Hi Saper,
I tried running saveqmgrc.hp too, but getting similar error related to some library.
Any other suggestions friends ?
Regards, |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 19, 2008 5:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
if you are running as a user 'wbimb', then likely that user has the mqsiprofile executed as part of their startup profile...
This may have changed the shell environment such that MQ applications can't run.
Please confirm that dspmq and amqsbcg run correctly from this shell.
If those both fail with the same error, or with an error about a 'magic number', then please log in as the mqm user and try again. |
|
Back to top |
|
 |
Rahul999 |
Posted: Thu Nov 20, 2008 3:06 am Post subject: |
|
|
 Centurion
Joined: 14 Mar 2007 Posts: 134
|
Hi Jeff,
I tried both dspmq and amqsbcg and they are working fine with "wbimb" userID.
But, I am not able to run saveQmgr utility.
Regards, |
|
Back to top |
|
 |
Philip Morten |
Posted: Thu Nov 20, 2008 3:54 am Post subject: Re: Problems running saveQmgr.hp on HP-UX |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
Rahul999 wrote: |
Hi Friends,
I am trying to run saveQmgr utility on HP-UX system. I have unzipped the tar file on my local windows system and then copied the saveqmgr.hp to the HP-UX server, when I run it it gives me the error -
"Unable to find library libmqm.sl"
Does anybody knows what can be the root cause of this problem ?
Regards,
Rahul |
Are you perhaps trying to run a PA-RISC executable on an Itanium system? _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Nov 20, 2008 6:11 am Post subject: Re: Problems running saveQmgr.hp on HP-UX |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Philip Morten wrote: |
Are you perhaps trying to run a PA-RISC executable on an Itanium system? |
Ooo, good point. I'm sure I shipped a PA-RISC executable, not having access to an Itanium server anywhere.
What does 'ls -l /opt/mqm/lib/lmqm*' report? Does it show 'libmqm.sl', or 'libmqm.so'?
If it shows libmqm.so, you'll have to rebuild saveqmgr from the source, using the included makefile.hp. |
|
Back to top |
|
 |
|