LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 黄叶

Oracle在Linux上安装的问题集中解决

[复制链接]
发表于 2004-4-9 15:50:32 | 显示全部楼层
请问以上 问题怎么解决 ?
发表于 2004-4-9 15:51:56 | 显示全部楼层
黄斑竹,我按照你的方法安装后,dbca也可以正常运行,已经建立了数据库ora9,可是为什么sqlplus启动后总是报错:错误信息如下:

Enter user-name: sys
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory


Enter user-name: scott
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
发表于 2004-4-19 18:50:27 | 显示全部楼层

黄斑竹,我按照你的方法安装时出现以下字样?

[oracle@Zheng Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2004-04-17_05-52-49PM/jre/bin/java. Please wait...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
        at java.awt.Window.<init>(Window.java:188)
        at java.awt.Frame.<init>(Frame.java:315)
        at java.awt.Frame.<init>(Frame.java:262)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
发表于 2004-5-11 15:06:39 | 显示全部楼层
老大

给篇oracle10g的安装贴子吧!
发表于 2004-5-25 15:16:22 | 显示全部楼层
[oracle@Zheng Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2004-04-17_05-52-49PM/jre/bin/java. Please wait...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)


检查你的内核版本:
$ uname -a
如果是2.4.19或2.4.18之类的可以设置
export LD_ASSUME_KERNEL=2.4.1
然后指定DISPLAY名称:
xhost +服务器名
export DISPLAY=服务器名:0.0
然后再试试
发表于 2004-8-6 11:42:47 | 显示全部楼层
在RH9上装ORACLE 8.16

上网查了不少文章,按照它来做,结果,当运行./runinstaller的时候老是出现这个错误.
The Java RunTime Environment was not found at p/bin/jre. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
: No such file or directory

有人碰到过这样的情况么?

把原来的JDK卸载了,又把J2SDK1.4.2安装过
ln -s /usr/java/j2sdk1.4.2_50 /usr/local/java
vi /etc/profile
加入export JAVA_HOME=/usr/local/java
export PATH=$PATHJAVA_HOME/bin
再运行

[root@kiki root]# java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
这样jdk应该算是安装成功了把??但是运行
[hjqiqi@kiki oracledisk]$ ./runinstaller
: bad interpreter: 没有那个文件或目录
[hjqiqi@kiki oracledisk]$ cd install/
[hjqiqi@kiki install]$ cd linux
[hjqiqi@kiki linux]$ ./runinstaller
The Java RunTime Environment was not found at ?bin/jre. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
: No such file or directory
出现这样的错误提示,请教下各位高手,应该怎么办呢?
唉,我装了好几天了,好郁闷阿,还没到正式安装界面讷...
发表于 2004-8-16 11:40:20 | 显示全部楼层
为什么装8.1.6不装8.1.7?
你试试下面这个JDK
http://www.pawprint.net/linux/IBMJava118-SDK-1.1.8-5.0.i386.rpm
发表于 2004-8-17 09:11:37 | 显示全部楼层
装8.1.6,而不装8.1.7是因为我们公司有8.1.6的正版拉
现在ORACLE8.1.6总算是装上了,不过,又出错了,
在本机上,sqlplus连的通,但是在其他机子上就连不通,
提示这个错误
ORA-12154: TNS:could not resolve service name
发表于 2004-8-17 11:46:21 | 显示全部楼层
i installed many times.but false yet.Now,i installer again ,and paste my problems.expect masters help me solve it.thanks a lot
发表于 2004-8-17 12:56:35 | 显示全部楼层
我的bash配置:# Oracle Environment
export LD_ASSUME_KERNEL=2.4.1
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/9.2.0
export ORACLE_TERM=xterm

export THREADS_FLAG=native
# Set shell search paths

export LANG=en_US
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
export PATH=$PATHORACLE_HOME/bin

我在安装时遇见问题是按照puschitz的那篇文章的方法修改的:
.0/ctx/lib/ins_ctx.mk"    Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk, go to "INSO_LINK =", and add a "$(LDLIBFLAG)dl" to the line and save it.
network/lib/ins_oemagent.mk"   Downgrade glibc, glibc-common, and glibc-devel:
安装全部完成.(只安装软件).但是我运行netca配置侦听程序时发声下面的错误:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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