In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Preface
Recently in the work encountered a problem, the mistake is the Oracle dbca Times wrong: ORA-12547: TNS:lost contact, by looking for relevant information finally found a solution, the following to share with you, say no more, let's take a look at the detailed introduction.
Environment:
OS:RHEL6.5 x86-64bitDB:11.2.0.4 for Linux 86-64bit
Train of thought:
DBCA reports an error. First, look at DBCA's log, which also reports ORA-12547: TNS:lost contact.
So if you hit enter by sqlplus / as sysdba, you will also report ORA-12547: TNS:lost contact.
Based on previous engineering experience, first look for the trc file under bdump, but there is no trc generated under bdump.
Then look for the trc file under / u01/app/oracle/product/11.2.0/db_1/rdbms/log, and sure enough, you find it:
[oracle@dg1 log] $pwd / u01/app/oracle/product/11.2.0/db_1/rdbms/log [oracle@dg1 log] $ls-lrt total 9808-rw-r-. 1 oracle oinstall 401207 Feb 1 16:16 dbua1557284_ora_8053.trc-rw-r-. 1 oracle oinstall 401207 Feb 1 16:16 dbua1557284_ora_8062.trc-rw-r-. 1 oracle oinstall 401207 Feb 1 16:16 dbua1557284_ora_8065.trc-rw-r-. 1 oracle oinstall 401373 Feb 1 16:18 dg1_ora_8227.trc-rw-r-. 1 oracle oinstall 401228 Feb 1 16:26 dg1_ora_2701.trc-rw-r-. 1 oracle oinstall 401228 Feb 1 16:26 dg1_ora_2706.trc-rw-r-. 1 oracle oinstall 401410 Feb 1 16:27 dg1_ora_2715.trc-rw-r-. 1 oracle oinstall 401228 Feb 1 16:27 dg1_ora_2722.trc-rw-r-. 1 oracle oinstall 401244 Feb 1 16:31 dbua3144297_ora_2792.trc-rw-r-. 1 oracle oinstall 401244 Feb 1 16:31 dbua3144297_ora_2801.trc-rw-r-. 1 oracle oinstall 401244 Feb 1 16:31 dbua3144297_ora_2804.trc-rw-r-. 1 oracle oinstall 401410 Feb 1 16:34 dg1_ora_2930.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:27 dg1_ora_3181.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:27 dg1_ora_3187.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:27 dg1_ora_3190.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:28 dg1_ora_3205.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:28 dg1_ora_3210.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:28 dg1_ora_3214.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:36 dg1_ora_3313.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:37 dg1_ora_3329.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:37 dg1_ora_3341.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:37 dg1_ora_3344.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:40 dg1_ora_3369.trc-rw-r-. 1 oracle oinstall 401341 Feb 1 17:40 dg1_ora_3375.trc-rw-r-. 1 oracle oinstall 401090 Feb 1 17:40 dg1_ora_3378.trc [oracle@dg1 log] $[oracle@dg1 log] $vi dg1_ora_3369.trc Dump file / u01/app/oracle/product/11.2.0/db_1/rdbms/log/dg1_ora_3369.trc * * 2016-02-01 17purl 40purl 23.652 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production With the Partitioning, OLAP Data Mining and Real Application Testing options ORACLE_HOME = / u01/app/oracle/product/11.2.0/db_1 System name: Linux Node name: dg1 Release: 2.6.32-431.el6.x86_64 Version: # 1 SMP Sun Nov 10 22:19:54 EST 2013 Machine: x86'64 Instance name: dg1 Redo thread mounted by this instance: 0 Oracle process number: 0 Unix process pid: 3369, image: oracle@dg1 * * 2016-02-01 17 Linux Node name 40 Unix process pid 23.652 skgm error 27135: errno = 0, info = 0 0,0,0, 1048576, 2097152, 0 skgm error 27135: errno = 0, info = 0,0,0,0, 1048576, 2097152, 0 * 201602-01 17purse 40 Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3D8] [PC:0x95BE6EB, opiodr () + 11347] [flags: 0x0 Count: 1] Registers:% rax: 0x000000000c0ea630% rbx: 0x000000000c0ea638% rcx: 0x0000000000000000% rdx: 0x0000000000000000% rdi: 0x000000000c0ccba0% rsi: 0x00007fffa308e250% rsp: 0x00007fffa308d970% rbp: 0x00007fffa308e440% R8: 0x00007fffa308d970% R9: 0x00007fffa308e440% R10: 0x00007fffa308c600% R11: 0x00007fab40ec1538% R12: 0x000000000000003c% R13: 0x0000000000000004% R14: 0x00007fffa308e6f8% R15: 0x0000000000000002% rip: 0x00000000095be6eb% efl: 0x0000000000010246 opiodr () + 11325 (0x95be6d5) lea (% rax,%rbx),% rdx opiodr () + 11329 (0x95be6d9) mov% mov, (% rdx) rdx () + 11333 (rcx,%rbx) rdx (% rdx) % rax opiodr () + 11340 (0x95be6e4) mov 0x178 (% rax),% rdx > opiodr () + 11347 (0x95be6eb) movzwl 0x3d8 (% rdx),% ecx opiodr () + 11354 (0x95be6f2) test $0x100test% ECX opiodr () + 11360 (0x95be6f8) jz 0x95bc8c7 opiodr () + 11366 (0x95be6fe) mov-0x18 (% rbp),% eax opiodr () + 11369 (0x95be701) cmp $60 dbkedDefDump% eax * * 2016-02-01 17mer 4023.660 dbkedDefDump (): Starting a non-incident diagnostic dump (flags=0x1, level=3) Mask=0x0)-Error Stack Dump-ORA-07445: exception encountered: core dump [opiodr () + 11347] [SIGSEGV] [ADDR:0x3D8] [PC:0x95BE6EB] [Address not mapped to object] [] ORA-27135: Operating System hard stack limit is set too low-> Note here: Additional information: 1048576 Additional information: 2097152-SQL Statement (None)-Current SQL information unavailable-no SGA. The following is omitted.
Solution method
Finally, it is the problem with the / etc/security/limits.conf file:
Oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 1024 oracle hard nofile-> it should be 10240 here, according to: Requirements for Installing Oracle 11gR2 RDBMS on RHEL6 or OL6 64-bit (x86-64) (document ID 1441282.1)
After the modification, close the dbca interface, exit exits oracle users, su-oracle users, and then re-launch dbca.
Summary
The above is the whole content of this article, I hope that the content of this article has a certain reference and learning value for your study or work, if you have any questions, you can leave a message and exchange, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.