CentOS 5.4 安装 Tuxedo 8.0 操作步骤


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 <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>

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.<init>(Window.java:188)
       at java.awt.Frame.<init>(Frame.java:315)
       at java.awt.Frame.<init>(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无图形安装。

  • 1
  • 2
  • 下一页

相关内容