Error ORA-01284 Is Reported When An Oracle Job Is Started
Symptom
Error at database tier, Please check : java.sql.SQLException: ORA-01284: file /oracle/database/dictionary.ora cannot be opened ORA-06512: at "SYS.DBMS_LOGMNR", line 58 ORA-06512: at line 2
Possible Cause
For databases of certain versions, dictionary_location needs to be manually specified.
Troubleshooting Method
Manually create the /oracle/database/ directory and grant permissions to database users. Set the initialization parameter UTL_FILE_DIR and restart the database.
Procedure
- Log in to the active node as user root and run the following command to create a directory:
mkdir -p /oracle/database/
- Run the following command to grant permissions (ensure that upper-layer directories also have the corresponding permissions. Permissions of database users and groups vary based on the site requirements):
- Run the following command to modify the database parameters. The value of sid depends on the actual situation.
alter system set UTL_FILE_DIR='/oracle/database/dictionary.ora' scope=spfile sid='orcl';
- Restart the database.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot