Win7上面装Oracle10g报错求助

lchh0917 2010-09-07 04:30:26
安装都是顺利的,监听也都是正常启动,但连数据库就报错,求助各位帮忙!


报错信息:
ORA-01034:ORACLE not available
ORA-27101:shared memory realm does not exist
...全文
418 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
lchh0917 2010-09-15
  • 打赏
  • 举报
回复
非常感激~
lchh0917 2010-09-13
  • 打赏
  • 举报
回复
我启动了数据库,但还是有异常:
SQL> startup;
ORACLE 例程已经启动。
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 205523844 bytes
Database Buffers 398458880 bytes
Redo Buffers 7135232 bytes
数据库已经关闭
到底怎么回事啊。。。
game21 2010-09-13
  • 打赏
  • 举报
回复
怎么知道谁的答案是对的ya
心中的彩虹 2010-09-13
  • 打赏
  • 举报
回复
[Quote=引用楼主 lchh0917 的回复:]
安装都是顺利的,监听也都是正常启动,但连数据库就报错,求助各位帮忙!


报错信息:
ORA-01034:ORACLE not available
ORA-27101:shared memory realm does not exist
[/Quote]


dos下
sqlplus /nolog

conn /as sysdba

startup
talent8877 2010-09-13
  • 打赏
  • 举报
回复
重新启动下看看~
Dream_1986 2010-09-13
  • 打赏
  • 举报
回复
实在没辙就卸了重装。。。
yuhongpingimu 2010-09-11
  • 打赏
  • 举报
回复
还要启动数据库啊
lchh0917 2010-09-10
  • 打赏
  • 举报
回复
好像还是有问题,真是很棘手:

conn sys/fantasy as sysdba;
已连接到空闲例程
select sysdate from dual;
第一行出现错误:
ORA-01034:ORACLE not available
show user;
USER为"SYS"

怎么是连接到空闲例程?
cqhweb 2010-09-08
  • 打赏
  • 举报
回复
这是oracle官方英文文档

ORA-01034 ORACLE not available

Cause: Oracle was not started. Possible causes include the following:

The SGA requires more space than was allocated for it.
The operating-system variable pointing to the instance is improperly defined.
Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See the platform-specific Oracle documentation.
iqlife 2010-09-07
  • 打赏
  • 举报
回复
控制面板里看下服务启动了?
xieyu_zy 2010-09-07
  • 打赏
  • 举报
回复
中间漏掉一个步骤,没有拷贝到哈,当你第一步链接失败的时候,先要使用:
SQL> conn / as sysdba
已连接到空闲例程。

然后再执行:startup;操作。
xieyu_zy 2010-09-07
  • 打赏
  • 举报
回复
呵呵,这个很明显你的windows下服务是启动了,但是数据库实例并没有启动的,呵呵。

此时需要使用操作系统认证模式进去,将数据库实例启动起来才可以,另外本机直接链接默认情况下不需要监听。

SQL> conn scott/a
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist


警告: 您不再连接到 ORACLE。
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 205523844 bytes
Database Buffers 398458880 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
数据库已经打开。
SQL> conn scott/a
已连接。

呵呵,你是不是机器上安装了多个ORACLE,不知道自己登陆的是哪一个,在windows上如果要登录指定的,可以使用网络访问服务名方式访问,另外可以在本机使用set oracle_id=sid名字 然后在使用sqlplus就O了。
ojuju10 2010-09-07
  • 打赏
  • 举报
回复
重新启动下数据库实例

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