解决方案 »

  1.   

    [oracle@DB1 sysman]$ echo $ORACLE_SID
    itrus
    [oracle@DB1 sysman]$ lsnrctl statusLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 13-MAR-2015 11:38:32Copyright (c) 1991, 2009, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.18.70.11)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-FEB-2015 17:45:54
    Uptime                    35 days 17 hr. 52 min. 38 sec
    Trace Level               off
    Security                  ON: Password or Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /opt/oracle/product/11.2.0/network/admin/listener.ora
    Listener Log File         /opt/oracle/diag/tnslsnr/DB1/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.18.70.11)(PORT=1521)))
    Services Summary...
    Service "DB1" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "ITRUS1" has 2 instance(s).
      Instance "itrus", status UNKNOWN, has 1 handler(s) for this service...
      Instance "itrus", status READY, has 1 handler(s) for this service...
    Service "ITRUSXDB" has 1 instance(s).
      Instance "itrus", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@DB1 sysman]$ sqlplus sys/YAxi[12]X@ITRUS1 as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Fri Mar 13 11:38:54 2015Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> select * from v$pwfile_users;USERNAME        SYSDB SYSOP SYSAS
    ------------------------------ ----- ----- -----
    SYS        TRUE  TRUE  FALSESQL> show parameter remote;NAME      TYPE  VALUE
    ------------------------------------ ----------- ------------------------------
    remote_dependencies_mode      string  TIMESTAMP
    remote_listener       string
    remote_login_passwordfile      string  EXCLUSIVE
    remote_os_authent      boolean  FALSE
    remote_os_roles       boolean  FALSE
    result_cache_remote_expiration      integer  0
    SQL> 
      

  2.   

    SQL>select instance_name from v$instance;
    INSTANCE_NAM
    ------------------------------
    itrus