A.6 Workarounds for Issues not fixed in this Release

Perform the following procedure to check and create backup directory.

Note:

If this procedure fails, contact My Oracle Support (MOS).
  1. Determine if backup directory is created:
    1. Run the following command on console of Active NOAM/SOAM server (accessed via the VIP) and compare the output:
      $ cd /var/TKLC/db/filemgmt/
      $ ls -ltr
    2. Look for backup directory in the output.
    3. Check if directory is already created with correct permission and directory will look like:
      drwxrwx--- 2 awadmin awadm 4096 Dec 19 02:15 backup
    4. In case, directory is already there with right permissions then skip step 2 and 3.
    5. If directory is not with right permissions then run step 3 otherwise go to next step.
  2. NOAM/SOAM VIP console change permissions of backup directory:
    1. Assuming present working directory exists in /var/TKLC/db/filemgmt/ if not run
      cd /var/TKLC/db/filemgmt/
    2. Create backup directory using the following command:
      $mkdir backup
    3. Verify if directory is created:
      $ ls -ltr /var/TKLC/db/filemgmt/backup

      Error should not appear, "No such file or directory". Rather it will show the directory, as directory will be empty it will show total 0 as content.

  3. Assuming present working directory is /var/TKLC/db/filemgmt/ Otherwise run:
    cd /var/TKLC/db/filemgmt/
    1. Create backup directory:
      # $mkdir backup
    2. Verify if directory is created
      $ ls -ltr/var/TKLC/db/filemgmt/backup

      Error should not appear, "No such file or directory". Rather it will show the directory, as directory will be empty it will show total 0 as content.

  4. Assuming backup directory is created.
    1. Verify directory is created:
      $ ls -ltr/var/TKLC/db/filemgmt/backup

      Error should not appear, "No such file or directory". Rather it will show the directory, as directory will be empty it will show total 0 as content.

    2. If directory is not created proceed to step 2.
    3. Change permissions of backup directory running the following command:
      $ chmod 770 /var/TKLC/db/filemgmt/backup
    4. Change ownership of backup directory
      $ sudo chown -R awadmin:awadm /var/TKLC/db/filemgmt/backup After changing the permissions and ownership of the backup directory.
    5. Directory will look like:
      drwxrwx--- 2 awadmin awadm 4096 Dec 22 02:15 backup
  5. Copy the backup file to backup directory:
    $ cp BACKUPFILE /var/TKLC/db/filemgmt/backup.
    1. Provide permissions to backup file inside backup directory.
    2. Ensure present working directory $cd /var/TKLC/db/filemgmt/backup.
    3. Change permissions of files inside backup directory $chmod 666.
    4. Change ownership of files inside backup directory.
      $ sudo chown -R awadmin:awadm Backup.*