Amazon books

Wednesday, October 3, 2012

ORA-15505: cannot start workload capture because instance 1 encountered errors

When starting CAPTURE got this error:

SYS@dborig> BEGIN
dbms_workload_capture.start_capture(UNISTR('CAPTURE-dborig-20120908132124'), UNISTR('DATA_PUMP_DIR'), NULL, 'INCLUDE', FALSE);
END;  2    3 
  4  /
BEGIN
*
ERROR at line 1:
ORA-15505: cannot start workload capture because instance 1 encountered errors
while accessing directory "/u01/app/oracle/product/11.2.0/db_1/rdbms/log/"
ORA-06512: at "SYS.DBMS_WORKLOAD_CAPTURE", line 811
ORA-06512: at line 2

---SOLUTION:
Create a new DIRECTORY object in an empty directory on your file system.

Run dbms_workload_capture.start_capture again.

Best Regards,
Paulo Portugal

No comments:

Post a Comment