可能是服务器oracle服务没启动。

解决方案 »

  1.   

    数据库没有启动
    以下是模仿你的过程及解决办法E:\>sqlplus /nologSQL*Plus: Release 8.1.7.0.0 - Production on Fri Dec 19 10:43:52 2003(c) Copyright 2000 Oracle Corporation.  All rights reserved.SQL> conn scott/tiger
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.Total System Global Area    9992220 bytes
    Fixed Size                    75804 bytes
    Variable Size               9019392 bytes
    Database Buffers             819200 bytes
    Redo Buffers                  77824 bytes
    Database mounted.
    Database opened.
    SQL> conn scott/tiger
    Connected.
    SQL> select * from dept where deptno=10;    DEPTNO DNAME          LOC
    ---------- -------------- -------------
            10 ACCOUNTING     NEW YORKSQL>