我安装了oracle 10g (从官网下的windows xp 版)
一路安装下来 没有问题
DBCA和NCA(net configuration assistance)都配置正确了 NCA测试成功
但是出现了如下问题:
--------------------------------------------------------------------------
C:\Documents and Settings\Administrator>sqlplusSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 15:39:28 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.请输入用户名: system
输入口令:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist----------------------------------------------------
口令输不进去。望高手解答?
一路安装下来 没有问题
DBCA和NCA(net configuration assistance)都配置正确了 NCA测试成功
但是出现了如下问题:
--------------------------------------------------------------------------
C:\Documents and Settings\Administrator>sqlplusSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 15:39:28 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.请输入用户名: system
输入口令:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist----------------------------------------------------
口令输不进去。望高手解答?
先启动再登录sqlplus / nolog
conn / as sysdba然后startup
不好了 第一次用NCA 测试还成功了
刚才我有用NCA测试了一下 :报错了
如下所示:正在连接...ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
测试未成功。您提供的一些信息可能不正确。
单击“后退”检查提供的 Net 服务名的信息, 或单击“更改登录”来更改用户名。
把..oracleservice...和...tnslistener类似这个的服务启动
--做个试验: 首先保证你Oracle的server和listener开启了的--1、正常情况下,实例启动了能用sqlplus登录,如:C:\>oradim -startup -sid impxeporaC:\>sqlplusSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 16:14:32 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.请输入用户名: erp
输入口令:连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsSQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开--2、现在我关闭实例,然后按照你的方式登录,报错和你一样
C:\>oradim -shutdown -sid impxeporaC:\>sqlplusSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 16:16:27 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.请输入用户名: erp
输入口令:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
请输入用户名:
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝
请输入用户名:
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝
SP2-0157: 在 3 次尝试之后无法连接到 ORACLE, 退出 SQL*Plus
--也就是说你用sqlplus登录报错是你没启动实例
--你可以这样登录启动:
C:\>sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 16:16:54 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> conn / as sysdba
已连接到空闲例程。
SQL> startup
ORACLE 例程已经启动。Total System Global Area 285212672 bytes
Fixed Size 1248576 bytes
Variable Size 71303872 bytes
Database Buffers 209715200 bytes
Redo Buffers 2945024 bytes
数据库装载完毕。
数据库已经打开。
SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开
C:\>sqlplusSQL*Plus: Release 10.2.0.1.0 - Production on 星期五 3月 11 16:17:39 2011Copyright (c) 1982, 2005, Oracle. All rights reserved.请输入用户名: erp
输入口令:连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsSQL>--也可以如开头一样,在dos下用 oradim -startup -sid xxxxxxx 启动实例