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 » MQ Installation Error on Linux 32 bit

Post new topic  Reply to topic Goto page Previous  1, 2
 MQ Installation Error on Linux 32 bit « View previous topic :: View next topic » 
Author Message
exerk
PostPosted: Thu Jun 12, 2014 5:12 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

I suggest you get an experienced *NIX Sys Admin to help you...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jun 12, 2014 6:00 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

exerk wrote:
I suggest you get an experienced *NIX Sys Admin to help you...


IMHO this had better be an experienced Ubuntu hacker rather than a proper UNIX/ Linux (RHEL/SUSE) Sys Admin.
Ubuntu is a law until themselves. A law that often gets broken with new releases. That was why I gave up on it years ago and returned to the Oasis of stability that is RHEL/CentOS.
_________________
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
View user's profile Send private message
exerk
PostPosted: Thu Jun 12, 2014 6:06 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

smdavies99 wrote:
exerk wrote:
I suggest you get an experienced *NIX Sys Admin to help you...


IMHO this had better be an experienced Ubuntu hacker rather than a proper UNIX/ Linux (RHEL/SUSE) Sys Admin.
Ubuntu is a law until themselves. A law that often gets broken with new releases. That was why I gave up on it years ago and returned to the Oasis of stability that is RHEL/CentOS.

Ubuntu Server 14.04 LTS is extremely user friendly and even I had no trouble installing WMQ V7.5 on it (64-Bit by the way) so I wonder which version the OP is using?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Thu Jun 12, 2014 11:18 am    Post subject: Reply with quote

Master

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

MB Developer wrote:
Hi All,

I have downloaded another software in below link

https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-wsmbt&S_TACT=109J84QW&lang=en_US&S_PKG=linuxx86&cp=UTF-8&dlmethod=http

WebSphere MQ (v7.0.1.3 Trial) for Linux on x86
CZRW2ML.tar.gz (458.9M)

When I install this S/W then below error will get

Code:

