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

 

[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 system/oracle@tgt1

SQL*Plus: 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吧,

你可能感兴趣的:(Oracle,DB,Linux)