JUST DO IT ~

          我只想當個程序員

          oracle 監聽器故障 .

          1.port 被占用了
          360看看 kill掉
          ps -ax
          netstat -an


          2. host 主機解析出了問題  linux 上


          [oracle@oracle bin]$ more /etc/hosts
          # Do not remove the following line, or various programs
          # that require network functionality will fail.
          127.0.0.1         localhost.localdomain    localhost
          192.168.2.50    oracle         oracle 
          [oracle@oracle bin]$

          3. 安裝oracle  創庫的時候 往往會自動的 創立一個監聽器..
          比如一臺機器上有2個庫 ....那么很可能有2個監聽器.... listener  1521




          NL-00853: undefined command "ls".  Try "help"
          LSNRCTL> start
          Starting /opt/app/oracle/product/10.2.0/bin/tnslsnr: please wait...

          TNSLSNR for Linux: Version 10.2.0.1.0 - Production
          System parameter file is /opt/app/oracle/product/10.2.0/network/admin/listener.ora
          Log messages written to /opt/app/oracle/product/10.2.0/network/log/listener.log
          Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))
          Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))

          Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))
          STATUS of the LISTENER
          ------------------------
          Alias                     LISTENER
          Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
          Start Date                01-DEC-2009 20:11:55
          Uptime                    0 days 0 hr. 0 min. 0 sec
          Trace Level               off
          Security                  ON: Local OS Authentication
          SNMP                      OFF
          Listener Parameter File   /opt/app/oracle/product/10.2.0/network/admin/listener.ora
          Listener Log File         /opt/app/oracle/product/10.2.0/network/log/listener.log
          Listening Endpoints Summary...
            (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))
            (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
          Services Summary...
          Service "PLSExtProc" has 1 instance(s).
            Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
          The command completed successfully
          LSNRCTL>
          LSNRCTL>
          LSNRCTL> status 
          Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))
          STATUS of the LISTENER
          ------------------------
          Alias                     LISTENER
          Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
          Start Date                01-DEC-2009 20:11:55
          Uptime                    0 days 0 hr. 2 min. 38 sec
          Trace Level               off
          Security                  ON: Local OS Authentication
          SNMP                      OFF
          Listener Parameter File   /opt/app/oracle/product/10.2.0/network/admin/listener.ora
          Listener Log File         /opt/app/oracle/product/10.2.0/network/log/listener.log
          Listening Endpoints Summary...
            (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))
            (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
          Services Summary...
          Service "PLSExtProc" has 1 instance(s).
            Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
          Service "idmp" has 1 instance(s).
            Instance "idmp", status READY, has 1 handler(s) for this service...
          Service "idmpXDB" has 1 instance(s).
            Instance "idmp", status READY, has 1 handler(s) for this service...
          Service "idmp_XPT" has 1 instance(s).
            Instance "idmp", status READY, has 1 handler(s) for this service...
          The command completed successfully
          LSNRCTL>




          posted on 2009-12-01 20:17 小高 閱讀(1396) 評論(0)  編輯  收藏 所屬分類: Oracle

          導航

          <2009年12月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          統計

          常用鏈接

          留言簿(3)

          隨筆分類(352)

          收藏夾(19)

          關注的blog

          手冊

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 桦甸市| 泉州市| 韩城市| 广河县| 康乐县| 霍州市| 保康县| 伊春市| 监利县| 青州市| 炉霍县| 金沙县| 马龙县| 肇庆市| 丹江口市| 惠东县| 洞口县| 新营市| 青河县| 托里县| 高陵县| 上蔡县| 永春县| 都兰县| 深泽县| 惠来县| 平潭县| 永年县| 绥德县| 惠安县| 东方市| 博湖县| 涡阳县| 镇巴县| 客服| 正镶白旗| 永安市| 万宁市| 崇左市| 仪陇县| 化州市|