在linux 安装oracle10g时遇到的问题

安装oracle 10g的时候遇到如下错误:
1Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0

解决方法:
1 root 用户的身份在图形界面中:
#xhost local:oracle non-network local connections being added to access control list
------------输出--------------------
> > toto access control list
xhost:  bad hostname "non-network"
xhost:  bad hostname "local"
xhost:  bad hostname "connections"
xhost:  bad hostname "being"
xhost:  bad hostname "added"
xhost:  bad hostname "access"
xhost:  bad hostname "control"
xhost:  bad hostname "list"
2 su - oracle
再次执行./runInstaller
While doing a fresh install of 11i vision on Oracle Enterprise Linux 5, RapidInstall gave the following error:
Rapid Install Wizard will now launch the Java Interface.....
Exception in thread "main" java.lang.UnsatisfiedLinkError: /11istage/startCD/Disk1/rapidwiz/jre/Linux/1.4.2/lib/x86_64/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 sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source)
This error comes because libXp.so.6 library is not present in /usr/lib. The rpm which contains this file is libXp-1.0.0-8.x86_64.rpm. It is present in the Oracle Enterprise Linux 5 DVD in /server directory. So copy this rpm from the DVD or CD and install it:

原因:出现找不到jre这样类似的错,是因为缺少支持打印的图形化动态链接库libXp.so.6,缺少系统安装包
libXp-1.0.0-8.x86_64.rpm
解决方法:
rpm -ivh libXp-1.0.0-8.x86_64.rpm
yum install   libXp.so.6

上一篇:ORA-00022: 无效的会话 ID; 访问被拒绝


下一篇:openresty 前端开发入门五之Mysql篇