startup啓動不起來關於監聽的問題

問題描述:要在sqlplus中啓動到startup狀態,可是提示我沒有監聽,原本覺得啓動一下就能夠,可是connecting to一直卡半天,stop都中止不了sql

1.發現監聽有問題,前去更改oracle

SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=orclstd)(PORT=1521))'app

2.監聽路徑:/u01/app/oracle/product/11.2.0/dbhome_1/network/adminblog

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.5)(PORT = 1521))
)
)進程

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME= oracle11g)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orclstd)
)
)ci

3.更改完監聽,從新啓動監聽博客

 

 

 

監聽一直在connecting to鏈接不上,就連stop都中止不了it

4.開始排查,顯示出來tns進程,發現個人監聽進程一直起不來,不知道什麼緣由,可是有其餘博客說他們有兩個監聽程序衝突了,可是我只有一個,從新嘗試kill掉監聽進程io

[root@orclstd etc]# ps -ef | grep tns
root 21 2 0 08:09 ? 00:00:00 [netns]
oracle 31407 1 96 10:15 ? 00:15:59 /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER -inherit
root 31955 31906 0 10:32 pts/3 00:00:00 grep tnsbfc

5.[root@orclstd etc]# kill -9 31407

   看一下kill掉以後的進程

 [root@orclstd etc]# ps -ef | grep tns

 root 21 2 0 08:09 ? 00:00:00 [netns]
 root 31961 31906 0 10:34 pts/3 00:00:00 grep tns

 顯示已經killed掉

6.從新查看並啓動監聽

 

 

 

已經從新啓動

7,.sqlplus 從新啓動startup

 

 

 已經ok

相關文章
相關標籤/搜索