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

来源:互联网 发布:linux如何拷贝文件夹 编辑:程序博客网 时间:2024/04/28 04:14

 

[oracle@hosta capturefile]$ wrc system/oracle@tgt1 replaydir=/home/oracle/capturefile mode=replayWorkload Replay Client: Release 11.1.0.7.0 - Production on Fri Feb 26 01:48:57 2016Copyright (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@tgt1SQL*Plus: Release 11.1.0.7.0 Production on Fri Feb 26 02:01:23 2016Copyright (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 - ProductionWith the OLAP and Data Mining optionsSQL>


于是就修改了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@tgt1SQL*Plus</a>: Release 11.1.0.7.0 - Production on Fri Feb 26 02:02:54 2016Copyright (c) 1982, 2008, Oracle.  All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> 

 


然后再次运行wrc命令:

[oracle@edsir5p17 admin]$ wrc system/oracle@tgt1 REPLAYDIR=/home/oracle/capturefileWorkload Replay Client: Release 11.1.0.7.0 - Production on Sun Feb 28 20:30:52 2016Copyright (c) 1982, 2007, Oracle.  All rights reserved.Wait for the replay to start (20:30:52) ---->>>出现这个提示,就证明wrc已经作为client登录到db中了。


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

0 0
原创粉丝点击