最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

記一次搭建備庫,使用連接串主庫無法連接到備庫

2023-01-05 16:38 作者:夜灬長夢多  | 我要投稿

主庫使用連接串連接備庫失敗
SQL> conn sys/oracle@orcldg as sysdba
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
備庫已經(jīng)建立了靜態(tài)監(jiān)聽
# listener.ora Network Configuration File:
/u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcldg)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcldg)
(ORACLE_HOME =
/u01/app/oracle/product/11.2.0/db_1)
(SID_NAME =?orcldg)
)
)
主庫tns文件
$ cat tnsnames.ora
orcldb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcldb)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =?pacsdb1)
)
)
ORCLDG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcldg)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =?pacsdb1)
)
)
發(fā)現(xiàn)主庫tns中的服務(wù)名跟備庫靜態(tài)監(jiān)聽的服務(wù)名不一致,導致主庫識別不到備庫,上面標記紅色的部分需要一樣的服務(wù)名,這樣就可以連接了



記一次搭建備庫,使用連接串主庫無法連接到備庫的評論 (共 條)

分享到微博請遵守國家法律
集贤县| 德庆县| 太和县| 定安县| 扶绥县| 洪洞县| 沙雅县| 凌海市| 高邮市| 中宁县| 邯郸市| 沈阳市| 如东县| 道真| 休宁县| 科技| 安新县| 潞城市| 湖口县| 合山市| 鄂托克前旗| 岑溪市| 泸定县| 彰化县| 嘉兴市| 鄂州市| 新邵县| 库伦旗| 道孚县| 诏安县| 滁州市| 柘城县| 黄冈市| 太谷县| 永宁县| 赣榆县| 常山县| 东台市| 仙居县| 泌阳县| 治县。|