1.先下载tuxedo软件tuxedo81_linux.bin 这个软件起初在centos 5.5上安装。点击这里进入下载需要注册。一. 以root身份建立tuxedo
1.先下载tuxedo软件tuxedo81_linux.bin 这个软件起初在centos 5.5上安装。点击这里进入下载需要注册。
一. 以root身份建立tuxedo用户,,并以tuxedo用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo;
二. 创建/opt/tuxedo目录,用来安装tuxedo,记得要chown tuxedo.tuxedo tuxedo,把tuxedo目录的属主和组都改成tuxedo;
三. 用ssh把安装文件(tuxedo81_linux.bin)和用户许可证书文件(lic.txt)传到/opt/tuxedo目录中;
四. 执行sh tuxedo81_linux.bin
问题:
出错1--------------------------------------------------
[tuxedo@tuxsvr4 tuxedo]$ sh tuxedo81_linux.bin
preparing to install...
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--------------------------------------------------
preparing to install...
/tmp/install.dir.17644/linux/resource/jre/bin/i386/native_threads/java: error wh
ile loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared objec
t file: no such file or directory
解决:
从别处拷来libstdc++-libc6.1-1.so.2 放到usr/lib里或者安装libstdc++-2.95.3-0.20000503.1.i386.rpm 软件包
rpm -ivh libstdc++-2.95.3-0.20000503.1.i386.rpm --force进去
注:本人系统为centos 5.4 /usr/lib/目录下 为libstdc++-libc6.2-2.so.3 版本 . 重命名为libstdc++-libc6.1-1.so.2
出错3
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 file libc.so.6 with link time reference
解决:
建立libcwait.c内容如下:
/* compile with
gcc -shared -o libcwait.so libcwait.c -fpic -o
and use it by adding
ld_preload=/path/to/libcwait.so
in the environment of the application with the bug.
*/
#include
#include
#include
#include
pid_t
__libc_wait (int *status)
{
int res;
asm volatile (pushl %%ebx\n\t
movl %2, %%ebx\n\t
movl %1, %%eax\n\t
int $0x80\n\t
popl %%ebx
: =a (res)
: i (__nr_wait4), 0 (wait_any), c (status), d (0),
s (0));
return res;
}
把它编译成libcwait.so
gcc -shared -fpic -o libcwait.so libcwait.c
然后:
export ld_preload=/opt/tuxedo/libcwait.so
chmod a+x /opt/tuxedo/tuxedo81_linux.bin
ld_preload=/opt/tuxedo/libcwait.so /opt/tuxedo/tuxedo81_linux.bin
出错4:
invocation of this java application has caused an invocationtargetexception. thi
s application will now exit. (lax)
stack trace:
java.lang.noclassdeffounderror
at java.lang.class.forname0(native method)
at java.lang.class.forname(class.java:120)
at java.awt.graphicsenvironment.getlocalgraphicsenvironment(graphicsenvi
ronment.java:58)
at java.awt.window.(window.java:188)
at java.awt.frame.(frame.java:315)
at java.awt.frame.(frame.java:262)
at com.zerog.ia.installer.main.b([dashopro-v1.2-120198])
at com.zerog.ia.installer.main.main([dashopro-v1.2-120198])
at java.lang.reflect.method.invoke(native method)
at com.zerog.lax.lax.launch([dashopro-v1.2-120198])
at com.zerog.lax.lax.main([dashopro-v1.2-120198])
gui-
解决:
以非图形界面安装 ld_preload=/opt/tuxedo/libcwait.so /opt/tuxedo/tuxedo81_linux.bin -i console无图形安装。