首页 > 代码库 > EM工具

EM工具

启动监听时发生下面的错误:

[oracle@wt ~]$ lsnrctl start


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2016 02:35:12


Copyright (c) 1991, 2009, Oracle.  All rights reserved.


Starting /u01/11g/product/11.2.0/bin/tnslsnr: please wait...


TNSLSNR for Linux: Version 11.2.0.1.0 - Production

System parameter file is /u01/11g/product/11.2.0/network/admin/listener.ora

Log messages written to /u01/11g/diag/tnslsnr/wt/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

TNS-12533: TNS:illegal ADDRESS parameters

 TNS-12560: TNS:protocol adapter error

  TNS-00503: Illegal ADDRESS parameters



Listener failed to start. See the error message(s) above...


查看是否连接网络,关闭防火墙。

修改:vim /etc/hosts再末尾添加ip地址及用户名,例如10.0.0.1 jz

然后重启网络服务:[root@wt Desktop]# /etc/init.d/network restart

                  [root@wt Desktop]# ifup eth0

再重新启动监听:[oracle@wt ~]$ lsnrctl start

[oracle@wt ~]$ emctl start dbconsole  //启动EM工具时出现如下错误

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name. 

则:[oracle@wt ~]$ emca -config dbcontrol db -repos recreate  //配置EM工具

Database SID: ora11g  //ora11g是SID,可用show parameter instance_name 查询

Listener port number: 1521   //监听端口号

Listener ORACLE_HOME [ /u01/11g/product/11.2.0 ]:  //邮箱,可直接enter略过

Password for SYS user:     //密码,一般以下三个密码都是同一个

Password for DBSNMP user:  

Password for SYSMAN user:     

Do you wish to continue? [yes(Y)/no(N)]: y

然后再重新启动:[oracle@wt ~]$ emctl start dbconsole

之后在客户端上访问:https://10.0.0.1:1158/em/console

出现端口后选择:I Understand the risks--add exception--confirm security exception--添用户名和密码

浏览器汉化:edit---preferences---content--languages   choose--select a language to add





本文出自 “11725172” 博客,请务必保留此出处http://11735172.blog.51cto.com/11725172/1885957

EM工具