ORACLE相关内容
2009-03-03 11:28
288 查看
1) em,dbca,netca,netmgr出现乱码方案:
$cd $ORACLE_HOME/JRE/lib
$mv font.properties font.properties.bak
$mv font.properties.zh font.properties
Ⅰ)em,dbca,netca,netmgr详细说明:
em使用说明:
emctl start dbconsole
emctl stop dbconsole
EM如果未安装,可以通过重新配置,来创建EM的配置文件
①首先检查是否已经安装
②创建EM的配置文件:
③配置完成之后就可以启动EM了:
④重新启动防火墙之后就可以通过IE在远端连接EM的Database Control了:
$cd $ORACLE_HOME/JRE/lib
$mv font.properties font.properties.bak
$mv font.properties.zh font.properties
Ⅰ)em,dbca,netca,netmgr详细说明:
em使用说明:
emctl start dbconsole
emctl stop dbconsole
EM如果未安装,可以通过重新配置,来创建EM的配置文件
①首先检查是否已经安装
[oracle@test126 ~]$ emctl start EM Configuration issue. /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd not found.
②创建EM的配置文件:
[oracle@test126 11.1.0]$ emca -config dbcontrol db -repos recreate STARTED EMCA at Aug 28, 2007 11:54:40 AM EM Configuration Assistant, Version 11.1.0.5.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: dodd Listener port number: 1521 Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Password for SYSMAN user: Email address for notifications (optional): eygle@eygle.com Outgoing Mail (SMTP) server for notifications (optional): ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME ................ /opt/oracle/product/11.1.0 Local hostname ................ test126.hurray.com.cn Listener port number ................ 1521 Database SID ................ dodd Email address for notifications ............... eygle@eygle.com Outgoing Mail (SMTP) server for notifications ............... ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: Y Aug 28, 2007 11:56:58 AM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/dodd/emca_2007_08_28_11_54_40.log. Aug 28, 2007 11:57:01 AM oracle.sysman.emcp.EMReposConfig invoke INFO: Dropping the EM repository (this may take a while) ... Aug 28, 2007 11:57:16 AM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully dropped Aug 28, 2007 11:57:16 AM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Aug 28, 2007 12:08:35 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Aug 28, 2007 12:08:47 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository INFO: Uploading configuration data to EM repository (this may take a while) ... Aug 28, 2007 12:11:45 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Uploaded configuration data successfully Aug 28, 2007 12:11:51 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib INFO: Software library configured successfully. Aug 28, 2007 12:11:51 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary INFO: Deploying Provisioning archives ... Aug 28, 2007 12:12:13 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary INFO: Provisioning archives deployed successfully. Aug 28, 2007 12:12:13 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Aug 28, 2007 12:12:39 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Database Control secured successfully. Aug 28, 2007 12:12:39 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://test126.hurray.com.cn:1158/em <<<<<<<<<<< Aug 28, 2007 12:14:16 PM oracle.sysman.emcp.EMDBPostConfig invoke WARNING: ************************ WARNING ************************ Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost. *********************************************************** Enterprise Manager configuration completed successfully FINISHED EMCA at Aug 28, 2007 12:14:16 PM
③配置完成之后就可以启动EM了:
[oracle@test126 11.1.0]$ emctl start dbconsole Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://test126.hurray.com.cn:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 11g Database Control ........ started. ------------------------------------------------------------------ Logs are generated in directory /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/log 如果是Linux环境,你可能还需要在iptables中开放1158端口,增加如下一行: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1158 -j ACCEPT
④重新启动防火墙之后就可以通过IE在远端连接EM的Database Control了:
[root@test126 sysconfig]# service iptables restart Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: [ OK ] Applying iptables firewall rules: [ OK ] Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]
相关文章推荐
- lr脚本中oracle 2tier虚拟用户相关内容
- oracle 权限相关内容总结
- 开始记日志,主要是linux和oracle ERP 相关的内容
- 【转】oracle job相关内容
- Oracle常用的group by相关内容(rollup、cube、grouping sets)
- Oracle 10gR2 Psu 相关
- 面试知识相关内容-(1)
- Ubuntu安装Oracle 12c过程及相关问题解决
- jdbc连接mysql相关内容
- oracle官方文档之和体系结构相关的文档
- Oracle - Log buffer 的相关设置
- IOS学习 nib加载相关内容(1)
- GMS相关内容
- 平衡树及其相关内容的学习和研究
- 在线教育相关内容总结
- Oracle相关技术
- Java Calendar,Date,DateFormat,TimeZone,Locale等时间相关内容的认知和使用(1) Calendar
- 揭开ORACLE控制文件内容的神秘面纱
- 在WORD中使用宏达到 找到指定某一位置的内容后 做相关操作。
- Oracle 相关的专业术语 说明