Oracle10g EM 无法登录出现调试出现一系列问题的调试。

实际操作成功过,真实有效。

友情提示:对于多网卡机器上安装Oracle 10g时,最好先关闭网络然后安装。

Oracle 10g 中的 EM 采用 Web 的形式来管理数据库及相关服务,但使用过程中会碰到一些跟 EM 有关的问题,根据同行的提示及笔者多次调试。
1 )数据库控制台启动后,看到 1 数据库实例无信息 2 )监听程序为状态为不可用 3 )到实例的代理连接状态为不可用。
问题分析:
此时服务刚启动,还没有到位
解决办法:
过会再刷新。此时可能会看到 1 )数据库实例有相关信息2)监听程序有信息但状态为关闭3)到实例的代理连接状态为失败,并提示 ORA-12541: TNS: 无监听程序 (DBD ERROR: OCIServerAttach)。原因可能是监听服务没启动。
2 Io 异常 : The Network Adapter could not establish the connection
问题分析:
在改变了 ip 或计算机名的情况下出现,一般是监听服务有问题。
解决办法:
第一步、用 emca –config dbcontrol db 命令从新配置一下 em 的 database control ;
第二步、在 ie 中输入 http://oracl_hostname:5500/em/ (是 5500 端口,而不是 1158 端口)看看是否运行正常,如不正常,接着按问题( 3 )的解决方法进行处理。
3 )对于多网卡,或改变 ip 的情况,控制台出现如下情况:
1)监听程序TNS-12541: TNS: 无监听程序
2)到实例的代理连接ORA-12541: TNS: 无监听程序 (DBD ERROR: OCIServerAttach)
解决办法:
修改Network Configuration File: %ORACLE_HOME%\network\admin\下的tnsnames.ora和listener.ora, 把其中的HOST=后的主机名或ip改为当前的主机名或ip,并重新启动监听服务。 之后刷新控制台页面,会看到监听程序已经启动,但可能会出现下面的提示“ ORA-12505: TNS: 监听程序当前无法识别连接描述符中所给出的 SID (DBD ERROR: OCIServerAttach)”,没关系,多刷新几次即可看到到实例的代理连接成功的信息。
4 java.lang.Exception: IOException in sending Request :: Connection refused: connect
问题分析:
控制台上刷新的时候常见,原因不详,好像没有什么影响。
解决办法:
多次刷新就可以解决。
5 Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=LHL)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
问题分析:
可能是数据库实例没有启动;
解决办法:
查看 数据库实例服务是否启动。
(6) 在oracle 10g OEM中有些操作需要输入操作系统的用户名密码才能继续下去,但是无论怎样输入,总是会返回RemoteOperationException: ERROR: Wrong password for user.(错误的用户名密码)的错误。
解决的方法就是在用户策略里面将你需要使用的用户授予Logon as a Batch Job的权限。
1. Click on START => Programs => Administrative Tools => Local Security Policy (or also via START => Settings => Control Panel => Administrative Tools) 打开控制面板中的管理工具中的本地安全策略
2. Under Local Policies on the left, select User Rights Assignment folder
然后是本地策略-用户权限分配
3. Look at the right side of the window and scroll down to the "Logon as Batch Job" privilege and select it. 然后找到Logon as a Batch Job(作为批处理作业登陆)这一项
4. Either select Action from the menu bar then Security or right-click on the "Logon as a Batch Job" privilege then Security.
5. Select the Add button which evokes a Select Users/Groups box.
6. From the "Look In" field, select the local workstation/server.
7. Select the User administrator.
8. Select Add then OK.
然后打开将administrator这个用户添加一下就ok了!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值