配置OMS筆記
RedHat LINUX 9下安裝配置OMS筆記
參考
[@more@]1 以root使用者 xhost +
2 以oracle使用者 export DISPLAY=127.0.0.1
3 為了防止dbca時亂碼 unset LANG 原先設定的是zh_CN.GB18030
4 emca 一路預設即可
5 下載補丁,解決不能啟動agentctl的問題,詳細見後。打補丁前要關閉例項
6 啟動OEMREP庫、啟動OMS服務 、啟動agentct、啟動OEM控制檯
startup OEMREP
nohup oemctl start oms &
agentctl start
oemapp console
oemrep的初始口令sysman/oem_temp
7 新增節點,進行管理 Navigator--> Discovery 輸入IP地址進行掃描
遺留的問題:在linux本機能訪問,在windows平臺不能訪問
Patching Oracle Intelligent Agent on RH AS 3
When you run "agentctl start" (Oracle 9.2.0.4), dbsnmp will crash:
$ su - oracle
$ agentctl start
DBSNMP for Linux: Version 9.2.0.4.0 - Production on 07-JAN-2004 19:11:14
Copyright (c) 2003 Oracle Corporation. All rights reserved.
Starting Oracle Intelligent Agent.../u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1855 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $*
>>$DBSNMP_WDLOGFILE 2>&1
/u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1868 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1880 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1892 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
To resolve this problem, apply the patch p3238244_9204_LINUX.zip from . See bug/patch 3238244 for more information.
Before you apply the patch, make sure the instance is down!
Also make sure the opatch script appears in your $PATH. See for information on getting and installing opatch. To verify if opatch is in your $PATH, run the which command:
$ su - oracle
$ which opatch
/tmp/OPatch/opatch
$
To apply now the patch, run:
$ su - oracle
$ unzip p3238244_9204_LINUX.zip
$ cd 3238244
$ export PATH=$PATH:/sbin # the patch needs "fuser" which is located in /sbin
$ opatch apply
Now you need to relink dbsnmp. This is the binary that crashed when running agentctl start. To find which makefile handles the linking of dbsnmp, you can run:
$ su - oracle
$ find $ORACLE_HOME -name "*.mk" | xargs grep -l dbsnmp
/u01/app/oracle/product/9.2.0/network/lib/ins_oemagent.mk
/u01/app/oracle/product/9.2.0/network/lib/env_oemagent.mk
$
I relinked dbsnmp and all associated executables which are maintained by the ins_oemagent.mk makefile:
$ su - oracle
$ cd $ORACLE_HOME/network/lib
$ make -f ins_oemagent.mk install
Now you should be able to start the agent:
$ su - oracle
$ agentctl start
NOTE: Don't forget to undo the changes (links) to /usr/bin/gcc and /usr/bin/g++ if you don't need it any more. Also don't forget the /etc/ld.so.preload file.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271063/viewspace-912473/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OMS
- webpack配置筆記Web筆記
- Linux 核心配置筆記Linux筆記
- OMS Log Files 位置
- logging模組配置筆記筆記
- webpack手動配置筆記Web筆記
- Swoft 學習筆記之配置筆記
- Git筆記(3) 安裝配置Git筆記
- Elasticsearch的配置學習筆記Elasticsearch筆記
- webpack4 + typescript 配置筆記WebTypeScript筆記
- webpack入門筆記——其他配置Web筆記
- Windows 終端環境配置筆記Windows筆記
- 小程式——app.json配置筆記APPJSON筆記
- webpack學習筆記七:配置babelWeb筆記Babel
- 【筆記】Ubuntu 20.04 快速配置 SSH筆記Ubuntu
- Linux 筆記分享十八:網路配置Linux筆記
- spring上 -基於Xml配置bean筆記SpringXMLBean筆記
- 筆記50-Spring簡介和配置筆記Spring
- 【USB筆記】配置描述符Configuration Descriptor筆記
- Docker筆記(三):Docker安裝與配置Docker筆記
- Flutter與Android混合編碼配置筆記FlutterAndroid筆記
- RealSence 驅動及ROS包配置筆記ROS筆記
- Flutter學習筆記 - 安裝,映象,配置Flutter筆記
- Ansible學習筆記——基礎與配置筆記
- Redis筆記01-Redis配置檔案Redis筆記
- 華為HiCar、DMS人臉識別系統、OMS乘客監控系統等配置
- PVE(Proxmox Virtual Environment) 安裝配置iStoreOS筆記筆記
- AI工程師的筆記本環境配置AI工程師筆記
- Dubbo | Dubbo快速上手筆記 - 環境與配置筆記
- SpringBoot系列之YAML配置用法學習筆記Spring BootYAML筆記
- Spring Boot學習筆記:Spring Boot核心配置Spring Boot筆記
- 筆記:環境 - Mac配置Host域名對映筆記Mac
- Spring Boot 學習筆記(5):日誌配置Spring Boot筆記
- docker筆記5-阿里雲加速配置Docker筆記阿里
- Xamarin 學習筆記 - 配置環境(Windows & iOS)筆記WindowsiOS
- CentOS7.5+PHP5.6.36+Nginx1.14.0配置筆記CentOSPHPNginx筆記
- Redis安裝與配置(學習筆記一)Redis筆記
- Spring Boot 學習筆記(4):配置properties(1)Spring Boot筆記
- Spring Boot 學習筆記(4):配置properties(2)Spring Boot筆記