- 浏览: 23614 次
- 性别:
- 来自: 大连
文章分类
最新评论
1. 不能启动安装界面
运行runInstaller提示信息类似如下:
xlib:connection to "localhost:0.0" refused by server
xlib:client is not authorized to connect to server
Exception in thread "main" java.lang.InternalError:
can't connect to x11 window server using "localhost:0.0" at .......
解决办法: 设定你的DISPLAY环境参数.
# export DISPLAY= your_IPaddress :0.0
把your_IPaddress换成你的IP.或者用root简单的执行一下# xhost + (要注意这样会有安全上的隐患)
2.安装界面显示很多"口口"样子的乱码
解决办法:查看locale输出
# locale
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.GB18030
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
执行#export LC_CTYPE=en_US.UTF-8 然后重新调用安装程序.
3. 用IE登录Linux服务器上的em出现乱码
在Linux(Unix) 环境下成功安装了Oracle 10g,从windows下用IE浏览器登录 10g 的em, 按钮是"口口"这样的方框.
解决办法: 参考:
http://www.dbanotes.net/Oracle/Oracle-10g-font.properties.htm
4.创建数据库的时候出现ORA-03113的错误
解决办法: 查看核心参数是否调整正确.参考:
http://www.dbanotes.net/Oracle/ORA-03113.htm
5. RedHat 9 / FC1等系统10g不支持如何安装?
解决办法:在10g不支持的Linux发行版上安装10g的解决方法
1). 运行runInstaller -ignoreSysPrereqs,这样会跳过检查. //这个方法好象在Redhat Enterprise 5.0不适用。
2). 摘自 www.puschitz.com 修改/etc/redhat-release文件:
#su - root
#cp /etc/redhat-release /etc/redhat-release.backup
#cat > /etc/redhat-release << EOF
Red Hat Enterprise Linux AS release 3 (Taroon)
EOF
安装完毕,执行如下操作:
#su - root
#cp /etc/redhat-release.backup /etc/redhat-release
3). http://www.dbanotes.net/Oracle/10G-Beta-Install-Bug.htm
同样的思路,我们可以修改Oracle 的install/oraparam.ini文件达到目的.
6.如何关掉那些 ocssd.bin 进程?
解决办法:编辑/etc/inittab文件(做好备份)
注释掉这一行:
h1:3:respawn:/etc/init.d/init.cssd run >/dev/null 2>................
7.REDHAT5安装weblogic8.1.5之libxp.so找不到解决
rdel5安装weblogic815。中间执行./quickstart.sh,出现异常:
/usr/bea/jdk142_08/lib/tools.jar:/usr/bea/weblogic81/common/lib/quickstart.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/bea/jdk142_08/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
原因是缺少动态链接库,据说缺少支持打印的图形化动态链接库.
首先要用root用户来安装libXp.so,步骤如下:
1)下载.so。google查找一下 libXp.so.6, 从http://rpmfind.net/linux/rpm2html/search.php?query=xorg-X11-deprecated-lib下载之:
ftp://rpmfind.net/linux/fedora/core/updates/4/i386/xorg-x11-deprecated-libs-devel-6.8.2-37.FC4.49.2.1.i386.rpm
执行安装
2)安装之。
把这个文件放到临时目录如/usr/tmp下,然后执行rpm(Red Hat Package Manager)进行安装
[root@dazhu oracle]# rpm -ivh --force --nodeps xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp.i386.rpm
warning: xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
Preparing... ########################################### [100%]
1:xorg-x11-deprecated-lib########################################### [100%]
xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp 3)检查是否安装了此so,使用rmp的查询所有选项<-q(uery)a(ll)>然后抓取出含dep字符的行:
rpm -qa |grep dep
xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp
4)增加一个conf文件让系统能够加载刚才安装的包(被安装到/usr/X11R6/lib目录下了).
在etc/ld.so.conf.d目录下建xorg-x11-deprecated-libs.conf文件,其中包含一行文字"/usr/X11R6/lib"
保存,再运行/sbin/ldconfig。具体如下:
[root@xxx ]#cd etc/ld.so.conf.d/
[root@xxx ]#vi xorg-x11-deprecated-libs.conf
:i
/usr/X11R6/lib
:w
:q
[root@xxx ]# cat xorg-x11-deprecated-libs.conf
/usr/X11R6/lib
[root@xxx ]# /sbin/ldconfig
重新运行./quickstart.sh,就看到跟windows下一样的图形界面了。
或:ln -s /usr/X11R6/lib/libXp.so.6 /usr/lib/libXp.so.6
另外的常识,现抄一下:
关于/etc/ld.so.conf:
这个文件记录了编译时使用的动态链接库的路径。
默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件
将自己可能存放库文件的路径都加入到/etc/ld.so.conf中是明智的选择
添加方法也极其简单,将库文件的绝对路径直接写进去就OK了,一行一个。例如:
/usr/X11R6/lib
/usr/local/lib
/opt/lib
ldconfig是什么?
它是一个程序,通常它位于/sbin下,供root用户使用。具体作用及用法可以man ldconfig查到
简单的说,它的作用就是将/etc/ld.so.conf列出的路径下的库文件 缓存到/etc/ld.so.cache 以供使用
因此当安装完一些库文件,(例如刚安装好glib),或者修改ld.so.conf增加新的库路径后,需要运行一下/sbin/ldconfig
使所有的库文件都被缓存到ld.so.cache中,如果没做,即使库文件明明就在/usr/lib下的,也是不会被使用的,结果
编译过程中报错,缺少xxx库,去查看发现明明就在那放着,直想砸机器。
切记改动库文件后一定要运行一下ldconfig,在任何目录下运行都可以。
8. Xmanager用法(export DISPLAY=客户端IP:0.0)
1) 安装Xmanager1.3.8。
2) 用注册 注册。
3) 启动Xstart,按下列提示输入:
i. Name: Xterm
ii. Host: 192.168.16.34
iii. procotol: TELNET
iv. User: xuys
v. Password: xuys1234
b) 点击“Save”,保存。
c) 点击“Run”运行Xmanager。
4) 在用户的目录下找到文件.bash_profile或profile,用vi对其进行编辑。 入下列命令行:
1. DISPLAY=192.168.88.71:0.0; export DISPLAY
5) 保存,退出。
6) 如果只想临时在客户端用一下图形界面, 需进行第4、5步,直接在xterm界面的命令行中输入:
1. export DISPLAY=192.168.88.71:0.0
b) 然后就可以在命令行中运行图形界面程序了。
7) 测试。
a) 运行netscape,应该出现图形界面。
9. Can't connect to X11 window server
操作系统:RedHat EnterpriseAS release 4 (Nahant Update 4)
Oracle版本:oracle 9.2.0
安装时出现的这个问题,可以排除是xhost的问题,xhost 会有一个 refuse 的提示,我遇到后就给本机加上了:
xhost +127.0.0.1
xhost +localhost
在 $ORACLE_BASE下的 .bashrc 文件,DISPLAY 变量加不加、加127.0.0.1或localhost都试过了。
然后运行 runInstaller 就是一个单纯的错误:
Can 't connect to X11 window server using '127.0.0.1:0.0 ' as the value of the DISPLAY variable.
那一堆异常消息网上一搜一大把,但就是没找到能解决的。。。
搜到个老外的答案是这样的:
2) you 're logged into the machine as one user (like root) but you 're trying to install as another user (like oracle).
10. Xlib: connection to ":0.0" refused by server
xeyes
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
这是老问题了,不过这次对我来说却有些不同。想在自己的本本ubuntu上安装oracle10,结果新增加的用户oracle不能运行X程序。
查了查资料和手册,以日常工作用的那个用户登录,在shell中运行
[root@linux]# xhost local:oracle
non-network local connections being added to access control list
然后oracle身份就可以运行X程序了。
man xhost中有这样一段
A complete name has the syntax ‘‘family:name’’ where the families are as follows:
inet Internet host (IPv4)
inet6 Internet host (IPv6)
dnet DECnet host
nis Secure RPC network name
krb Kerberos V5 principal
local contains only one name, the empty string
si Server Interpreted
What is XFree86??
http://www.xfree86.org/
The XFree86 Project, Inc is a global volunteer organization which produces XFree86?, the freely redistributable open-source implementation of the X Window System continuously since 1992.
XFree86 runs primarily on UNIX? and UNIX-like operating systems like Linux, all of the BSD variants, Sun Solaris both native 32 and 64 bit support, Solaris x86, Mac OS X (via Darwin) as well as other platforms like OS/2 and Cygwin.
What XFree86 does, is provide a client/server interface between the display hardware (those physical things like the mouse, keyboard, and video displays) and the desktop environment, (this is typically called a window manager as it deals with how X is displayed i.e. the overall appearance). Yet X it goes beyond that and also gives the infrastructure and a standardized application interface (API).
All of this which makes XFree86 platform-independent,network-transparent and fully extensible. In short, XFree86 is the premier open source X11-based desktop infrastructure. Our group's goals and overall purpose are Detailed in goals and purpose detailed in our Mission Statement.
http://rpm2html.osmirror.nl/libXp.so.6.html
运行runInstaller提示信息类似如下:
xlib:connection to "localhost:0.0" refused by server
xlib:client is not authorized to connect to server
Exception in thread "main" java.lang.InternalError:
can't connect to x11 window server using "localhost:0.0" at .......
解决办法: 设定你的DISPLAY环境参数.
# export DISPLAY= your_IPaddress :0.0
把your_IPaddress换成你的IP.或者用root简单的执行一下# xhost + (要注意这样会有安全上的隐患)
2.安装界面显示很多"口口"样子的乱码
解决办法:查看locale输出
# locale
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.GB18030
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
执行#export LC_CTYPE=en_US.UTF-8 然后重新调用安装程序.
3. 用IE登录Linux服务器上的em出现乱码
在Linux(Unix) 环境下成功安装了Oracle 10g,从windows下用IE浏览器登录 10g 的em, 按钮是"口口"这样的方框.
解决办法: 参考:
http://www.dbanotes.net/Oracle/Oracle-10g-font.properties.htm
4.创建数据库的时候出现ORA-03113的错误
解决办法: 查看核心参数是否调整正确.参考:
http://www.dbanotes.net/Oracle/ORA-03113.htm
5. RedHat 9 / FC1等系统10g不支持如何安装?
解决办法:在10g不支持的Linux发行版上安装10g的解决方法
1). 运行runInstaller -ignoreSysPrereqs,这样会跳过检查. //这个方法好象在Redhat Enterprise 5.0不适用。
2). 摘自 www.puschitz.com 修改/etc/redhat-release文件:
#su - root
#cp /etc/redhat-release /etc/redhat-release.backup
#cat > /etc/redhat-release << EOF
Red Hat Enterprise Linux AS release 3 (Taroon)
EOF
安装完毕,执行如下操作:
#su - root
#cp /etc/redhat-release.backup /etc/redhat-release
3). http://www.dbanotes.net/Oracle/10G-Beta-Install-Bug.htm
同样的思路,我们可以修改Oracle 的install/oraparam.ini文件达到目的.
6.如何关掉那些 ocssd.bin 进程?
解决办法:编辑/etc/inittab文件(做好备份)
注释掉这一行:
h1:3:respawn:/etc/init.d/init.cssd run >/dev/null 2>................
7.REDHAT5安装weblogic8.1.5之libxp.so找不到解决
rdel5安装weblogic815。中间执行./quickstart.sh,出现异常:
/usr/bea/jdk142_08/lib/tools.jar:/usr/bea/weblogic81/common/lib/quickstart.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/bea/jdk142_08/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
原因是缺少动态链接库,据说缺少支持打印的图形化动态链接库.
首先要用root用户来安装libXp.so,步骤如下:
1)下载.so。google查找一下 libXp.so.6, 从http://rpmfind.net/linux/rpm2html/search.php?query=xorg-X11-deprecated-lib下载之:
ftp://rpmfind.net/linux/fedora/core/updates/4/i386/xorg-x11-deprecated-libs-devel-6.8.2-37.FC4.49.2.1.i386.rpm
执行安装
2)安装之。
把这个文件放到临时目录如/usr/tmp下,然后执行rpm(Red Hat Package Manager)进行安装
[root@dazhu oracle]# rpm -ivh --force --nodeps xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp.i386.rpm
warning: xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
Preparing... ########################################### [100%]
1:xorg-x11-deprecated-lib########################################### [100%]
xorg-x11-deprecated-libs-devel-6.9.0-1.112.16.14asp 3)检查是否安装了此so,使用rmp的查询所有选项<-q(uery)a(ll)>然后抓取出含dep字符的行:
rpm -qa |grep dep
xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp
4)增加一个conf文件让系统能够加载刚才安装的包(被安装到/usr/X11R6/lib目录下了).
在etc/ld.so.conf.d目录下建xorg-x11-deprecated-libs.conf文件,其中包含一行文字"/usr/X11R6/lib"
保存,再运行/sbin/ldconfig。具体如下:
[root@xxx ]#cd etc/ld.so.conf.d/
[root@xxx ]#vi xorg-x11-deprecated-libs.conf
:i
/usr/X11R6/lib
:w
:q
[root@xxx ]# cat xorg-x11-deprecated-libs.conf
/usr/X11R6/lib
[root@xxx ]# /sbin/ldconfig
重新运行./quickstart.sh,就看到跟windows下一样的图形界面了。
或:ln -s /usr/X11R6/lib/libXp.so.6 /usr/lib/libXp.so.6
另外的常识,现抄一下:
关于/etc/ld.so.conf:
这个文件记录了编译时使用的动态链接库的路径。
默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件
将自己可能存放库文件的路径都加入到/etc/ld.so.conf中是明智的选择
添加方法也极其简单,将库文件的绝对路径直接写进去就OK了,一行一个。例如:
/usr/X11R6/lib
/usr/local/lib
/opt/lib
ldconfig是什么?
它是一个程序,通常它位于/sbin下,供root用户使用。具体作用及用法可以man ldconfig查到
简单的说,它的作用就是将/etc/ld.so.conf列出的路径下的库文件 缓存到/etc/ld.so.cache 以供使用
因此当安装完一些库文件,(例如刚安装好glib),或者修改ld.so.conf增加新的库路径后,需要运行一下/sbin/ldconfig
使所有的库文件都被缓存到ld.so.cache中,如果没做,即使库文件明明就在/usr/lib下的,也是不会被使用的,结果
编译过程中报错,缺少xxx库,去查看发现明明就在那放着,直想砸机器。
切记改动库文件后一定要运行一下ldconfig,在任何目录下运行都可以。
8. Xmanager用法(export DISPLAY=客户端IP:0.0)
1) 安装Xmanager1.3.8。
2) 用注册 注册。
3) 启动Xstart,按下列提示输入:
i. Name: Xterm
ii. Host: 192.168.16.34
iii. procotol: TELNET
iv. User: xuys
v. Password: xuys1234
b) 点击“Save”,保存。
c) 点击“Run”运行Xmanager。
4) 在用户的目录下找到文件.bash_profile或profile,用vi对其进行编辑。 入下列命令行:
1. DISPLAY=192.168.88.71:0.0; export DISPLAY
5) 保存,退出。
6) 如果只想临时在客户端用一下图形界面, 需进行第4、5步,直接在xterm界面的命令行中输入:
1. export DISPLAY=192.168.88.71:0.0
b) 然后就可以在命令行中运行图形界面程序了。
7) 测试。
a) 运行netscape,应该出现图形界面。
9. Can't connect to X11 window server
操作系统:RedHat EnterpriseAS release 4 (Nahant Update 4)
Oracle版本:oracle 9.2.0
安装时出现的这个问题,可以排除是xhost的问题,xhost 会有一个 refuse 的提示,我遇到后就给本机加上了:
xhost +127.0.0.1
xhost +localhost
在 $ORACLE_BASE下的 .bashrc 文件,DISPLAY 变量加不加、加127.0.0.1或localhost都试过了。
然后运行 runInstaller 就是一个单纯的错误:
Can 't connect to X11 window server using '127.0.0.1:0.0 ' as the value of the DISPLAY variable.
那一堆异常消息网上一搜一大把,但就是没找到能解决的。。。
搜到个老外的答案是这样的:
2) you 're logged into the machine as one user (like root) but you 're trying to install as another user (like oracle).
10. Xlib: connection to ":0.0" refused by server
xeyes
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
这是老问题了,不过这次对我来说却有些不同。想在自己的本本ubuntu上安装oracle10,结果新增加的用户oracle不能运行X程序。
查了查资料和手册,以日常工作用的那个用户登录,在shell中运行
[root@linux]# xhost local:oracle
non-network local connections being added to access control list
然后oracle身份就可以运行X程序了。
man xhost中有这样一段
A complete name has the syntax ‘‘family:name’’ where the families are as follows:
inet Internet host (IPv4)
inet6 Internet host (IPv6)
dnet DECnet host
nis Secure RPC network name
krb Kerberos V5 principal
local contains only one name, the empty string
si Server Interpreted
What is XFree86??
http://www.xfree86.org/
The XFree86 Project, Inc is a global volunteer organization which produces XFree86?, the freely redistributable open-source implementation of the X Window System continuously since 1992.
XFree86 runs primarily on UNIX? and UNIX-like operating systems like Linux, all of the BSD variants, Sun Solaris both native 32 and 64 bit support, Solaris x86, Mac OS X (via Darwin) as well as other platforms like OS/2 and Cygwin.
What XFree86 does, is provide a client/server interface between the display hardware (those physical things like the mouse, keyboard, and video displays) and the desktop environment, (this is typically called a window manager as it deals with how X is displayed i.e. the overall appearance). Yet X it goes beyond that and also gives the infrastructure and a standardized application interface (API).
All of this which makes XFree86 platform-independent,network-transparent and fully extensible. In short, XFree86 is the premier open source X11-based desktop infrastructure. Our group's goals and overall purpose are Detailed in goals and purpose detailed in our Mission Statement.
http://rpm2html.osmirror.nl/libXp.so.6.html
发表评论
-
Weblogic Muxer Thread
2015-07-09 16:15 10481 Weblogic Muxer Sock ... -
How to find Oracle WebLogic Server Version ?
2015-01-12 00:40 500Use one of the following metho ... -
Causes and First Aid of JVM Crash Issues?
2011-12-18 23:09 919Java Virtual Machine is a Na ... -
利用 Java dump 进行 JVM 故障诊断
2011-12-18 22:22 0引言对于大型 java 应用程序来说,再精细的测试都难以堵住所 ... -
weblogic v10.3配置nodemanager的"BAD_CERTIFICATE alert"的错误
2011-12-05 00:21 4079在使用weblogic 10.3自带的demo identit ... -
Weblogic - Socket Muxers in Thread Dumps
2011-11-24 00:29 2480原文:http://jojovedder.blogspot.c ... -
关于nohup
2011-11-18 13:54 959nohup 是一个Unix/Linux命令,表示no hang ...
相关推荐
总结了在Linux下安装oracle所遇到的一些问题以及解决方法、、、、、、仅供参考!
在Linux下安装Oracle不是件容易的事情,本人花了九牛二虎之力才安装成功,现将亲身经历总结出来,希望能对后人有所帮助,不用像我走那么多弯路,通过本文本能够解决你在Linux下安装Oracle 9i的苦恼。
linux 下 oracle的安装与配置及所遇到问题的详细解决方案
自己在linux中安装oracle11g碰到缺少rpm包的问题,网上下了很多资源,汇总了一些,希望能帮助需要的人。
linux安装oracle图形界面乱码问题.docx
解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码问题,添加中文支持解决linux下oracle中文乱码...
在linux下安装oracle时在oracle的安装界面上的中文都是一个个小的正方形,使用该方法可以解决这一问题。
linux下离线安装oracle12c的详细安装过程文档,包括可能遇到问题的解决方案,oracle的所有可能需要的依赖包
个人总结的linux安装oracle图形化界面时面临的各种问题的解决方法
Linux下安装oracle11.2.0.4的详细步骤及常见问题处理方法 ,含rpm依赖包及oracle安装包,具体内容请看 https://blog.csdn.net/lihong22/article/details/128117150 第13、14步 : 支持百度网盘链接下载,下载链接在...
在Linux服务器上安装Oracle数据库不是件容易的事情,经过一次次的失败后,终于搞定在Linux服务器上安装Oracle9i数据库,现将经验总结成文档,希望对大家有所帮助。解决运行dbca出错问题
oracle安装界面乱码,因为linux是中文环境,第一种方案可以LANG=en_US ./runInstaller,第二种方案、安装oracle中jre字体库的中文字体:解决Linux下oracle安装界面中文乱码。 在解压出oracle安装包后,找到database/...
一次性解决安装Linux下安装Oracle少第三方依赖包问题,32位、64位全包含,安装的时候可以根据操作系统的不同选择不同的安装包。
在linux环境下安装oracle数据库的步骤,内附有截图和出现问题的解决方法
Linux下Oracle集群常见问题及解决策略.pdf
linux图形界面下安装oracle,oracle管理常用的资源。
解决安装Oracle时图形界面弹不出来的问题,并讲解了DISPLAY参数相关原理
详细介绍了在linux下安装oracle的步骤和出现问题的解决方法,相信一定可以安装成功。
centos6安装oracle11g 详细过程。各种问题汇总,总结,