LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1078|回复: 4

安装oracle报错了(已解决)

[复制链接]
发表于 2006-3-8 11:30:19 | 显示全部楼层 |阅读模式
Oracle版本10.2
按照http://www.linuxsir.cn/bbs/showt ... mp;highlight=oracle的介绍,到“Select Configuration Option”时,选“Install database Software only”,再下一步,到88%“Processing iSQL*Plus 10.2.0.1.0”报错:
error: cannot open Name index db3 - No such file or directory (2)

我已经安装了rpm,版本4.2


另外修改了font.properties中文界面还是不出来:
Warning: Cannot convert string "-*-tahoma-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-misc-simsun-medium-r-normal--*-140-*-*-c-*-gb2312.1980-0" to type FontStruct
发表于 2006-3-8 13:28:26 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-8 14:27:01 | 显示全部楼层
原来是没有把ip和机器名放到/etc/hosts里面。(通过查看/u01/app/oracle/oraInventory/logs下的err发现报UnknownHostsException)

那个error: cannot open Name index db3 - No such file or directory (2)的错误不影响安装,alias rpm='rpm --nodeps' 也没有用,还是弄不掉。

中文没出来,还是那个提示,将tahoma换成-*-bitstream vera sans-medium-r-normal-*-*-120-*-*-p-*-microsoft-cp1252了,simsun的提示还在。
LANG和LC_ALL没有设(设成zh_CN进去就乱码了)。
回复 支持 反对

使用道具 举报

发表于 2006-3-8 20:37:04 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-10 11:52:05 | 显示全部楼层
谢谢!
将oracle/jdk/jre/lib/下的font.properties.zh_CN.Redhat文件替换成附件里的文件,再把simsun.ttc和tahoma.ttf拷贝到这个目录的fonts目录下就搞定了。

也少不了
export LANG=zh_CN
export LC_ALL=zh_CN

另外要提的是需要
#ACCEPT_KEYWORDS='~x86' emerge libaio
否则会报ORA-12547 TNS LOST CONCAT错误,其实是这个错误
error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

还有就是这个错误我也遇到了:
Error in invoking target 'all_no_orcl' of makefile '/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'.
See '/u01/app/oracle/oraInventory/logs/installActions2005-11-13_01-07-04AM.log' for details.
我#rpm –Uvh –-nodeps compat-libstdc++-33-3.2.3-47.3.i386.rpm后retry了一下就过去了。

这两个问题在http://www.puschitz.com/InstallingOracle10g.shtml 上都有提到。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表