Menu

#3 Suggestions for improving Linux install

v1.0_(example)
open
nobody
5
2006-03-31
2006-03-31
No

Hi there. After spending a lot of time, I think I have
AMTU running OK on my Linux box. Here are some changes
that I think would be super intelligent.

First, the documentation for Linux should recommend
j2re-1_4_2_11-linux-i586 from

http://java.sun.com/j2se/1.4.2/download.html

I'd toss a big note in the README for this.

Second, upgrade to Wrapper 3.2.0 completely as this
will eliminate the errors in the wrapper.log file
complaining about version problems.

Replace

service/bin/wrapper
service/lib/wrapper.jar
service/lib/libwrapper.so

Delete

service/lib/wrapper.dll

as this file isn't used on Linux.

Note that the Wrapper 3.2.0 distribution comes with an
upgraded and improved shell script so service/bin/amt
and service/bin/amt_monitor should be reworked using
the new shell script as a starting point. This isn't
hard. Ask me if you like and I can give the ones I did.

There are chkconfig lines in the 3.2.0 shell script
which is nice.

I recommend amt has chkconfig 2345 98 02 and
amt_monitor has 2345 99 01. This will ensure that amt
starts first and amt_monitor is shut down first.

I'd use these same settings for the install script...
but instead of manually setting the symbolic links, it
might make sense to have the install script see if
chkconfig exists on the system and if so use it i.e.
'chkconfig --add amt' will create all the symbolic
links for amt magically.

Third, uninstall.sh and config.sh need to have

export JAVA_HOME=/usr/java/j2re1.4.2_11

at the top or they will not work. (Same line as
install.sh)

While editing these two files, I'd toss a

#! /bin/bash

on there as well.

IMHO these are all simple changes that will make things
easier for anyone coming along later and trying to get
the stuff running under Linux.

The only other issues I ran into was that the system
wants the "master" or "root" username for the Seller
Central account and the password that goes with that
username. The token can be gotten from TAM. It took me
a while to get both of those figured out... we never
knew anything about a "root" user account until trying
to do AMTU.

Discussion


Log in to post a comment.

Monday.com Logo