[oracle@host capture]$ wrc system/oracle@db1 REPLAYDIR=/home/oracle/cap_dir/
Workload Replay Client: Release 11.1.0.7.0 - Production on Sun Jul 19 17:16:56 2015
Copyright (c) 1982, 2007, Oracle. All rights reserved.
The client could not open 'wcr_login.pp' for login queue at directory '/home/oracle/cap_dir/'
Errors in file :
ORA-15557: workload replay client cannot access the replay directory or the database version do not match the preprocessing one
[oracle@host capture]$ cd /home/oracle/cap_dir
-bash: cd: /home/oracle/scripts/cap_dir: No such file or directory
[oracle@host capture]$
原来是目录写错了。。。正确的目录是REPLAYDIR=/home/oracle/capture