亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1815 | 回復(fù): 4
打印 上一主題 下一主題

請(qǐng)教一個(gè)網(wǎng)絡(luò)連接的問(wèn)題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2006-08-08 22:59 |只看該作者 |倒序?yàn)g覽
hostnameramain IP:210.35.207.32  SID:stby 在這臺(tái)機(jī)上連本地庫(kù)或連IP為33的庫(kù)都成功
hostnamerastanby IP:210.35.207.33  SID:tt 在這臺(tái)機(jī)上連本地庫(kù)成功,但連IP為32的庫(kù)卻不成功
下面給出了兩臺(tái)的listener.ora 和tnsnames.ora文件
33上的數(shù)據(jù)庫(kù)版本是9.2.0.2
32上的數(shù)據(jù)庫(kù)版本是9.2.0.4
請(qǐng)問(wèn)是什么原因連接不上呢?????

[oracle@oramain admin]$ more listener.ora
STENER.ORA Network Configuration File: /opt/oracle/product/9.2.0.4/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /opt/oracle/product/9.2.0.4)
      (PROGRAM = extproc)
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = stby)
      (ORACLE_HOME = /opt/oracle/product/9.2.0.4)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 210.35.207.32)(PORT = 1521))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
    )
  )


[oracle@oramain admin]$ more tnsnames.ora
# TNSNAMES.ORA Network Configuration File: /opt/oracle/product/9.2.0.4/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

oramain =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = tcp)
                 (HOST=210.35.207.32)
                 (PORT=1521)
      )
    )
    (CONNECT_DATA =
      (SID = stby)
    )
  )

orastanby =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = tcp)
                 (HOST=210.35.207.33)
                 (PORT=1521)
      )
    )
    (CONNECT_DATA =
      (SID = tt)
    )
  )
[oracle@oramain admin]$


[oracle@oramain admin]$ sqlplus "sys/oracle@oramain as sysdba"

SQL*Plus: Release 9.2.0.2.0 - Production on Tue Aug 8 22:41:48 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.2.0 - Production

SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.2.0 - Production
[oracle@oramain admin]$ sqlplus "sys/change_on_install@orastanby as sysdba"

SQL*Plus: Release 9.2.0.2.0 - Production on Tue Aug 8 22:42:46 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production

SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production



[oracle@orastanby admin]$ more listener.ora
# LISTENER.ORA Network Configuration File: /opt/oracle/product/9.2.0.4/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /opt/oracle/product/9.2.0.4)
      (PROGRAM = extproc)
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = tt)
      (ORACLE_HOME = /opt/oracle/product/9.2.0.4)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 210.35.207.33)(PORT = 1521))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
    )
  )

[oracle@orastanby admin]$ more tnsnames.ora

orastanby=
    (DESCRIPTION =
       (ADDRESS_LIST =
         (ADDRESS=
            (PROTOCOL=tcp)(HOST=210.35.207.33) (PORT=1521)
         )
       )
       (CONNECT_DATA =
         (SID = tt)
       )
    )

oramain =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = tcp)
                 (HOST=210.35.207.32)
                 (PORT=1521)
      )
    )
    (CONNECT_DATA =
      (SID = stby)
    )
  )
[oracle@orastanby admin]$ sqlplus "sys/change_on_install@orastanby as sysdba"

SQL*Plus: Release 9.2.0.4.0 - Production on Tue Aug 8 22:50:03 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production

SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
[oracle@orastanby admin]$ sqlplus "sys/oracle@oramain as sysdba"

SQL*Plus: Release 9.2.0.4.0 - Production on Tue Aug 8 22:50:09 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@orastanby admin]$

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2006-08-08 23:23 |只看該作者
本機(jī)連接走的是IPC,還有其他客戶端能否正常連到32的機(jī)器上?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2006-08-08 23:33 |只看該作者
把oramain的tnsnames.ora復(fù)制到orastandy上
在兩個(gè)節(jié)點(diǎn)上都用下面命令試一下
tnsping oramain
tnsping orastanby

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2006-08-08 23:50 |只看該作者
oramain都通
orastanby TNSPING到ORAMAIN上不通


[oracle@oramain ~]$ tnsping orastandby

TNS Ping Utility for Linux IA64: Version 9.2.0.2.0 - Production on 08-AUG-2006 23:46:33

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:
/opt/oracle/product/9.2.0.4/network/admin/sqlnet.ora

TNS-03505: Failed to resolve name
[oracle@oramain ~]$ tnsping orastanby

TNS Ping Utility for Linux IA64: Version 9.2.0.2.0 - Production on 08-AUG-2006 23:46:41

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:
/opt/oracle/product/9.2.0.4/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp) (HOST=210.35.207.33) (PORT=1521))) (CONNECT_DATA = (SID = tt)))
OK (0 msec)
[oracle@oramain ~]$



[oracle@orastanby oracle]$ tnsping orastanby

TNS Ping Utility for Linux: Version 9.2.0.4.0 - Production on 08-AUG-2006 23:47:48

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS= (PROTOCOL=tcp)(HOST=210.35.207.33) (PORT=1521))) (CONNECT_DATA = (SID = tt)))
OK (0 msec)
[oracle@orastanby oracle]$ tnsping oramain

TNS Ping Utility for Linux: Version 9.2.0.4.0 - Production on 08-AUG-2006 23:47:57

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp) (HOST=210.35.207.32) (PORT=1521))) (CONNECT_DATA = (SID = stby)))
TNS-12560: TNS:protocol adapter error
[oracle@orastanby oracle]$

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2006-08-09 00:17 |只看該作者
[size=-1]暈死,,我的剛才問(wèn)題解決了,,原來(lái) 是沒(méi)把ORAMAIN這臺(tái)機(jī)的防火墻給關(guān)掉

已經(jīng)第二次了,,記性不好


謝啦,,各位
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP