一. root身份建立tuxedo用户,并以tuxedu用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo
二. FTP把安装文件(tuxedo81_linux.bin)和用户许可证书文件()传到/home/tuxedo目录中;
配置环境变量,.bash_profile文件,附文末;
四. 进入/home/tuxedo目录中,执行sh tuxedo81_linux.bin

出错1--------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing
The included VM could not be uncompressed. Please try to download
the installer again and make sure that you download using 'binary'
mode.  Please do not attempt to install this currently downloaded copy.

解决办法:


脚本使用uncompress命令,但是linux下没有。使用cp /bin/gunzip  /bin/uncompress

出错2----------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing
/tmp/install.dir.22860/Linux/resource/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

解决办法:

[root@TUXSVR4 root]# rpm -ivh /tmp/compat-libstdc++-7.3-2.96.118.i386.rpm
warning: /tmp/compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, k
ey ID db42a60e
                >>>>>>>>### [100%]    1:compat-libstdc++        >>>>>>>>### [100%]
参考:
dev2dev.bea/bbs/thread.jspa?forumID=4&threadID=13265&messageID=72337#72337
dhat/archives/fedora-list/2005-February/msg04944.html

出错3-----------------------------------------------------------------

[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing
Error occurred during initialization of VM
Unable to load native library: /tmp/install.dir.14985/Linux/resource/jre/jre/lib/i386/libjava.so: symbol __libc_wait,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference

解决办法:

(解决这个报错花费了最多的时间,最少半天功夫,寻了很多资料,尝试来了各种办法才搞定,已经到了崩溃的边缘:)

tuxedo用户下执行
gcc -shared -fpic -o libcwait.so libcwait.c
chmod a+x /home/tuxedo/tuxedo81_linux.bin
LD_PRELOAD=/home/tuxedo/libcwait.so /home/tuxedo/tuxedo81_linux.bin


注意,是将libcwtit.c编译成libcwait.so文件,libcwait.c下载地址ftp://dhat /drepper/libcwait.c
另要确认安装了C语言编译工具gcc。当然,这个问题的根源我也不懂,我是按别人的方法做的,
并且接下来的安装都要执行完整的LD_PRELOAD=/home/tuxedo/libcwait.so /home/tuxedo/tuxedo81_linux.bin,而不是
先前的sh tuxedo81_linux.bin

参考:
dhat/archives/fedora-list/2004-July/msg00315.html

出错4-----------------------------------------------------------------

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

解决办法:


root登录执行
xhost +192.173.1.4 (本机Ip地址)

出错5-----------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ LD_PRELOAD=/home/tuxedo/libcwait.so /home/tuxedo/tuxedo81_linux.bin
Preparing
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError

....


解决办法:

先怀疑jdk问题,尝试安装 jdk,下载jdk,并配置jdk环境
chmod  u+x  ./j2sdk-1_4_2_04-linux-i586.bin
./j2sdk-1_4_2_04-linux-i586.bin
mkdir  /usr/java
rpm  -ivh  j2sdk-1_4_2_04-linux-i586-rpm 

还是不能启用图形节目安装,最后只好加 -i console 不启图形界面进行安装,即

LD_PRELOAD=/home/tuxedo/libcwait.so /home/tuxedo/tuxedo81_linux.bin -i console

不过这个问题,如果非要启用图形界面安装,一直没到好的办法解决,始终还是上面这个报错,还请高手指点。


参考:
jdk下载
java.sun/products/archive/j2se-eol.html
www.javazy/page/index.asp?sortid=468&id=1024

出错 6-------------------------------------------------------------------------
tuxedo程序总算装完了,很高兴地去启动程序,又来了个报错,汗!!!

[tuxedo@TUXSVR4 tuxedo]$ tmboot -y
tmboot: internal error: CMDTUX_CAT:754: ERROR: error processing configuratio
n file
tmboot: internal error: CMDTUX_CAT:1360: ERROR: configuration file not found

解决办法:
从另外一台已装好tuxedo机器拷贝 tuxconfig文件到相应目录

参考:
dev2dev.bea/bbs/thread.jspa?forumID=4&threadID=223&messageID=1483#1483

出错7------------------------------------------------------------------
这个问题也很郁闷,好像是tuxedo的权限问题,花了半天时间想着给他权限,还是不行

[tuxedo@TUXSVR4 tuxedo]$ tmboot -y
tmboot: CMDTUX_CAT:1113: ERROR: Must be the administrator to execute this command

解决办法:
删除tuxconfig
修改ubb里面的主机名称等变量;
修改必须的环境变量。
重新tmloadcf -y ubb

出错8------------------------------------------------------------------

tmloadcf cannot run on a non-master node

解决办法:
ubb文件中主机名大小写弄错,ubb文件中主机名要与实际相一致,包括大小写,改正即可

出错9------------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ tmboot -y
Booting all admin and server processes in /home/tuxedo/appdir/tuxconfig
INFO: BEA Tuxedo, Version 8.1
INFO: Serial #: 650522264138-1743831940315, Expiration NONE, Maxusers 30
INFO: Licensed to: MOLSS China

Booting admin processes ...

exec BBL -A :
        Failed.

tmboot: WARN: No BBL available on site XC_SERV.
        Will not attempt to boot server processes on that site.


Booting server processes ...

0 processes started.

解决办法:

启动tmadmin
crdl -b 3000 -z appdir/TLOG/TLOG
crlog -m XC_SERV4

参考:
dev2dev.bea/bbs/thread.jspa?forumID=4&threadID=1620&messageID=6816#6816
dev2dev.bea/bbs/thread.jspa?forumID=4&threadID=24578&messageID=144089#144089

================================================


虚拟机linux安装jdk


在接下来就是tuxedo应用方面配置的问题,由专门的软件人员搞定,我的任务算完成了!

感谢dev2dev.bea论坛及热心网友!

附:.bash_profile
---------------------------------
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi


PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""
export USERNAME
export BASH_ENV
export PATH
export TUXDIR=/home/tuxedo/tuxedo8.1
export APPDIR=/home/tuxedo/appdir
export TUXCONFIG=/home/tuxedo/appdir/tuxconfig
export ORACLE_HOME=/home/oracle/product/9.2.0
export ORACLE_SID=xcsb
#export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
export NLS_LANG="american_america.zhs16gbk"
export PATH=$TUXDIR/bin:$APPDIR:$ORACLE_HOME/bin:$APPDIR/bin:.:$PATH
export LANG=C
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:$TUXDIR/lib:$LD_LIBRARY_PATH
export LC=en_US
export CC=cc
#export DISPLAY=178.22.11.199:1.0
export TMOUT=100000000

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。