中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

lsnrctl start啟動監聽很慢(AIX平臺)

發布時間:2020-07-23 23:43:50 來源:網絡 閱讀:2244 作者:7343696 欄目:關系型數據庫

今天登陸了一下公司AIX平臺的ORACLE測試服務器,沒有配置監聽,由于手動配置監聽后,啟動監聽,發現啟動的時候很慢,日志如下:

歡迎大家加入ORACLE超級群:17115662 免費解決各種ORACLE問題,以后BLOG將遷移到http://www.htz.pw

  1. [$(hostname):oracle:/u01/app/oracle/10.2.0/db_1/network/admin]lsnrctl start
  2. LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 20-MAR-2013 21:52:46
  3.  
  4. Copyright (c) 1991, 2005, Oracle.  All rights reserved.
  5.  
  6.  
  7.  
  8.  
  9.  
  10. Starting /u01/app/oracle/10.2.0/db_1/bin/tnslsnr: please wait...
  11.  
  12. TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
  13. System parameter file is /u01/app/oracle/10.2.0/db_1/network/admin/listener.ora
  14. Log messages written to /u01/app/oracle/10.2.0/db_1/network/log/listener.log
  15. Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cdolm2)(PORT=1521)))
  16. Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
  17.  
  18. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cdolm2)(PORT=1521)))

