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
- anaconda prompt開啟失敗解決方法
- mongodb啟動失敗問題解決MongoDB
- hbase啟動失敗問題解決
- Win10系統啟動Apache失敗的解決方法Win10Apache
- windows10系統下apache啟動失敗的解決方法WindowsApache
- win10系統network location awareness啟動失敗解決方法Win10
- 華為ensp防火牆6000啟動失敗#######的個人解決方法防火牆
- vagrant啟動身份驗證失敗的解決方式
- yum安裝mongodb啟動失敗怎麼解決MongoDB
- pyhanlp下載失敗解決方法HanLP
- anaconda安裝失敗解決方法
- win10 ghsot啟動失敗怎麼修復_win10 ghsot未能啟動解決方法Win10
- 解決方案集錦——Tomcat伺服器啟動失敗Tomcat伺服器
- Windows系統解決PhPStudy MySQL啟動失敗問題WindowsPHPMySql
- nvidia圖形驅動程式安裝失敗解決方法
- 【Python】pydot安裝失敗解決方法Python
- npm install安裝失敗解決方法NPM
- Token驗證失敗的解決方法
- sqlplus啟動失敗SQL
- tomcat 啟動失敗Tomcat
- docker啟動失敗Docker
- MySQL啟動失敗MySql
- easyswoole啟動失敗
- docker dm_task_run failed 啟動失敗解決辦法DockerAI
- ubuntu_24.04 Noble LTS安裝docker desktop啟動無視窗及引擎啟動失敗的解決方法UbuntuDocker
- 關於npm install失敗的解決方法NPM
- kubernetes映象拉取失敗解決方法 ErrImagePull
- Win7 Nginx啟動失敗 cmd命令失敗Win7Nginx
- 三種方法解決docker構建失敗(alpine)Docker
- idea漢化包安裝失敗解決方法Idea
- 遠端連線 Mysql 失敗的解決方法MySql
- Android studio virtual Device 啟動失敗時某個報錯解決方案Androiddev
- Win10系統開啟linux子系統失敗的解決方法Win10Linux
- windows10系統顯示串列埠開啟失敗的解決方法Windows串列埠
- dota2啟動失敗 初始化vulkan失敗
- 對USB驅動下載失敗的解決
- 解決IDEA建立maven工程失敗的一種方法IdeaMaven