日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

oracle rac ora 12537,解决11gR2 Rac ORA-12537: TNS:connection closed 一例

發布時間:2023/11/27 生活经验 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle rac ora 12537,解决11gR2 Rac ORA-12537: TNS:connection closed 一例 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Solaris 10, oracle 11.2.0.3, RAC, 非ASM, 使用SCAN和DNS

狀況:

# tnsping ISUITE

TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 12-JUN-2012 08:04:45

Copyright (c) 1997, 2011, Oracle.? All rights reserved.

Used parameter files:

Used TNSNAMES adapter to resolve the alias

Attempting to contact (DESCRIPTION= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=us1s-istordb03-scan)(PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=ISUITE)))

OK (10 msec)

# tnsping ISUITE1

TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 12-JUN-2012 08:04:55

Copyright (c) 1997, 2011, Oracle.? All rights reserved.

Used parameter files:

Used TNSNAMES adapter to resolve the alias

Attempting to contact (DESCRIPTION= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=us1s-istordb03a-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=us1s-istordb03b-vip)(PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=ISUITE)))

OK (0 msec)

# sqlplus

SQL*Plus: Release 11.2.0.3.0 Production on Tue Jun 12 06:12:38 2012

Copyright (c) 1982, 2011, Oracle.? All rights reserved.

ERROR:

ORA-12537: TNS:connection closed

# sqlplus

SQL*Plus: Release 11.2.0.3.0 Production on Tue Jun 12 06:12:38 2012

Copyright (c) 1982, 2011, Oracle.? All rights reserved.

ERROR:

ORA-12537: TNS:connection closed

tnsping可以通說明tnsnames.ora寫的沒問題,但是怎么還回有連接問題呢?

由于是11G的RAC,listener不歸oracle用戶管,是grid用戶管的。查了GI下listener相關,也沒發現異常。

在metalink上找到一篇,ID 1069517.1相關的,開始檢查

1. 用listener的owner用戶檢查rdbms_home目錄下是否有權限

# ls -l /xxx/app/oracle/product/11.2.0.3/db/bin/oracle

-rwsr-s--x?? 1 oracle?? oinstall 233186712 May 10 09:00 /xxx/app/oracle/product/11.2.0.3/db/bin/oracle

這項沒有問題。

2. 查看該目錄權限 是否是6751:

-rwsr-s--x??也沒有問題,如果這里不是這樣,請使用:

chmod 6751? /xxx/app/oracle/product/11.2.0.3/db/bin/oracle

修改。

3. 檢查oracle軟件目錄的文件系統是否支持setuid/suid,或者是被設置成了nosetuid。我開始流汗了。。。。

# mount| grep /xxx

/xxx on /dev/md/dsk/d56 read/write/nosetuid/nodevices/intr/largefiles/logging/xattr/οnerrοr=panic/dev=1540038 on Fri May 11 23:22:40 2012

我靠,居然中招了,系統組的同事,我要吐槽!!!

@*((*&(*&(!(&$))%)*(&

發郵件,15分鐘反饋,改好了,變成setuid了。問題解決。

# mount| grep /xxx

/xxx on /dev/md/dsk/d56 read/write/setuid/devices/intr/largefiles/logging/xattr/οnerrοr=panic/dev=1540038 on Tue Jun 12 07:43:59 2012

# sqlplus xxx

SQL*Plus: Release 11.2.0.3.0 Production on Tue Jun 12 07:50:30 2012

Copyright (c) 1982, 2011, Oracle.? All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, Real Application Clusters and Real Application Testing options

SQL>

MOS ID 1069517

總結

以上是生活随笔為你收集整理的oracle rac ora 12537,解决11gR2 Rac ORA-12537: TNS:connection closed 一例的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。