Author |
Message
|
mailsachin245 |
Posted: Sun Jun 27, 2010 11:50 am Post subject: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
gbaddeley |
Posted: Sun Jun 27, 2010 4:34 pm Post subject: Re: MQ V6 Installation on Solaris |
|
|
 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 |
|
 |
mailsachin245 |
Posted: Sun Jun 27, 2010 8:53 pm Post subject: Re: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
fjb_saper |
Posted: Sun Jun 27, 2010 9:28 pm Post subject: |
|
|
 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 |
|
 |
mailsachin245 |
Posted: Mon Jun 28, 2010 1:43 am Post subject: |
|
|
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 |
|
 |
Philip Morten |
Posted: Mon Jun 28, 2010 1:56 am Post subject: Re: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
mailsachin245 |
Posted: Mon Jun 28, 2010 10:53 am Post subject: Re: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Jun 28, 2010 11:04 am Post subject: Re: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
mailsachin245 |
Posted: Mon Jun 28, 2010 11:22 am Post subject: Re: MQ V6 Installation on Solaris |
|
|
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 |
|
 |
|