ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Problems running saveQmgr.hp on HP-UX

Post new topic  Reply to topic
 Problems running saveQmgr.hp on HP-UX « View previous topic :: View next topic » 
Author Message
Rahul999
PostPosted: Wed Nov 19, 2008 3:45 am    Post subject: Problems running saveQmgr.hp on HP-UX Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Wed Nov 19, 2008 4:05 am    Post subject: Re: Problems running saveQmgr.hp on HP-UX Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 19, 2008 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 19, 2008 4:46 am    Post subject: Re: Problems running saveQmgr.hp on HP-UX Reply with quote

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
View user's profile Send private message Send e-mail
Rahul999
PostPosted: Wed Nov 19, 2008 5:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mqjeff
PostPosted: Wed Nov 19, 2008 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Rahul999
PostPosted: Thu Nov 20, 2008 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Philip Morten
PostPosted: Thu Nov 20, 2008 3:54 am    Post subject: Re: Problems running saveQmgr.hp on HP-UX Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Nov 20, 2008 6:11 am    Post subject: Re: Problems running saveQmgr.hp on HP-UX Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problems running saveQmgr.hp on HP-UX
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.