Author |
Message
|
4everfsu |
Posted: Mon Jul 16, 2012 9:06 am Post subject: Trying install WMQ on Linux |
|
|
Apprentice
Joined: 17 Jan 2008 Posts: 34
|
Getting the following error. Has anyone run into this before? Did search on ibmlink and google the msg below, no hits to help. Thanks
[root@cae1lvd1 mqm]# rpm -ivh MQSeriesRuntime-7.5.0-0.x86_64.rpm
Preparing... ########################################### [100%]
ERROR: Specified path is not empty
error: %pre(MQSeriesRuntime-7.5.0-0.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MQSeriesRuntime-7.5.0-0
[root@cae1lvd1 mqm]# |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 16, 2012 8:23 pm Post subject: Re: Trying install WMQ on Linux |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
4everfsu wrote: |
Getting the following error. Has anyone run into this before? Did search on ibmlink and google the msg below, no hits to help. Thanks
[root@cae1lvd1 mqm]# rpm -ivh MQSeriesRuntime-7.5.0-0.x86_64.rpm
Preparing... ########################################### [100%]
ERROR: Specified path is not empty
error: %pre(MQSeriesRuntime-7.5.0-0.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MQSeriesRuntime-7.5.0-0
[root@cae1lvd1 mqm]# |
if you run find /opt/mqm as root, what do you get?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Felix |
Posted: Tue Jul 17, 2012 10:16 pm Post subject: |
|
|
 Newbie
Joined: 18 Jan 2012 Posts: 9 Location: Bangalore
|
|
Back to top |
|
 |
JasonE |
Posted: Mon Jul 30, 2012 3:31 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Is the directory MQ is being installed into empty? Does it work if it is? Looks to me like a cheeck was added to 7.5 to verify the destination for MQ (code, not data) is empty in the runtime install |
|
Back to top |
|
 |
garasan |
Posted: Thu Sep 20, 2012 6:33 am Post subject: |
|
|
 Apprentice
Joined: 22 Jul 2008 Posts: 42 Location: Antwerp, Belgium
|
Clear /opt/mqm/ dir and try again. _________________ Regards |
|
Back to top |
|
 |
emiddleware |
Posted: Thu Jun 18, 2015 2:42 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2006 Posts: 120
|
Hi,
I want to install MQ 7.5 in Linux-Ubuntu(64 bit).
I created a folder called "mqm", under the /opt folder.
/opt/mqm is empty.
I have the installables (untar files) in the location /home/dim/MQ.
After accepting the licence, I ran the command
root@D0036:/opt/mqm# rpm -ivh --nodeps --force-debian /home/dim/MQ/MQSeriesRuntime-*.rpm
My installation failed . I got the following response.
Preparing... ################################# [100%]
ERROR: Specified path is not empty
error: %pre(MQSeriesRuntime-7.5.0-2.x86_64) scriptlet failed, exit status 1
error: MQSeriesRuntime-7.5.0-2.x86_64: install failed
What should I do ? _________________ Best Regards,
E-MiddleWare |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 18, 2015 2:50 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
I'd suggest that you follow the instructions downloadable from ibm's knowledge center. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
emiddleware |
Posted: Thu Jun 18, 2015 9:47 pm Post subject: |
|
|
Centurion
Joined: 03 Apr 2006 Posts: 120
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 19, 2015 5:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you by any chance having . or ./temp as temp file?
Are you sure you are installing in the right sequence?
--nodep can mess up the install sequence ...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Jun 19, 2015 5:51 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
--nodep can mess up the install sequence ...  |
Which is why I tend to use 'yum' when installing on RHEL/CentOS
Also I think you are going to need more of the MQ .rpm's
Whist is why I delete the ones O DON't want such as the lang packs and then install everything. sure I'm lazy but I can't ever remember running into the sort of error the OP is encountering. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 19, 2015 6:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
smdavies99 wrote: |
Which is why I tend to use 'yum' when installing on RHEL/CentOS
Also I think you are going to need more of the MQ .rpm's
Whist is why I delete the ones O DON't want such as the lang packs and then install everything. sure I'm lazy but I can't ever remember running into the sort of error the OP is encountering. |
The OP says he's installing on Ubuntu... I believe there is a special install proc described in the infocenter for Ubuntu...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Jun 19, 2015 7:15 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
The OP says he's installing on Ubuntu... I believe there is a special install proc described in the infocenter for Ubuntu...  |
Yes Ubuntu, the distro that tries to be everything to everyone and misses the mark in oh so many ways but I will give Canonical and the Linux press one thing, they have succeeded into getting an awful lot of people into thinking that Ubuntu ===== Linux and nowt else matters.
There is a world of stability outside the land of the Brown and Orange
Just my £0.02p worth. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 19, 2015 7:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
Philip Morten |
Posted: Fri Jun 19, 2015 7:46 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
Can you please add -vv to the rpm command, save the output, and find the point in the resulting log where that message is issued. What you are doing should work. _________________ 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 12:05 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2006 Posts: 120
|
Philip Morten wrote: |
Can you please add -vv to the rpm command, save the output, and find the point in the resulting log where that message is issued. What you are doing should work. |
Hi Philip,
I added -vv to the command.
I got the following result.
root@/mq# rpm -vv -ivh --nodeps --force-debian MQSeriesRuntime-*.rpm
D: ============== MQSeriesRuntime-7.5.0-2.x86_64.rpm
D: loading keyring from pubkeys in /root/.rpmdb/pubkeys/*.key
D: couldn't find any keys in /root/.rpmdb/pubkeys/*.key
D: loading keyring from rpmdb
D: opening db environment /root/.rpmdb cdb:0x401
D: opening db index /root/.rpmdb/Packages 0x400 mode=0x0
D: locked db index /root/.rpmdb/Packages
D: opening db index /root/.rpmdb/Name 0x400 mode=0x0
D: Expected size: 20300914 = lead(96)+sigs(180)+pad(4)+data(20300634)
D: Actual size: 20300914
D: MQSeriesRuntime-7.5.0-2.x86_64.rpm: Header SHA1 digest: OK (1266fdbd6762396721bf28f9a49db96d3b91d86f)
D: added binary package [0]
D: found 0 source and 1 binary packages
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, depth)
D: 0 0 0 1 +MQSeriesRuntime-7.5.0-2.x86_64
D: installing binary packages
D: Selinux disabled.
D: closed db index /root/.rpmdb/Name
D: closed db index /root/.rpmdb/Packages
D: closed db environment /root/.rpmdb
D: opening db environment /root/.rpmdb cdb:0x401
D: opening db index /root/.rpmdb/Packages (none) mode=0x42
D: sanity checking 1 elements
D: opening db index /root/.rpmdb/Name (none) mode=0x42
D: running pre-transaction scripts
D: computing 1888 file fingerprints
D: opening db index /root/.rpmdb/Basenames (none) mode=0x42
D: opening db index /root/.rpmdb/Group (none) mode=0x42
D: opening db index /root/.rpmdb/Requirename (none) mode=0x42
D: opening db index /root/.rpmdb/Providename (none) mode=0x42
D: opening db index /root/.rpmdb/Conflictname (none) mode=0x42
D: opening db index /root/.rpmdb/Obsoletename (none) mode=0x42
D: opening db index /root/.rpmdb/Triggername (none) mode=0x42
D: opening db index /root/.rpmdb/Dirnames (none) mode=0x42
D: opening db index /root/.rpmdb/Installtid (none) mode=0x42
D: opening db index /root/.rpmdb/Sigmd5 (none) mode=0x42
D: opening db index /root/.rpmdb/Sha1header (none) mode=0x42
Preparing... D: computing file dispositions
D: 0x00000801 4096 22777063 6263820 /
################################# [100%]
D: ========== +++ MQSeriesRuntime-7.5.0-2 x86_64-linux 0x0
D: Expected size: 20300914 = lead(96)+sigs(180)+pad(4)+data(20300634)
D: Actual size: 20300914
D: MQSeriesRuntime-7.5.0-2.x86_64: Header SHA1 digest: OK (1266fdbd6762396721bf28f9a49db96d3b91d86f)
D: install: MQSeriesRuntime-7.5.0-2 has 1888 files
D: %pre(MQSeriesRuntime-7.5.0-2.x86_64): scriptlet start
D: %pre(MQSeriesRuntime-7.5.0-2.x86_64): execv(/bin/sh) pid 4329
+ RPM_PACKAGE_SUMMARY=WebSphere MQ Runtime FileSet
+ RPM_PACKAGE_NAME=MQSeriesRuntime
+ RPM_PACKAGE_VERSION=7.5.0
+ RPM_PACKAGE_RELEASE=2
+ PACKAGEPLATFORMS=x86_64
+ MQ_DEFAULT_INSTALLATION_PATH=/opt/mqm
+ MQ_INSTALLATION_PATH=
+ MQ_RUNSCRIPT=
+ grep xtrace
+ echo
+ [ 1 -eq 0 ]
+ TMPDIR=/tmp
+ RC=0
+ DUMMY=
+ TMPFILE=/tmp/amq_grouptest
+ touch /tmp/amq_grouptest
+ [ -f /tmp/amq_grouptest ]
+ chown :mqm /tmp/amq_grouptest
+ [ 0 -ne 0 ]
+ rm -f /tmp/amq_grouptest
+ id -u mqm
+ ErrorText=999
+ RC=0
+ [ 0 -ne 0 ]
+ id -Gn mqm
+ grep -w mqm
+ ErrorText=mqm
+ [ 0 -ne 0 ]
+ [ 0 -gt 256 ]
+ echo
+ grep [:%#]
+ [ 1 -eq 0 ]
+ grep MQSeriesRuntime
+ echo MQSeriesRuntime
+ [ 0 -eq 0 ]
+ [ -d ]
+ ls -A
+ LS_ALL=bin
boot
cdrom
dev
etc
home
initrd.img
lib
lib32
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
vmlinuz
+ [ bin
boot
cdrom
dev
etc
home
initrd.img
lib
lib32
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
vmlinuz ]
+ [ bin
boot
cdrom
dev
etc
home
initrd.img
lib
lib32
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
vmlinuz != lost+found ]
+ echo
+ echo ERROR: Specified path is not empty
ERROR: Specified path is not empty
+ echo
+ exit 1
D: %pre(MQSeriesRuntime-7.5.0-2.x86_64): waitpid(4329) rc 4329 status 100
error: %pre(MQSeriesRuntime-7.5.0-2.x86_64) scriptlet failed, exit status 1
error: MQSeriesRuntime-7.5.0-2.x86_64: install failed
D: running post-transaction scripts
D: closed db index /root/.rpmdb/Sha1header
D: closed db index /root/.rpmdb/Sigmd5
D: closed db index /root/.rpmdb/Installtid
D: closed db index /root/.rpmdb/Dirnames
D: closed db index /root/.rpmdb/Triggername
D: closed db index /root/.rpmdb/Obsoletename
D: closed db index /root/.rpmdb/Conflictname
D: closed db index /root/.rpmdb/Providename
D: closed db index /root/.rpmdb/Requirename
D: closed db index /root/.rpmdb/Group
D: closed db index /root/.rpmdb/Basenames
D: closed db index /root/.rpmdb/Name
D: closed db index /root/.rpmdb/Packages
D: closed db environment /root/.rpmdb
root@/mq# ^C
root@/mq#
 _________________ Best Regards,
E-MiddleWare |
|
Back to top |
|
 |
|