oracle10g在slackware上安装出错,请帮忙看一下!
我没有安装slackware 10.2的X,只装了XFree86的Xbin.tgz,这样可以使用x-win32装oracle
但是运行xterm后提示:
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method
进入x-win32后,运行安装出现以下错误,实在找不到解决的方法,还请高手多多帮助,谢谢!
oracle@slack:~/database$ ./runInstaller -ignoreSysPrereqs
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<
>>> Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-09-10_10-05-07PM. Please wait ...oracle@slack:~/database$ Oracle Universal
taller, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultWarning: translation table syntax erro
Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultWarning: translation table syntax erro
Unknown keysym name: osfActivate
这两段话大声读5遍
检查oracle用户的环境变量设置是否正确 EXPORT DISPLAY=IPADDRESS:0,0
再启动安装程序。
谢谢楼上的回答
我的.bash_profile
#!/bin/bash
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle
export ORACLE_SID=orag
export ORACLE_TERM=xterm
export NLS_LANG=AMERICAN
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export EDITOR=vi
export DISPLAY=10.1.149.94:0.0
export PATH=$PATHORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
CLASSPATH=$ORACLE_HOME/JREORACLE_HOME/jlibORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATHORACLE_HOME/network/jlib
export LD_LIBRARY_PATH CLASSPATH
现在执行xterm就出“locale not supported by Xlib”的错,虽然能够运行xwin32,但装不了oracle
我对linux不是很了解,不知道locale和xlib都在哪里放着呢,是哪个除了问题
root@slack:/usr/share# locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
谢谢各位的帮助
问题找到了:我没有装全Xfree86,只装了Xbin.tgz,下面是正确的安装(不过我认为这些并不需要全部安装,还可以再精简些)
如果slackware没有安装X系统,也可以安装Xfree86 libs,到www.xfree86.org下载
1、下载Xinstall.sh
用root运行 sh Xinstall.sh -check
2、测试结果需要安装Linux-ix86-glibc22的版本
3、进入http://ftp.xfree86.org/pub/XFree ... Linux-ix86-glibc22/下载以下文件
1. Xinstall.sh The installer script
2. extract The utility for extracting tarballs
3. Xbin.tgz X clients/utilities and run-time libraries
4. Xlib.tgz Some data files required at run-time
5. Xman.tgz Manual pages
6. Xdoc.tgz XFree86 documentation
7. Xfnts.tgz Base set of fonts
8. Xfenc.tgz Base set of font encoding data
9. Xetc.tgz Run-time configuration files, part 1
10. Xrc.tgz Run-time configuration files, part 2
11. Xvar.tgz Run-time data
12. Xxserv.tgz XFree86 X server
13. Xmod.tgz XFree86 X server modules
14. Install install document
4、执行安装
sh Xinstall.sh
5、执行
ldconfig 装载库
安装完成后可以使用 windows下的x terminal来安装oracle