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 5.3 installation on Linux 3.2

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ 5.3 installation on Linux 3.2 « View previous topic :: View next topic » 
Author Message
sairam
PostPosted: Thu Mar 10, 2005 12:37 pm    Post subject: MQ 5.3 installation on Linux 3.2 Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Hi,

I am trying to install MQ on Linux 3.2 and i get an error when running the "mqlicense.sh -accept " command.

Any tips asap is greatly appreciated.

./mqlicense.sh -accept
libgcj-java-placeholder.sh

ERROR ---->

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives( system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.

This script was designed to be overridden by the supported RHEL3 JRE
packages, java-1.4.2-bea and java-1.4.2-ibm. It is installed as an
alternative symlink as /usr/bin/java. It will override a third-party
(non-RHEL3) JRE's java command if the JRE's bin directory is listed
after /usr/bin in PATH. In that case, it is recommended that the
third-party JRE's bin directory be listed first in PATH instead.

gij: unrecognized option -- `-cp'
Try `gij --help' for more information.

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 in the 'License'
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.

Thanks
sksai.
Back to top
View user's profile Send private message
malammik
PostPosted: Thu Mar 10, 2005 12:58 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Make sure you have these libraries installed
libgcc-3.0
libstdc++3-3.0
or higher

and make sure you have following environmental variable set
LD_ASSUME_KERNEL=2.4.19
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
sairam
PostPosted: Thu Mar 10, 2005 1:15 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

hi,

Can you explain me more clearly how i need to check and from where i need to install these libraries.

Also i cannot get into /usr/java directory.I cannot get anything once i type "$CLASSPATH", any suggestions.

Thanks.
sk
Back to top
View user's profile Send private message
sairam
PostPosted: Thu Mar 10, 2005 2:05 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

I am not sure whether there is a Java environment set or not also since i dont see any directory under /usr/local. When i type java -version, i get something different "libgcj-java-placeholder.sh" followed by something.

I checked rpm -q kernel, rpm -q glibc and rpm -q egcs and all the versions satisfy the ones given in Linux quick beginnings.

Can any one help me out with this, i am stuck with this installation.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 10, 2005 5:51 pm    Post subject: Reply with quote

Grand High Poobah

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

What do you get when you do
Code:
which java
?
Back to top
View user's profile Send private message Send e-mail
malammik
PostPosted: Thu Mar 10, 2005 5:54 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Let's start from scratch. What do you get when you type in java -version?
Post your output from the set command. Remember to execute those commands as the user who is installing MQ which should be root.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
Chris J Andrews
PostPosted: Fri Mar 11, 2005 4:12 am    Post subject: Reply with quote

Newbie

Joined: 11 Mar 2005
Posts: 2

The problem here is that for some reason you have picked up the wrapper script /usr/bin/java - which gives the output:
Quote:

echo "libgcj-java-placeholder.sh"
echo
echo "This script is a placeholder for the /usr/bin/java"
echo "master link required by jpackage.org conventions. libgcj's"
echo "rmiregistry, rmic and jar tools are now slave symlinks to these"
echo "masters, and are managed by the alternatives(8) system."
...


which following a string of symlinks is actually from the script:
/usr/share/java/libgcj-java-placeholder.sh
(At least on my RHEL AS 3 box)

The question is - why is your mqlicense.sh script picking up /usr/bin/java as opposed to the JRE supplied on the install media? Have you copied the install packages and mqlicense.sh script without copying the subdirectories?

Check there is an executable file called "java" at the location ./lap/jre/bin/java (relative to the mqlicense.sh script).
_________________
WebSphere MQ Packaging Development
IBM UK Laboratories
Back to top
View user's profile Send private message
sairam
PostPosted: Fri Mar 11, 2005 6:58 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Hi,

I did a " which java " and i got "/usr/bin/java".

I checked the "./lap/jre/bin" and there are some .so files and java, javaw files too.

I got a "tar" file from my friend which i have extracted and executed the mqlicense.sh from there. DO you think he did not include all the files / subdirectories before preparing the "tar" ?

Using "java -version" gave the output as i got before which i posted earlier.

Thanks.
sk.
Back to top
View user's profile Send private message
sairam
PostPosted: Fri Mar 11, 2005 8:28 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

I used another " ./mqlicense.sh -accept" and it worked, after that i ran the commands -->

rpm -i MQSeriesRuntime....rpm
rpm -i MQSeriesSDK....rpm
rpm -i MQSeriesServer....rpm

The qmgrs and other folders were created and i have the qms.ini config file too.
So does that mean the installation is perfect or anything else i need to check out. I am going to create a default QM and QL and use the amqsput and amqsget sample programs to test later anyways, but just to make sure i do all the configurations prior to that task.
Back to top
View user's profile Send private message
sairam
PostPosted: Fri Mar 11, 2005 9:11 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

I dont see any files under "/opt/mqm/samp/bin" [the amqsbcg and etc..].
Do they come after i create a Default QM and QL??
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Mar 11, 2005 10:14 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You have to install package MQSeriesSamples

Charlie
Back to top
View user's profile Send private message
sairam
PostPosted: Fri Mar 11, 2005 10:21 am    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Thank You , i have done that and now i see all the sample commands.

Do i need to install the MQSeriesJava....rpm too? I think if i need to use SSL, then i need to install MQSeriesKeyMan...rpm and if i need to use help, i need to install MQSeriesMan. Am i right??

thnks for the info..
Back to top
View user's profile Send private message
velsin
PostPosted: Fri Mar 11, 2005 12:06 pm    Post subject: Reply with quote

Novice

Joined: 04 Mar 2005
Posts: 24

one more suggestion to add.
>open mqlicense.sh using Vi or some editior.
>Actually it looks for one file called status.sh[search: in mqlicense.sh ]
>create a balnk status.sh file in that directry
>and now run mqlicense.sh
> hope this will also solve your problem
Back to top
View user's profile Send private message
sairam
PostPosted: Fri Mar 11, 2005 12:10 pm    Post subject: Reply with quote

Centurion

Joined: 07 Mar 2005
Posts: 120

Cressida,
Thank you, but i ran another license file and fixed the issue.
Back to top
View user's profile Send private message
clindsey
PostPosted: Fri Mar 11, 2005 4:41 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Quote:

Do i need to install the MQSeriesJava....rpm too? I think if i need to use SSL, then i need to install MQSeriesKeyMan...rpm and if i need to use help, i need to install MQSeriesMan. Am i right??


Yes, you are correct.
You need to install MQSeriesJava if you need to run WMQ java applications from this server.

Charlie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ 5.3 installation on Linux 3.2
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.