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 V6 Installation on Solaris

Post new topic  Reply to topic
 MQ V6 Installation on Solaris « View previous topic :: View next topic » 
Author Message
mailsachin245
PostPosted: Sun Jun 27, 2010 11:50 am    Post subject: MQ V6 Installation on Solaris Reply with quote

Novice

Joined: 09 May 2009
Posts: 11

Hi,

I was trying to install MQ on Solaris 10. I had installed jdk-1_5_0_22-solaris-i586 and also have created the mqm user/group.

Getting the following error while accepting the agreement.

# ./mqlicense.sh -accept
./mqlicense.sh[167]: ./lap/jre/bin/java: cannot execute

ERROR: Installation will not succeed unless the license
agreement can be accepted.

If the error was caused by a display problem,
read the license agreement file (LA_xx, where
xx represents your language ) in the 'licenses'
directory, and then run the following command:

mqlicense.sh -accept

Only use this command if you accept the license
agreement.

For other errors, contact your IBM support centre.

#


Also giving the output of uname:
# uname -a
SunOS solaris-devx 5.11 snv_70b i86pc i386 i86pc


Please help me in resolving the issue.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Jun 27, 2010 4:34 pm    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

mailsachin245 wrote:
[i]# ./mqlicense.sh -accept
./mqlicense.sh[167]: ./lap/jre/bin/java: cannot execute


Unix 101 Line 167 of the mqlicense.sh script is trying to run ./lap/jre/bin/java but is failing becase of an 'execute' permissions error.
_________________
Glenn
Back to top
View user's profile Send private message
mailsachin245
PostPosted: Sun Jun 27, 2010 8:53 pm    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Novice

Joined: 09 May 2009
Posts: 11

gbaddeley wrote:

Unix 101 Line 167 of the mqlicense.sh script is trying to run ./lap/jre/bin/java but is failing becase of an 'execute' permissions error.


I first guessed that but i tried to run as root besides the file permission is Executable

# ls -l ./lap/jre/bin/java
-rwxr-xr-x 1 226 12201 78880 Apr 26 2008 ./lap/jre/bin/java
# whoami
root
#
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 27, 2010 9:28 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
# uname -a
SunOS solaris-devx 5.11 snv_70b i86pc i386 i86pc


Are you sure you installed MQ for Solaris on Intel and not MQ for Solaris on sparc?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mailsachin245
PostPosted: Mon Jun 28, 2010 1:43 am    Post subject: Reply with quote

Novice

Joined: 09 May 2009
Posts: 11

fjb_saper wrote:
Quote:
# uname -a
SunOS solaris-devx 5.11 snv_70b i86pc i386 i86pc


Are you sure you installed MQ for Solaris on Intel and not MQ for Solaris on sparc?


Yeah..!! its my PC, I have used VMware 5.* to install Solaris.
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Mon Jun 28, 2010 1:56 am    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Master

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

mailsachin245 wrote:
gbaddeley wrote:

Unix 101 Line 167 of the mqlicense.sh script is trying to run ./lap/jre/bin/java but is failing becase of an 'execute' permissions error.


I first guessed that but i tried to run as root besides the file permission is Executable

# ls -l ./lap/jre/bin/java
-rwxr-xr-x 1 226 12201 78880 Apr 26 2008 ./lap/jre/bin/java
# whoami
root
#

What is the output of 'file ./lap/jre/bin/java' ?

--
Philip Morten
Back to top
View user's profile Send private message
mailsachin245
PostPosted: Mon Jun 28, 2010 10:53 am    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Novice

Joined: 09 May 2009
Posts: 11

Philip Morten wrote:

[/i]

What is the output of 'file ./lap/jre/bin/java' ?

--
Philip Morten[/quote]


Sorry for the delayed reply:

# file ./lap/jre/bin/java
./lap/jre/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
#



Also its a new installation, so should i start the JVM or any program manually?
---
Sachin
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 28, 2010 11:04 am    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mailsachin245 wrote:
Sorry for the delayed reply:

# file ./lap/jre/bin/java
./lap/jre/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
#


That does not agree with
mailsachin245 wrote:
Also giving the output of uname:
# uname -a
SunOS solaris-devx 5.11 snv_70b i86pc i386 i86pc


So...

fjb_saper wrote:
Are you sure you installed MQ for Solaris on Intel and not MQ for Solaris on sparc?
Back to top
View user's profile Send private message
mailsachin245
PostPosted: Mon Jun 28, 2010 11:22 am    Post subject: Re: MQ V6 Installation on Solaris Reply with quote

Novice

Joined: 09 May 2009
Posts: 11

ohh..!!! sorry all.. Actually my friend has given me sparc edition of MQ


Thanks A Lot
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 » IBM MQ Installation/Configuration Support » MQ V6 Installation on Solaris
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.