问题是昨天晚上停电后出现的,以前是好的。# listener.ora Network Configuration File: /home/oracledba/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /home/oracledba/oracle/product/10.2.0/db_1)
      (PROGRAM = extproc)
    )
  )LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC4))
      (ADDRESS = (PROTOCOL = TCP)(HOST = ubuntu)(PORT = 1524))
    )
  )
# tnsnames.ora Network Configuration File: /home/oracledba/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.USEEO =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ubuntu)(PORT = 1524))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = useeo)
    )
  )LISTENER_USEEO =
  (ADDRESS = (PROTOCOL = TCP)(HOST = ubuntu)(PORT = 1524))
EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC4))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )启动
oracledba@ubuntu:~/oracle/product/10.2.0/db_1/bin$ lsnrctl startLSNRCTL for Linux: Version 10.2.0.1.0 - Production on 04-NOV-2009 15:26:01Copyright (c) 1991, 2005, Oracle.  All rights reserved.Starting /home/oracledba/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /home/oracledba/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /home/oracledba/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC4)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ubuntu)(PORT=1524)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC4)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                04-NOV-2009 15:26:01
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracledba/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /home/oracledba/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC4)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ubuntu)(PORT=1524)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracledba@ubuntu:~/oracle/product/10.2.0/db_1/bin$有人说可以加   
(SID_DESC = 
      (GLOBAL_DBNAME = USEEO) 
      (ORACLE_HOME = /home/oracledba/oracle/product/10.2.0/db_1) 
      (SID_NAME = USEEO) 
在listener.ora里 结果找不到目录。

解决方案 »

  1.   

    在home/oracledba/oracle/product/10.2.0/db_1/network/admin/listener.ora 
    修改如下SID_LIST_LISTENER = 
      (SID_LIST = 
        (SID_DESC = 
          (SID_NAME = PLSExtProc) 
          (ORACLE_HOME = /home/oracledba/oracle/product/10.2.0/db_1) 
          (PROGRAM = extproc) 
        ) 
    (SID_DESC = 
          (GLOBAL_DBNAME = USEEO) 
          (ORACLE_HOME = /home/oracledba/oracle/product/10.2.0/db_1) 
          (SID_NAME = USEEO) 

      ) LISTENER = 
      (DESCRIPTION_LIST = 
        (DESCRIPTION = 
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC4)) 
          (ADDRESS = (PROTOCOL = TCP)(HOST = ubuntu)(PORT = 1524)) 
        ) 
      ) 
      

  2.   

    首先你少个括号,
    (SID_DESC = 
          (GLOBAL_DBNAME = USEEO) 
          (ORACLE_HOME = /home/oracledba/oracle/product/10.2.0/db_1) 
          (SID_NAME = USEEO) 
    就是有这个括号后,它报错,
    ora-01034 oracle not available
    ora-27101 shared memory ream does not exist 
    linux error NO such file or directory我上面已经提到了
      

  3.   

    查查数据库实例是不是成功启动了。根据这里的错误信息
    ora-01034 oracle not available 
    ora-27101 shared memory ream does not exist 实例没有start,所以咩有动态绑定。