oracle安装出现乱码等相关问题
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-11-03_12-53-01PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-11-03_12-53-
01PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
MT-bvp&R0 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
*Q GqX5g9X/r0 at java.lang.ClassLoader.loadLibrary0(Unknown Source)
#fY|DZ5OjEC0 at java.lang.ClassLoader.loadLibrary(Unknown Source)ITPUB个⼈空间G.|QBK
at java.lang.Runtime.loadLibrary0(Unknown Source)ITPUB个⼈空间V g JYz%vX
at java.lang.System.loadLibrary(Unknown Source)ITPUB个⼈空间 iD;N[w'\
at sun.security.action.LoadLibraryAction.run(Unknown Source)
u+W'Vd'Ef0 at java.security.AccessController.doPrivileged(Native Method)ITPUB个⼈空间Ie4h o m&y3E
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)ITPUB个⼈空间,Yp\,i"zcb
at sun.awt.DebugHelper.<clinit>(Unknown Source)ITPUB个⼈空间M&@1uZ"\
at java.awt.Component.<clinit>(Unknown Source)
L]5QF'L8oIU0
了⽹上的资料,说是缺少安装包
#./runInstaller之后出现如下的错误信息:
RedHat AS5 x86上安装Oracle1020
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/OraInstall2007-12-03_09-02-02AM/jre/1.4.2/lib/i386/libawt.so:libXp.so.6: cannot open shared object file:
  No such file or directory
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(Unknown Source)
  at java.lang.ClassLoader.loadLibrary(Unknown Source)
  at java.lang.Runtime.loadLibrary0(Unknown Source)
  at java.lang.System.loadLibrary(Unknown Source)
  at sun.security.action.LoadLibraryAction.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
  at sun.awt.DebugHelper.(Unknown Source)
  at java.awt.Component.(Unknown Source)
oo?g D0错误⼀:
/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
原因是:缺少⽀持打印的图形化动态链接库libXp.so.6
这个错误是由于缺少系统安装包,在RHEL5以前的版本,安装xorg-x11-deprecated-libs包即可,这个安装包可以在系统光盘第三张盘中到(对于RedHat as4.2以前,redhat as4.4是在第四张安装光盘)
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
Exception :java.lang.UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
K5H5YN?A1CW$F0这个错误也是由于缺少系统安装包造成的,只需安装XFree86-libs包即可,这个安装包可以在系统光盘中到。
在上⾯两个错误如果出现在RedHat as5版本中,解决如下:
在RHEL5中上⾯的包被libXp所取代了,因此rpm -ivh libXp-1.0.0-8.i386.rpm将包打上后问题即可解决。
error while loading shared libraries: libstdc++-libc6.1-1.so.2
只⽤执⾏如下操作
#cd /usr/lib
#ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
在RHEL5上测试安装oracle10g,⾸先,在执⾏runInstaller时,系统报错:
安装oracle10gYou do not have sufficient permissions to access the inventory '/oracle11g/oraInventory'. Installation cannot continue. Make
sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
这⾥采⽤的是新建⼀个10g⽤户的⽅法让10g,11g并存,实际上在启动安装程序的时候,oracle会去/etc/oraInst.loc和oratab 这两个⽂件(hp是/var/opt/oracle)
⽽在oraInst.loc⾥⾯定义了inventory_loc的位置和inst_group,由于之前装过了⼀个11g,⾥⾯的定义都是针对11g⽤户设置的,所以才会报错。解决办法是执⾏runInstaller -invPtrLoc /oracle10g/oraInst.loc 命令就可以绕过去了,oracle会创建⼀个新的loc⽂件。
上⼀步成功通过之后,紧接着报了下⾯的错:
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-08-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
#y7c,Oy.v [)Nv&r#^0java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-08-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
在RHEL5以前这个错误是因为缺少XFree86-libs或xorg-x11-deprecated-libs这两个包其中⼀个(版本不同包不同),⽽在RHEL5中前⾯的包被libXp所取代了,因此rpm -ivh libXp-1.0.0-8.i386.rpm将包打上后问题解决。
在开始安装时出现以下错误:
error while loading shared libraries: libstdc++-libc6.1-1.so.2ITPUB个⼈空间D$j1?7`"jG*j
解决办法是
#cd /usr/libITPUB个⼈空间.k6O];Q"A;[f
#ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
-B[-q8o"o?U0ITPUB个⼈空间C%W5Pne#y,O
Exception :java.lang.UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
i2B zZ3ZO'o0解决办法是ITPUB个⼈空间a"h H0U9t%i?
apt-get install libXp.so.6ITPUB个⼈空间z1|D`(C~H
apt-get install libXt.so.6
|V-s$dz3O4Zw1x$MX0apt-get install libxtst6
在RH Linux7.3上使⽤JasperReport作为报表引擎时,碰到了⼀样的问题:ITPUB个⼈空间)t J PDU
Exception :java.lang.UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
原因是:缺少⽀持打印的图形化动态链接库libXp.so.6(也许还有相关的其他库)
k^.dU,DF0V0解决办法:
下载并安装XFree86-libs-4.2.0-8.i386.rpm,/usr/X11R6/lib下就会出现需要的libXp.so.6.2
附XFree86-libs-4.2.0-8.i386.rpm的⼀个下载地址:
f%k_C of0ftp://ftp.nluug.nl/vol/1/schoollan/os/linux/RPMS/XFree86-libs-4.2.0-8.i386.rpm

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