[size=13.333333015441895px]各位,我在使用alter system register进行动态注册的时候,发现这个命令没有起作用,不知道什么原因,能帮我看看不。多谢啊 [size=13.333333015441895px]环境信息如下: [size=13.333333015441895px]os:redhat6.4 [size=13.333333015441895px]db version: [size=13.333333015441895px]BANNER CON_ID [size=13.333333015441895px]-------------------------------------------------------------------------------- ---------- [size=13.333333015441895px]Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0 [size=13.333333015441895px]PL/SQL Release 12.1.0.2.0 - Production 0 [size=13.333333015441895px]CORE 12.1.0.2.0 Production 0 [size=13.333333015441895px]TNS for Linux: Version 12.1.0.2.0 - Production 0 [size=13.333333015441895px]NLSRTL Version 12.1.0.2.0 - Production 0
[size=13.333333015441895px]hosts [size=13.333333015441895px][root@localhost tmp]# more /etc/hosts [size=13.333333015441895px]127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 [size=13.333333015441895px]::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 [size=13.333333015441895px]10.152.12.199 localhost.localdomain [size=13.333333015441895px]lis文件如下 [size=13.333333015441895px][oracle@localhost admin]$ more listener.ora [size=13.333333015441895px]# listener.ora Network Configuration File: /home/oracle/product/12102/dbhome_1/network/admin/listener.ora [size=13.333333015441895px]# Generated by Oracle configuration tools.
[size=13.333333015441895px]LISTENER = [size=13.333333015441895px] (DESCRIPTION_LIST = [size=13.333333015441895px] (DESCRIPTION = [size=13.333333015441895px] (ADDRESS = (PROTOCOL = TCP)(HOST = 10.152.12.199)(PORT = 1521)) [size=13.333333015441895px] ) [size=13.333333015441895px] )
[size=13.333333015441895px]SID_LIST_LISTENER = [size=13.333333015441895px] (SID_LIST = [size=13.333333015441895px] (SID_DESC = [size=13.333333015441895px] (SID_NAME = PLSExtProc) [size=13.333333015441895px] (ORACLE_HOME = /home/oracle/product/12102/dbhome_1) [size=13.333333015441895px] (PROGRAM = extproc) [size=13.333333015441895px] ) [size=13.333333015441895px] (SID_DESC = [size=13.333333015441895px] (GLOBAL_DBNAME = orcl12c) [size=13.333333015441895px] (ORACLE_HOME = /home/oracle/product/12102/dbhome_1) [size=13.333333015441895px] (SID_NAME = ORCL12C) [size=13.333333015441895px] ) [size=13.333333015441895px] )
[size=13.333333015441895px]SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
[size=13.333333015441895px]数据库参数: [size=13.333333015441895px]SQL> show parameter name;
[size=13.333333015441895px]NAME TYPE VALUE [size=13.333333015441895px]------------------------------------ ----------- ------------------------------ [size=13.333333015441895px]cell_offloadgroup_name string [size=13.333333015441895px]db_file_name_convert string [size=13.333333015441895px]db_name string orcl12c [size=13.333333015441895px]db_unique_name string orcl12c [size=13.333333015441895px]global_names boolean FALSE [size=13.333333015441895px]instance_name string ORCL12C [size=13.333333015441895px]lock_name_space string [size=13.333333015441895px]log_file_name_convert string [size=13.333333015441895px]pdb_file_name_convert string [size=13.333333015441895px]processor_group_name string [size=13.333333015441895px]service_names string T1 [size=13.333333015441895px]SQL> [size=13.333333015441895px]监听状态如下: [size=13.333333015441895px][oracle@localhost ~]$ lsnrctl status
[size=13.333333015441895px]LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 20-AUG-2014 05:06:15
[size=13.333333015441895px]Copyright (c) 1991, 2014, Oracle. All rights reserved.
[size=13.333333015441895px]Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.152.12.199)(PORT=1521))) [size=13.333333015441895px]STATUS of the LISTENER [size=13.333333015441895px]------------------------ [size=13.333333015441895px]Alias LISTENER [size=13.333333015441895px]Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production [size=13.333333015441895px]Start Date 20-AUG-2014 03:21:40 [size=13.333333015441895px]Uptime 0 days 1 hr. 44 min. 35 sec [size=13.333333015441895px]Trace Level off [size=13.333333015441895px]Security ON: Local OS Authentication [size=13.333333015441895px]SNMP OFF [size=13.333333015441895px]Listener Parameter File /home/oracle/product/12102/dbhome_1/network/admin/listener.ora [size=13.333333015441895px]Listener Log File /home/oracle/diag/tnslsnr/localhost/listener/alert/log.xml [size=13.333333015441895px]Listening Endpoints Summary... [size=13.333333015441895px] (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.152.12.199)(PORT=1521))) [size=13.333333015441895px]Services Summary... [size=13.333333015441895px]Service "PLSExtProc" has 1 instance(s). [size=13.333333015441895px] Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... [size=13.333333015441895px]Service "orcl12c" has 1 instance(s). [size=13.333333015441895px] Instance "ORCL12C", status UNKNOWN, has 1 handler(s) for this service... [size=13.333333015441895px]The command completed successfully [size=13.333333015441895px][oracle@localhost ~]$
|