root@binary-G41-M7:/home/binary/Softwares/MQ/CZRW2ML# ./mqlicense.sh
./mqlicense.sh: 99: ./mqlicense.sh: [[: not found




This is occurring because, by default, Ubuntu have /bin/sh pointing to dash instead of bash. The [[ ]] syntax is one of the incompatibilities between the two shells. You can get rid of this by editing mqlicense.sh and changing the #!/bin/sh to #!/bin/bash.
_________________
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
smdavies99
PostPosted: Sat Jun 14, 2014 10:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Philip Morten wrote:

This is occurring because, by default, Ubuntu have /bin/sh pointing to dash instead of bash. The [[ ]] syntax is one of the incompatibilities between the two shells. You can get rid of this by editing mqlicense.sh and changing the #!/bin/sh to #!/bin/bash.


And how many 'normal' Ubuntu users know this? Not many is my guess.

Canonical are well known in the Linux world for 'doing their own thing and to hell with the rest of us'. I was once a supporter of what they were trying to do but persistent upgrades kept breaking stuff right-left-and-centre so I hauled up the white flag and moved to CentOS/RHEL.
_________________
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
View user's profile Send private message
tczielke
PostPosted: Sun Jun 15, 2014 5:24 am    Post subject: Reply with quote

Guardian

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

I have found this type of inconsistent behavior in shell scripting too often common for the Unix shell scripting environment. It is a non-conforming, inconsistent world that drives me batty with the shell scripts that we have to support across different versions of Solaris and Linux. My deepest sympathies to anyone like IBM that has to support shell scripts over even more Unix variants.
Back to top
View user's profile Send private message
MB Developer
PostPosted: Sun Jun 15, 2014 8:57 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi Philip Morten,

Philip Morten wrote:
MB Developer wrote:
Hi All,

I have downloaded another software in below link

https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-wsmbt&S_TACT=109J84QW&lang=en_US&S_PKG=linuxx86&cp=UTF-8&dlmethod=http

WebSphere MQ (v7.0.1.3 Trial) for Linux on x86
CZRW2ML.tar.gz (458.9M)

When I install this S/W then below error will get

Code:

root@binary-G41-M7:/home/binary/Softwares/MQ/CZRW2ML# ./mqlicense.sh
./mqlicense.sh: 99: ./mqlicense.sh: [[: not found




This is occurring because, by default, Ubuntu have /bin/sh pointing to dash instead of bash. The [[ ]] syntax is one of the incompatibilities between the two shells. You can get rid of this by editing mqlicense.sh and changing the #!/bin/sh to #!/bin/bash.



Sorry for the delay in replying....

I was tryed what you are said above ....#!/bin/sh to #!/bin/bash

Then Mqlicense is accepted but when rpm -ivh MQSeriesRuntime-7.1.0-3.i386.rpm then error will occurred.


root@binary-G41-M7:/home/binary/SW/MQ7.1.0.3_Linux_32bit# ./mqlicense.sh -accept
./mqlicense.sh: 98: ./mqlicense.sh: [[: not found

Licensed Materials - Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2011 All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.


Displaying license agreement on :0

Agreement accepted: Proceed with install.




root@binary-G41-M7:/home/binary/SW/MQ7.1.0.3_Linux_32bit# rpm -ivh MQSeriesRuntime-7.1.0-3.i386.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by MQSeriesRuntime-7.1.0-3.i386




Thanks in Advance...
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jun 16, 2014 12:19 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Code:


root@binary-G41-M7:/home/binary/SW/MQ7.1.0.3_Linux_32bit# rpm -ivh MQSeriesRuntime-7.1.0-3.i386.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!


did you read this bit of the output?

If you really continue to struggle and can't get the services of a decent Ubuntu admin then I'd look at switching distros to say CentOS.
_________________
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
View user's profile Send private message
Philip Morten
PostPosted: Mon Jun 16, 2014 1:15 am    Post subject: Reply with quote

Master

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

MB Developer wrote:

root@binary-G41-M7:/home/binary/SW/MQ7.1.0.3_Linux_32bit# rpm -ivh MQSeriesRuntime-7.1.0-3.i386.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by MQSeriesRuntime-7.1.0-3.i386




Thanks in Advance...

See the Technote about installing on Ubuntu at http://www-01.ibm.com/support/docview.wss?uid=swg21656068
_________________
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
MB Developer
PostPosted: Mon Jun 16, 2014 8:47 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi Philip Morten ,smdavies99, exerk and All,


Really thanks for all Responses Now MQ is installed.

But I have a problem

When I run "dspmqver" then it will show error

root@binary-G41-M7:/home/binary/MQ7.1.0.3_Linux_32bit# dspmqver
dspmqver: command not found

binary@binary-G41-M7:~$ dspmqver
dspmqver: command not found


These are the packages installed.


root@binary-G41-M7:/home/binary/MQ7.1.0.3_Linux_32bit# rpm -qa | grep -i mq
MQSeriesRuntime-7.1.0-3.i386
MQSeriesClient-7.1.0-3.i386
MQSeriesJRE-7.1.0-3.i386
MQSeriesExplorer-7.1.0-3.i386
MQSeriesMan-7.1.0-3.i386
MQSeriesTXClient-7.1.0-3.i386
MQSeriesServer-7.1.0-3.i386
MQSeriesJava-7.1.0-3.i386
MQSeriesGSKit-7.1.0-3.i386
MQSeriesSDK-7.1.0-3.i386
MQSeriesSamples-7.1.0-3.i386
MQSeriesMsg_es-7.1.0-3.i386

root@binary-G41-M7:/home/binary/MQ7.1.0.3_Linux_32bit#

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 16, 2014 9:34 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9400
Location: US: west coast, almost. Otherwise, enroute.

dspmqver: command not found  is an error message from your unix shell telling you that dspmqver cannot be found in the search path.

If you do an ls command, do you see dspmqver? If so, try ./dspmqver 
_________________
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
View user's profile Send private message
exerk
PostPosted: Mon Jun 16, 2014 11:34 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

MB Developer wrote:
But I have a problem

When I run "dspmqver" then it will show error

root@binary-G41-M7:/home/binary/MQ7.1.0.3_Linux_32bit# dspmqver
dspmqver: command not found

binary@binary-G41-M7:~$ dspmqver
dspmqver: command not found

You installed WMQ V7.1 - try researching the setting of Primary Installations or setting up your environment before using it...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Tibor
PostPosted: Tue Jun 17, 2014 5:41 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

As exerk mentioned, you should set the primary installation, more information here and here
Back to top
View user's profile Send private message
MB Developer
PostPosted: Wed Jun 18, 2014 7:45 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi All,

Thanks for your time ....

This command is working to install MQ in Ubuntu.

rpm -ivh --nodeps --force-debian --prefix /opt/mqm MQSeriesRuntime-*rpm

LINK



Thanks....
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 » MQ Installation Error on Linux 32 bit
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.