停在這兒 ,truss進程

  1. [$(hostname):oracle:/home/oracle]truss -p 241908
  2. connext(0, 0x0000000000000000, 0) (sleeping...)
  3. connext(0, 0x0000000000000000, 0)               Err#78 ETIMEDOUT
  4. close(3)                                        = 0
  5. getsockopt(3, 65535, 4097, 0x0FFFFFFFFFFF7824, 0x0FFFFFFFFFFF7820) Err#9  EBADF
  6. getsockopt(3, 65535, 4098, 0x0FFFFFFFFFFF7824, 0x0FFFFFFFFFFF7820) Err#9  EBADF
  7. access("/tmp/.oracle", 0)                       = 0
  8. chmod("/tmp/.oracle", 01777)                    Err#1  EPERM
  9. socket(1, 1, 0)                                 = 3
  10. access("/tmp/.oracle/sEXTPROC0", 0)             Err#2  ENOENT
  11. access("/tmp/o/sEXTPROC0", 0)                   Err#2  ENOENT
  12. close(3)                                        = 0
  13. open("/u01/app/oracle/10.2.0/db_1/network/mesg/tnsus.msb", O_RDONLY) = 3
  14. kfcntl(3, F_SETFD, 0x0000000000000001)          = 0
  15. lseek(3, 0, 0)                                  = 0
  16. kread(3, "1513 "011303\t\t\0\0\0\0".., 256)     = 256
  17. lseek(3, 512, 0)                                = 512
  18. kread(3, " 19B\0\0\0\0\0\0\0\0\0\0".., 512)     = 512
  19. lseek(3, 1024, 0)                               = 1024
  20. kread(3, "\0\t\012\01A\0 &\0 -\0 F".., 170)     = 170
  21. lseek(3, 19456, 0)                              = 19456
  22. kread(3, "\00F04 $\0\0\0 b04 %\0\0".., 512)     = 512
  23. kwrite(1, " S t a r t i n g   / u 0".., 66)     = 66
  24. kfcntl(1, F_GETFL, 0x0000000000000008)          = 2
  25. pipe(0x0FFFFFFFFFFFA548)                        = 0
  26. pipe(0x0FFFFFFFFFFFA540)                        = 0
  27. sigprocmask(0, 0x09001000A0198818, 0x09001000A01987F8) = 0
  28. kfork()                                         = 200740
  29. thread_setmystate(0x0FFFFFFFFFFF9F50, 0x0000000000000000) = 0
  30. sigprocmask(0, 0x0FFFFFFFFFFFA420, 0x0000000000000000) = 0
  31. sigprocmask(2, 0x09001000A0198818, 0x0FFFFFFFFFFFA130) = 0
  32. _sigaction(13, 0x0FFFFFFFFFFFA260, 0x0FFFFFFFFFFFA290) = 0
  33. thread_setmystate(0x0FFFFFFFFFFF9D20, 0x0000000000000000) = 0
  34. sigprocmask(1, 0x0FFFFFFFFFFFA390, 0x0000000000000000) = 0
  35. kwaitpid(0x0FFFFFFFFFFFA530, 200740, 4, 0x0000000000000000, 0x0000000000000000) = 200740
  36. close(4)                                        = 0
  37. close(7)                                        = 0
  38. set -o vi
  39. kread(6, " N T P 0   2 7 8 5 8 8\n".., 64)      = 12
  40. _getpid()                                       = 241908
  41. kfcntl(6, F_SETFD, 0x0000000000000001)          = 0
  42. kwrite(5, "\0 001\0\0\001 901 ,".., 184)    = 184
  43. kread(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 2064) (sleeping...)
  44. kread(6, "\0  \0\002\0\0\001 9\0\0".., 2064)    = 32
  45. kread(6, "01 }\0\006\0\0\0\0\0 T N".., 2064)    = 381
  46. kwrite(1, " T N S L S N R   f o r  ".., 371)    = 371
  47. kwrite(1, "\n", 1)                              = 1
  48. close(5)                                        = 0
  49. close(6)                                        = 0
  50. getuidx(2)                                      = 202
  51. __libc_sbrk(0x0000000000010020)                 = 0x00000000106044E0
  52. open("/etc/passwd", O_RDONLY)                   = 4
  53. kioctl(4, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
  54. kfcntl(4, F_GETFD, 0x0000000000000000)          = 0
  55. kfcntl(4, F_SETFD, 0x0000000000000001)          = 0
  56. accessx("/etc/security/passwd", 04, 0)          Err#13 EACCES
  57. _getpid()                                       = 241908
  58. accessx("/etc/passwd", 04, 0)                   = 0
  59. statx("/etc/passwd", 0x0FFFFFFFFFFF7880, 176, 0) = 0
  60. _getpid()                                       = 241908
  61. accessx("/etc/passwd", 04, 0)                   = 0
  62. statx("/etc/passwd", 0x0FFFFFFFFFFF7040, 176, 0) = 0
  63. accessx("/etc/passwd", 04, 0)                   = 0
  64. statx("/etc/passwd", 0x0FFFFFFFFFFF7100, 176, 0) = 0
  65. _getpid()                                       = 241908
  66. accessx("/etc/passwd", 04, 0)                   = 0
  67. statx("/etc/passwd", 0x0FFFFFFFFFFF7000, 176, 0) = 0
  68. accessx("/etc/security/passwd", 04, 0)          Err#13 EACCES
  69. accessx("/etc/passwd", 04, 0)                   = 0
  70. statx("/etc/passwd", 0x0FFFFFFFFFFF6D30, 176, 0) = 0
  71. accessx("/etc/passwd", 04, 0)                   = 0
  72. statx("/etc/passwd", 0x0FFFFFFFFFFF6DF0, 176, 0) = 0
  73. _getpid()                                       = 241908
  74. accessx("/etc/security/passwd", 04, 0)          Err#13 EACCES
  75. accessx("/etc/passwd", 04, 0)                   = 0
  76. close(4)                                        = 0
  77. lseek(3, 18944, 0)                              = 18944
  78. kread(3, "\00F0413\0\0\0 b0414\0\0".., 512)     = 512
  79. kwrite(1, " C o n n e c t i n g   t".., 77)     = 77
  80. kfcntl(1, F_GETFL, 0x0000000000000008)          = 2
  81. getdomainname(0x0FFFFFFFFFFF66B0, 256)          = 0
  82. open("/etc/hosts", O_RDONLY)                    = 4
  83. kioctl(4, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
  84. kfcntl(4, F_SETFD, 0x0000000000000001)          = 0
  85. kioctl(4, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
  86. kread(4, " #   @ ( # ) 4 7\t 1 . 1".., 4096)    = 2026
  87. kread(4, " #   @ ( # ) 4 7\t 1 . 1".., 4096)    = 0
  88. close(4)                                        = 0
  89. socket(2, 1, 0)                                 = 4
  90. getsockopt(4, 65535, 4104, 0x0FFFFFFFFFFF7644, 0x0FFFFFFFFFFF7640) = 0
  91. connext(4, 0x0000000110603D30, 16) (sleeping...)

再不停的重新connext這個過程。

  1. [$(hostname):oracle:/home/oracle]ping cdolm2
  2. PING cdolm2: (10.10.123.223): 56 data bytes
  3. 沒有反應了,ctrl+c結局
  4. ^C
  5. ----cdolm2 PING Statistics---- 
  6. 4 packets transmitted, 0 packets received, 100% packet loss
  1. [$(hostname):oracle:/home/oracle]cat /etc/hosts
  2. 127.0.0.1               loopback localhost      # loopback (lo0) name/address
  3. 10.0.0.6        cdolm2-priv  
  4. 192.168.0.221   cdolm1 
  5. 10.0.0.5        cdolm1-priv
  6. 192.168.0.232   cdolm2-vip
  7. 192.168.0.231   cdolm1-vip
  8.  
  9. 10.10.123.223   cdolm2 cdolm2  /fdfd2
  10. 192.168.1.250   cdolm2
  11.  
  12. 192.168.1.251   cdolm2
  13. 發現HOSTS文件不正確。

修改hosts

  1. [$(hostname):oracle:/home/oracle]set -o vi
  2. [$(hostname):oracle:/home/oracle]ifconfig -a
  3. en0: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,PSEG,CHAIN>
  4.         inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255
  5. lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
  6.         inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
  7.         inet6 ::1/0
  8.          tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
  9.          
  10.          
  11.          
  12. 修改hosts文件
  13.  
  14. 192.168.1.250   cdolm2

啟動正常

  1. 啟動正常
  2. [$(hostname):oracle:/u01/app/oracle/10.2.0/db_1/network/admin]lsnrctl start
  3.  
  4. LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 20-MAR-2013 21:56:37
  5.  
  6. Copyright (c) 1991, 2005, Oracle.  All rights reserved.
  7.  
  8. Starting /u01/app/oracle/10.2.0/db_1/bin/tnslsnr: please wait...
  9.  
  10. TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
  11. System parameter file is /u01/app/oracle/10.2.0/db_1/network/admin/listener.ora
  12. Log messages written to /u01/app/oracle/10.2.0/db_1/network/log/listener.log
  13. Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cdolm2)(PORT=1521)))
  14. Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
  15.  
  16. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cdolm2)(PORT=1521)))
  17. STATUS of the LISTENER
  18. ------------------------ 
  19. Alias                     LISTENER
  20. Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
  21. Start Date                20-MAR-2013 21:56:37
  22. Uptime                    0 days 0 hr. 0 min. 1 sec
  23. Trace Level               off 
  24. Security                  ON: Local OS Authentication
  25. SNMP                      OFF 
  26. Listener Parameter File   /u01/app/oracle/10.2.0/db_1/network/admin/listener.ora
  27. Listener Log File         /u01/app/oracle/10.2.0/db_1/network/log/listener.log
  28. Listening Endpoints Summary...
  29.   (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cdolm2)(PORT=1521)))
  30.   (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
  31. Services Summary...
  32. Service "PLSExtProc" has 1 instance(s).
  33.   Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
  34. The command completed successfully
 
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

班玛县| 金塔县| 怀仁县| 郓城县| 岑巩县| 常山县| 申扎县| 淮滨县| 报价| 宁陵县| 博野县| 沅陵县| 和静县| 德惠市| 崇阳县| 阿拉尔市| 邵武市| 平远县| 陕西省| 辛集市| 秀山| 德江县| 西充县| 东莞市| 青岛市| 蓬莱市| 德惠市| 黔江区| 连江县| 库车县| 大足县| 永吉县| 田林县| 如东县| 澄迈县| 万载县| 贵定县| 滁州市| 比如县| 普兰县| 固安县|