LinuxSir.cn,穿越时空的Linuxsir!

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

oracle9i不能通过sqlplus进行内部连接

[复制链接]
发表于 2003-6-9 13:28:07 | 显示全部楼层 |阅读模式
我昨天在redhat9.0上安装好oracle9i后
能够通过sqlplus scott/tiger@oracle进行连接
不过,今天就不行了
提示:
[oracle@linuxsir oracle]$ sqlplus scott/tiger@oracle

SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jun 9 13:24:07 2003

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
我又用另一个账号连接,提示:
[oracle@linuxsir oracle]$ sqlplus internal

SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jun 9 13:21:46 2003

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter password:
ERROR:
ORA-09275: CONNECT INTERNAL is not a valid DBA connection
不知为什么会这样,昨天还好好的,是不是我还要完成什么歨骤才行呢?
发表于 2003-6-10 08:37:50 | 显示全部楼层
没错!我也遇到同样的问题,而且我在用oemapp console调出GUI的控制台时,竟然无法输入用户名和密码!!
发表于 2003-6-10 09:04:40 | 显示全部楼层
数据库没启动!
先起数据库
$sqlplus /nolog
$connect internal
$startup
再起监听器
$lsnrctl start
发表于 2003-6-10 09:16:22 | 显示全部楼层
查看数据库是否启动
$ps -ef|grep ora_
这是oracle8的,我手头没有oracle9的环境
发表于 2003-6-10 12:38:12 | 显示全部楼层
实验一:

[oracle@ias oracle]$ sqlplus scott/tiger
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:35:36 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
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:


实验二:
[oracle@ias oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:37:14 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SQL> connect 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


SQL>

情况一样~~~我刚安装好那会儿用scott起来过~~~第二天就不行了~~~
发表于 2003-6-10 12:38:44 | 显示全部楼层
实验一:

[oracle@ias oracle]$ sqlplus scott/tiger
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:35:36 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
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:


实验二:
[oracle@ias oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:37:14 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SQL> connect 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


SQL>

情况一样~~~我刚安装好那会儿用scott起来过~~~重启之后就不行了
发表于 2003-6-10 12:43:23 | 显示全部楼层
[QUOTE]最初由 hmy0217 发表
实验一:

[oracle@ias oracle]$ sqlplus scott/tiger
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:35:36 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
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:


实验二:
[oracle@ias oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 10 12:37:14 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SQL> connect 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


SQL>
 楼主| 发表于 2003-6-10 12:43:46 | 显示全部楼层
在oracle9i中查看数据库是否启动
$ps -ef|grep -i pmon
如果这个进程完成就具有运行中的数据库了
发表于 2003-6-10 12:44:16 | 显示全部楼层
ft~~~怎么发了那么多~~~~斑斑给删一下~~~
发表于 2003-6-10 12:49:33 | 显示全部楼层
[oracle@ias oracle]$ ps -ef|grep ora_
[oracle@ias oracle]$
[oracle@ias oracle]$ ps -ef|grep -i pmon
[oracle@ias oracle]$

好像没什么用的说
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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