Got it

How Do I Place an Oracle Database Log File to a Self-Defined Directory?

Latest reply: Apr 4, 2016 11:24:22 1159 1 0 0 0

How Do I Place an Oracle Database Log File to a Self-Defined Directory?

1. Log in to the SUSE Linux operating system as the root user.
2. Change the owner directory of the self-defined directory (for example, /log/for/oracle/) to oracle. The self-defined directory must exist.
# chown -R oracle:dba /log/for/oracle/
3. Ensure that you can open the directory using the oracle account, and has read and write permissions. If not, run the following command:
# chmod 700 /log/for/oracle/
# chmod 755 /log/for/
# chmod 755 /log/
4. Switch to the oracle user and run the following commands in SQLPLUS:
# su - oracle
$ sqlplus / as sysdba
> alter system set log_archive_duplex_dest='/log/for/oracle/' scope=both;
5. Check the result.
> archive log listIf the Archive destination field displays as /log/for/oracle/, the setting is successful.

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.