LinuxSir.cn,穿越时空的Linuxsir!

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

REDHAT9下 ORACLE9I的安装问题

[复制链接]
发表于 2003-4-13 15:16:07 | 显示全部楼层 |阅读模式
REDHAT9下 ORACLE9I的安装问题
配置:REDHAT9 ORACLE9I 没打任何补丁
内存512M
硬盘:12GB
我的安装步骤是:
安装:j2sdk-1_3_1-linux-i386.bin
设置共享内存大小 echo 4294967295 > shmmax
更改语言  export LC_ALL=en_US

以root帐号登录,创建oracle帐号及安装目录:
groupadd oinstall
groupadd dba

useradd oracle -g oinstall -G dba
passwd oracle (改变oracle用户的密码)

mkdir /opt
chown oracle:dba /u01
chmod 775 /opt

7编辑ORACLE用户下的.bash_profile
加入:
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/product/9.2.0.1.0
export ORACLE_TERM=xterm
export NLS_LANG='AMERICAN_AMERICA.UTF8'
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export PATH=$PATHORACLE_HOME/bin
CLASSPATH=/usr/local/java/jreORACLE_HOME/jlibORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATHORACLE_HOME/network/jlib

8注销后再进入
9在终端中启动ORACLE安装程序
cd /
cd backup
cd Disl1
./runinstaller

10 出错后再开一个终端
su –
输入密码
cd /tmp
./orainstRoot.sh
后点重试


12选择字符集
ZHS16CGB231280

13开始安装,但在安装过程不到一分钟时,就不动了,我等了两个小时也没动,大家帮我看一下,下面是安装过程中产生的错误日志
java.awt.AWTException: cannot open XIM
        at sun.awt.motif.X11InputMethod.<init>(X11InputMethod.java:148)
        at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescriptor.java:78)
        at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691)
        at sun.awt.im.InputContext.getInputMethod(InputContext.java:641)
        at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193)
        at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177)
        at java.awt.Component.dispatchEventImpl(Component.java:2527)
        at java.awt.Container.dispatchEventToSelf(Container.java:1233)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2449)
        at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2314)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2189)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2003-04-13_02-44-03PM/libactionUnix22.so: /tmp/OraInstall2003-04-13_02-44-03PM/libactionUnix22.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1314)
        at java.lang.Runtime.load0(Runtime.java:698)
        at java.lang.System.load(System.java:797)
        at ssOiGenClassux22.<clinit>(ssOiGenClassux22.java:25)
        at sscreateLinkux.createLink(sscreateLinkux.java:255)
        at sscreateLinkux.installAction(sscreateLinkux.java:83)
        at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OiisCompActions.java:1357)
        at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.java:1157)
        at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:604)
        at CompActions.doActionP1createLink3(CompActions.java:310)
        at CompActions.stateChangeActions(CompActions.java:106)
        at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(OiicInstallActionsPhase.java:604)
        at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(OiicInstallActionsPhase.java:2199)
        at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.java:2052)
        at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2945)
        at java.lang.Thread.run(Thread.java:484)
java.awt.AWTException: cannot open XIM
        at sun.awt.motif.X11InputMethod.<init>(X11InputMethod.java:148)
        at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescriptor.java:78)
        at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691)
        at sun.awt.im.InputContext.getInputMethod(InputContext.java:641)
        at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193)
        at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177)
        at java.awt.Component.dispatchEventImpl(Component.java:2527)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.processFocusEvent(Container.java:2167)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2130)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.Dialog.show(Dialog.java:380)
        at java.awt.Component.show(Component.java:946)
        at java.awt.Component.setVisible(Component.java:903)
        at oracle.sysman.oii.oiif.oiifd.OiifdInstallCancelDlg.doModal(OiifdInstallCancelDlg.java:282)
        at oracle.sysman.oii.oiif.oiifp.OiifpWizInstallPanel.onCancel(OiifpWizInstallPanel.java:306)
        at oracle.sysman.oii.oiif.oiifp.OiifpWizInstallPanel.actionPerformed(OiifpWizInstallPanel.java:259)
        at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
        at oracle.ewt.lwAWT.LWButton.processActionEvent(Unknown Source)
        at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
        at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
        at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
        at oracle.ewt.button.PushButton.activate(Unknown Source)
        at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
        at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
        at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
        at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
        at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
        at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
        at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
        at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
        at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
java.awt.AWTException: cannot open XIM
        at sun.awt.motif.X11InputMethod.<init>(X11InputMethod.java:148)
        at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescriptor.java:78)
        at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691)
        at sun.awt.im.InputContext.getInputMethod(InputContext.java:641)
        at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193)
        at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177)
        at java.awt.Component.dispatchEventImpl(Component.java:2527)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.processFocusEvent(Container.java:2167)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2130)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.Dialog.show(Dialog.java:380)
        at oracle.ewt.alert.BaseAlert.show(Unknown Source)
        at java.awt.Component.show(Component.java:946)
        at java.awt.Component.setVisible(Component.java:903)
        at oracle.ewt.alert.Alert.runAlert(Unknown Source)
        at oracle.sysman.oii.oiif.oiifm.OiifmAlert.runAlert(OiifmAlert.java:166)
        at oracle.sysman.oii.oiif.oiifw.OiifwWizDialog.onExit(OiifwWizDialog.java:589)
        at oracle.sysman.oii.oiif.oiifw.OiifwWizDialog.windowClosing(OiifwWizDialog.java:1021)
        at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
        at java.awt.Window.processWindowEvent(Window.java:812)
        at java.awt.Window.processEvent(Window.java:788)
        at oracle.ewt.lwAWT.BufferedFrame.processEventImpl(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
 楼主| 发表于 2003-4-13 17:17:33 | 显示全部楼层
没有在REDHAT9下安装成功过》?
 楼主| 发表于 2003-4-13 21:16:38 | 显示全部楼层
没有人用吗?大虾们帮帮我呀
发表于 2003-4-17 20:42:12 | 显示全部楼层
me too!!!Why?
发表于 2003-4-20 13:20:21 | 显示全部楼层
我在rh9下能成功安装ora9,但是pro*C无法编译,还有点小问题。
我想你是JAVA环境的问题:
你在安装oracle前没有必要安装java环境
发表于 2003-5-2 17:42:06 | 显示全部楼层
樓上的說說你安裝成功的經驗吧!!
发表于 2003-5-2 19:24:13 | 显示全部楼层
大侠们回复一下吧,我也很想知道。
发表于 2003-5-2 21:32:37 | 显示全部楼层
我到oracle的网站上看了一下:
export LC_ALL=en_US
export LD_ASSUME_KERNEL=2.4.1
./runInstaller
可以安装完,但是中间有两次错误。
发表于 2003-5-2 22:24:14 | 显示全部楼层
有没有在SUSE8.2下成功的阿 !请问UNIX GROUP中应该填什么阿?到这一步就卡住了
发表于 2003-5-2 22:50:31 | 显示全部楼层
装不上
我试过在united linux1.0上可以装不需要打任何补丁
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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