LINUX安装ORACLE 9204 报错解决!!

[oracle@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

1、问题一
[oracle@dbServer Disk1]$ ./runInstaller
[oracle@dbServer Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2
008-10-09_12-56-11PM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2008-10-09_12-56-11PM/jre/lib/i386
/libjava.so: symbol __libc_wait, versionGLIBC_2.0 not defined in file libc.so.6
 with link time reference

解决方法:
When you execute runInstaller from the Oracle 9iR2 (9.2.0) CD, you will get the following

error message:

Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2003-10-25_03-14-

57PM/jre/lib/i386/libjava.so:
    symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time

reference


To resolve the __libc_wait symbol issue, download the p3006854_9204 patch

p3006854_9204_LINUX.zip fromhttp://metalink.oracle.com/. See bug 3006854 for more

information.

su - root
# unzip p3006854_9204_LINUX.zip
Archive:  p3006854_9204_LINUX.zip
   creating: 3006854/
  inflating: 3006854/rhel3_pre_install.sh
  inflating: 3006854/README.txt

# cd 3006854
# sh rhel3_pre_install.sh
Applying patch...
Patch successfully applied
#
2、问题二

linux安装Oracle安装界面乱码解决方法!

 

export NLS_LANG=AMERICAN_AMERICA.UTF8
export LC_ALL=C

 

3、问题三
在linuxrh4 安装oracle9.2.0.4 过程中运行到63%时

Exception String: Error in invoking target install of makefile

/orasys/oracle/product/9.2.0/plsql/lib/ins_plsql.mk

该打的补丁包 也已经打了

检查安装日志

Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile

/u01/app/oracle/plsql/lib/ins_plsql.mk

在linux下执行以下操作

mv /usr/bin/gcc /usr/bin/gccold
mv /usr/bin/gcc32 /usr/bin/gcc

然后安装正常 成功后记的改回去
mv /usr/bin/gcc  /usr/bin/gcc32
mv /usr/bin/gccold /usr/bin/gcc

 

 

 

4、问题四
/home/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so: symbol errno, version

GLIBC_2.0 not defined in file libc.so.6 with
link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM

 

export PATH LD_ASSUME_KERNEL=2.4.1   
          ##(1)这一步很重要,只要2.6.0以下的内核都可以用这个版本,不要写成自已的内核版本

。会出现内jvm错误
             /opt/oracle/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol

errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

(libzip.so)
        Unable to initialize threads: cannot find class java/lang/Thread
        Could not create Java VM
          (事实上在2.4.20下安装成功之后重编译内核版本2.6.0照样可以正常运行。)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Linux下,当使用PL SQL Developer查询结果中的中文变成了一堆问号,或者SQL语句中的中文被提示为invalid character时,可能是由于字符集设置不正确导致的。你可以尝试以下方法来解决这个问题: 1. 确保数据库字符集设置正确:可以通过以下SQL语句来查看和修改数据库字符集: ```sql -- 查看数据库字符集 SELECT * FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET'; -- 修改数据库字符集(需要先备份数据库) ALTER DATABASE CHARACTER SET <character_set_name>; ``` 其中,`<character_set_name>`是你想要设置的字符集名称,例如AL32UTF8。 2. 确保PL SQL Developer的字符集设置正确:可以在PL SQL Developer的首选项中进行设置。依次点击"Tools" -> "Preferences" -> "Environment" -> "Fonts and Colors",然后选择正确的字符集。 3. 确保操作系统的字符集设置正确:可以通过以下命令来查看和修改操作系统的字符集: ```shell # 查看当前字符集 locale # 修改字符集(需要root权限) sudo dpkg-reconfigure locales ``` 在弹出的界面中选择正确的字符集,然后重启系统使设置生效。 4. 确保数据库和PL SQL Developer使用的字符集一致:可以在PL SQL Developer的连接配置中设置字符集,确保与数据库的字符集一致。 5. 如果以上方法都无效,可以尝试将查询结果导出为文件,然后用其他工具打开查看,看是否能正确显示中文字符。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值