|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Trying install WMQ on Linux |
« View previous topic :: View next topic » |
Author |
Message
|
emiddleware |
Posted: Fri Jun 26, 2015 12:30 am Post subject: |
|
|
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 |
|
 |
Philip Morten |
Posted: Fri Jun 26, 2015 2:50 am Post subject: |
|
|
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 |
|
 |
emiddleware |
Posted: Fri Jun 26, 2015 3:45 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2006 Posts: 120
|
Thanks Philip  _________________ Best Regards,
E-MiddleWare |
|
Back to top |
|
 |
zpat |
Posted: Tue Nov 17, 2015 4:38 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
tczielke |
Posted: Tue Nov 17, 2015 1:48 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 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 |
|
 |
zpat |
Posted: Tue Nov 17, 2015 10:38 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
tczielke |
Posted: Wed Nov 18, 2015 4:12 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 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 |
|
 |
|
|
|
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
|
|
|
|