LinuxSir.cn,穿越时空的Linuxsir!

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

ERROR: ORA-01034: ORACLE not available ERROR:ORA-01034ORA-27101怎样搞定?

[复制链接]
发表于 2005-5-17 19:06:59 | 显示全部楼层 |阅读模式
[oracle@tsg root]$ lsnrctl start

LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 17-MAY-2005 19:04:50

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Starting /opt/ora10/product/10g/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.1.0.3.0 - Production
System parameter file is /opt/ora10/product/10g/network/admin/listener.ora
Log messages written to /opt/ora10/product/10g/network/log/listener.log
Trace information written to /tmp/listener.trc
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.1.0.3.0 - Production
Start Date                17-MAY-2005 19:04:50
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               support
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/ora10/product/10g/network/admin/listener.ora
Listener Log File         /opt/ora10/product/10g/network/log/listener.log
Listener Trace File       /tmp/listener.trc
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "LSExtProc" has 1 instance(s).
  Instance "LSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully




[oracle@tsg root]$ sqlplus

SQL*Plus: Release 10.1.0.3.0 - Production on Tue May 17 18:55:37 2005

Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Enter user-name: SYSMAN
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@tsg root]$ echo $ORACLE_SID
ora10g


我的用户名和密码都没有错的,这两个错误如何解决阿!救我
发表于 2005-5-17 20:51:52 | 显示全部楼层
似乎是数据库还没有启动。
应该这样启动:

sqlplus sys/sys_password as sysdba

接下来输入
startup;
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-19 15:53:49 | 显示全部楼层
已经搞定,问题很简单,只怪自己知识太少,学习ing!
回复 支持 反对

使用道具 举报

发表于 2005-9-2 16:39:43 | 显示全部楼层
楼主你是怎么解决的饿,我也遇到你一样的问题,如下:
[oracle@yndx133 /]$ echo $ORACLE_SID
bill
[oracle@yndx133 /]$ sqlplus system/manager

SQL*Plus: Release 9.2.0.4.0 - Production on Fri Sep 2 16:24:56 2005

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
回复 支持 反对

使用道具 举报

发表于 2005-9-15 22:30:16 | 显示全部楼层
需要使用具有sysdba权限的用户登陆
可以使用
sqlplus sys/syspassword as sysdba
sqlplus / as sysdba
登陆的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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