当前位置: 代码迷 >> 综合 >> [TUXEDO] LINUX下安装TUXEDO
  详细解决方案

[TUXEDO] LINUX下安装TUXEDO

热度:28   发布时间:2023-12-19 14:44:01.0

================================安装流程==============================

一.   新建tuxedo

以root身份建立tuxedo用户,并以tuxedu用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo;

二.   上传安装包

用FTP把安装文件(tuxedo81_linux.bin)和用户许可证书文件(lic.txt)传到/home/tuxedo目录中;

三.   配置环境变量

修改.bash_profile文件(注:请看附件)

四.   执行安装

进入/home/tuxedo目录中,执行sh tuxedo81_linux.bin -i console;

================================错误处理==============================

错误01:

[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin -i console

Preparing to install...

The included VM could not be uncompressed.Please try to download the installer again and make sure that you downloadusing 'binary' mode.   Please do notattempt to install this currently downloaded copy.

 

解决办法:

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

 

出错02:

[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin -i console

Preparing to install...

/tmp/install.dir.22860/Linux/resource/jre/bin/i386/native_threads/java:error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot openshared 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, key IDdb42a60e

Preparing...                ########################################### [100%]

   1:compat-libstdc++       ########################################### [100%]

 

参考:(注:可在系统光盘中找到安装文件)

http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=4&threadID=13265&messageID=72337#72337

https://www.redhat.com/archives/fedora-list/2005-February/msg04944.html

 

出错3:

[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin

Preparing to install...

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 filelibc.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://people.redhat.com/drepper/libcwait.c,另要确认安装了C语言编译工具gcc。当然,这个问题的根源我也不懂,我是按别人的方法做的,并且接下来的安装都要执行完整的LD_PRELOAD=/home/tuxedo/libcwait.so /home/tuxedo/tuxedo81_linux.bin,而不是先前的sh tuxedo81_linux.bin

 

参考:

https://www.redhat.com/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 to install...

Invocation of this Java Application hascaused 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下载

http://java.sun.com/products/archive/j2se-eol.html

http://www.javazy.com/page/index.asp?sortid=468&id=1024

 

出错6

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

 

[tuxedo@TUXSVR4 tuxedo]$ tmboot -y

tmboot: internal error: CMDTUX_CAT:754:ERROR: error processing configuration file

tmboot: internal error: CMDTUX_CAT:1360:ERROR: configuration file not found

 

解决办法:

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

 

参考:

http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=4&threadID=223&messageID=1483#1483

 

出错7

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

 

[tuxedo@TUXSVR4 tuxedo]$ tmboot -y

tmboot: CMDTUX_CAT:1113: ERROR: Must be theadministrator to execute this command

 

解决办法:

删除tuxconfig

修改ubb里面的主机名称等变量;

修改必须的环境变量。

重新tmloadcf -yubb

 

出错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 siteXC_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

 

参考:

http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=4&threadID=1620&messageID=6816#6816

http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=4&threadID=24578&messageID=144089#144089

 

出错10

[tuxedo@TUXSVR4 tuxedo]$

Not foundlicence

解决办法:

将license文件重命名为lic.txt,并拷贝到$TUXDIR/udataobj/目录下

 

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

 

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

 

================================附录文件==============================

 

附:.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

exportTUXCONFIG=/home/tuxedo/appdir/tuxconfig

 

exportORACLE_HOME=/home/oracle/product/9.2.0

export ORACLE_SID=xcsb

 

#export NLS_LANG="SIMPLIFIEDCHINESE_CHINA.ZHS16GBK"

exportNLS_LANG="american_america.zhs16gbk"

export LANG=C

 

exportPATH=$TUXDIR/bin:$APPDIR:$ORACLE_HOME/bin:$APPDIR/bin:.:$PATH

exportLD_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

---------------------------------------