dbsnmp啟動失敗解決方法
今天檢視兩個新裝的庫的程式,發現有很多dbsnmp相關的程式。
oracle 20368 20365 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20369 20368 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20370 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20374 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20375 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20376 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20377 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20378 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20379 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20380 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20381 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20382 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20383 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20384 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20385 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20386 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
oracle 20387 20369 0 Apr05 pts/3 00:00:00 /opt/oracle/product/9.2/bin/dbsnmp
重啟資料庫問題依舊,查了一下dbsnmp是跟智慧代理相關的一個命令,嘗試手工執行:
$ /opt/oracle/product/9.2/bin/dbsnmp
DBSNMP for Linux 2.6.9-5.ELsmp: release 9.2.0.4.0 - Production on 09-APR-07 09:15:47
Discovering services on datasrv2 configured on host addresses {datasrv2 localhost 127.0.0.1}
Using oratab file /etc/oratab
Warning : LISTENER defined in /opt/oracle/product/9.2/network/admin/listener.ora will be skipped, because it does not monitor any of the valid SIDs {testcen}
Warning : No Listener found for SID testcen. testcen will be skipped
看報錯資訊似乎與監聽沒有配置SID相關,檢視listener.ora如下:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = datasrv2)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
往監聽檔案上新增上sid相關資訊
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = testcen)
(ORACLE_HOME = /opt/oracle/product/9.2)
(SID_NAME = testcen)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = datasrv2)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
然後重啟庫,再執行:
[oracle@datasrv2 admin]$ ps -ef|grep dbsnmp
oracle 3559 3496 0 09:45 pts/2 00:00:00 grep dbsnmp
可以看到問題已經解決。問題出現原因估計是因為oracle在不能啟動dbsnmp時會不斷重試,從而導致有多個dbsnmp的情況。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/231499/viewspace-63795/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql(mariadb)啟動失敗解決方法MySql
- MQ服務啟動失敗的解決方法MQ
- 監聽啟動失敗解決
- oem啟動失敗的一般解決方法
- 安裝XAMPP時啟動Apache失敗解決方法 xamppApache
- centos 7 新增 nfs 開機啟動失敗解決方法CentOSNFS
- 啟動Tomcat 失敗(Unable to start cluster)及解決方法Tomcat
- hbase啟動失敗問題解決
- mongodb啟動失敗問題解決MongoDB
- anaconda prompt開啟失敗解決方法
- 華為ensp防火牆6000啟動失敗#######的個人解決方法防火牆
- Win10系統啟動Apache失敗的解決方法Win10Apache
- windows10系統下apache啟動失敗的解決方法WindowsApache
- ElasticSearch啟動失敗問題彙總和解決方法Elasticsearch
- win10系統network location awareness啟動失敗解決方法Win10
- vagrant啟動身份驗證失敗的解決方式
- yum安裝mongodb啟動失敗怎麼解決MongoDB
- SVN clean失敗解決方法【轉】
- npm install失敗解決方法NPM
- pyhanlp下載失敗解決方法HanLP
- win10 ghsot啟動失敗怎麼修復_win10 ghsot未能啟動解決方法Win10
- MySQL啟動失敗MySql
- docker啟動失敗Docker
- anaconda安裝失敗解決方法
- Token驗證失敗的解決方法
- 解決方案集錦——Tomcat伺服器啟動失敗Tomcat伺服器
- Windows系統解決PhPStudy MySQL啟動失敗問題WindowsPHPMySql
- docker dm_task_run failed 啟動失敗解決辦法DockerAI
- CentOS 7下MySQL服務啟動失敗的解決思路CentOSMySql
- 安裝GI後重啟作業系統後啟動ASM例項失敗及解決方法作業系統ASM
- nvidia圖形驅動程式安裝失敗解決方法
- tomcat 啟動失敗Tomcat
- npm install安裝失敗解決方法NPM
- 【Python】pydot安裝失敗解決方法Python
- windows update更新失敗報錯解決方法Windows
- win8.1 update更新失敗解決方法
- ElasticSearch 安裝root使用者啟動失敗問題解決Elasticsearch
- WebLogic8的domain啟動失敗解決一例WebAI