Database Replay wrc命令报错ORA-15552: workload replay client cannot login to database server

295 篇文章 0 订阅

 

[oracle@hosta capturefile]$ wrc system/oracle@tgt1 replaydir=/home/oracle/capturefile mode=replay

Workload Replay Client: Release 11.1.0.7.0 - Production on Fri Feb 26 01:48:57 2016

Copyright (c) 1982, 2007, Oracle.  All rights reserved.


Errors in file :
ORA-15552: workload replay client cannot login to database server
[oracle@hosta capturefile]$ 

 

 

[oracle@hosta capturefile]$sqlplus system/oracle@tgt1

SQL*Plus: Release 11.1.0.7.0 Production on Fri Feb 26 02:01:23 2016

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

ERROR:

ORA-28002: the password will expire within 7 days ---->>>>带了这个提示?莫非是这个原因?

Connected to:

Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production

With the OLAP and Data Mining options

SQL>


于是就修改了system的密码:

SQL> alter user system identified by oracle;

User altered.

此时再次登录sqlplus,没有ora-28002错误
[oracle@hosta admin]$ sqlplus <a target=_blank href="mailto:system/oracle@tgt1SQL*Plus">system/oracle@tgt1

SQL*Plus</a>: Release 11.1.0.7.0 - Production on Fri Feb 26 02:02:54 2016

Copyright (c) 1982, 2008, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> 

 


然后再次运行wrc命令:

[oracle@edsir5p17 admin]$ wrc system/oracle@tgt1 REPLAYDIR=/home/oracle/capturefile

Workload Replay Client: Release 11.1.0.7.0 - Production on Sun Feb 28 20:30:52 2016

Copyright (c) 1982, 2007, Oracle.  All rights reserved.


Wait for the replay to start (20:30:52) ---->>>出现这个提示,就证明wrc已经作为client登录到db中了。


总结:
密码快要到期的user,居然无法登陆wrc.这估计是算一个bug吧,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值