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 » IBM MQ Installation/Configuration Support » Trying install WMQ on Linux

Post new topic  Reply to topic Goto page Previous  1, 2
 Trying install WMQ on Linux « View previous topic :: View next topic » 
Author Message
emiddleware
PostPosted: Fri Jun 26, 2015 12:30 am    Post subject: Reply with quote

Centurion

Joined: 03 Apr 2006
Posts: 120

Hi All,
I got the problem solved ...

I used the command
rpm -ivh --nodeps --force-debian --prefix /opt/mqm MQSeriesRuntime-*rpm

We should add -- prefix /opt/mqm in the command

Reason:
Ubuntu 14.04 updated the version of RPM which is provided by the distribution to version 4.11.1-3. A functionality regression which is present in this version of RPM, as documented in the Red Hat Bugzill bug 979443, prevents WebSphere MQ from being installed using the default install options. The error message you see when installing the MQSeriesRuntime component is of the form: The error mentioned in the earlier post..ERROR: Specified path is not empty

The circumvention for this problem is to add the '--prefix /opt/mqm' option to the installation command, as follows:

rpm -ivh --nodeps --force-debian --prefix /opt/mqm MQSeriesRuntime-*rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesRuntime-7.5.0-3 ################################# [100%]
_________________
Best Regards,
E-MiddleWare
Back to top
View user's profile Send private message Send e-mail
Philip Morten
PostPosted: Fri Jun 26, 2015 2:50 am    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

Yes, I'd just come to that conclusion, the trace shows MQ_INSTALLATION_PATH, which is set from RPM_INSTALL_PREFIX, being empty. We've put a work around in later releases releases to assume /opt/mqm in this situation.
_________________
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
emiddleware
PostPosted: Fri Jun 26, 2015 3:45 am    Post subject: Reply with quote

Centurion

Joined: 03 Apr 2006
Posts: 120

Thanks Philip
_________________
Best Regards,
E-MiddleWare
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Nov 17, 2015 4:38 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

I am getting the same problem trying to install MQ 7.5.0.2, even using the command

Code:
rpm -ivh --prefix /opt/mqm /WMQ_v7502_base/MQSeries*

Preparing...                ########################################### [100%]

ERROR:   Specified path is not empty

error: %pre(MQSeriesRuntime-7.5.0-2.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping MQSeriesRuntime-7.5.0-2




The version of RHEL Linux is a bit old but still should be OK

Linux xxxxxxxx 2.6.18-194.17.4.el5 #1 SMP Wed Oct 20 13:03:08 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

UPDATE:

I fixed the problem by removing some hidden files in /opt/mqm
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
tczielke
PostPosted: Tue Nov 17, 2015 1:48 pm    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Out of curiousity, where the files that you needed to delete under /opt/mqm/maintenance?
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Nov 17, 2015 10:38 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

No, some muppet had used /opt/mqm as the home directory for the mqm id and so there was a .profile and .ssh directories hiding in there.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Nov 18, 2015 4:12 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Ok, makes sense. We had a similar install issue where UNDER THE SUPERVISION OF THE IBM MQ SUPPORT STAFF, we had to do some clean up under /opt/mqm/maintenance to get the install to work.

In your case, it sounds like Gonzo needs to stop doing Linux administration and get back to playing the trumpet. Just kidding.
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Trying install WMQ on Linux
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.