3 Replies Latest reply on Aug 29, 2001 7:44 PM by 3004

    RMAN - fails to create file error

      I am running a backup using rman. The database to be backup resides on another domain of our E10K. RMAN does successfully back up a database which resides on the same domain (a test database). The errors I am getting are below. The errors suggest that they are a caused by file permission errors. I don't understand what user is causing this. Is it the rman user (in this case "sys"). The errors occure when doing a backup to disk or tape (using tivoli).

      Any suggestion would be greatly appreciated.


      RMAN-00569: ================error message stack follows================
      RMAN-03007: retryable error occurred during execution of command: backup
      RMAN-07004: unhandled exception during command execution on channel ch1
      RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
      ORA-19504: failed to create file "/rcat/backups/train/ALEPHTRN361"
      ORA-27040: skgfrcre: create error, unable to create file
      SVR4 Error: 2: No such file or directory x
      ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
      RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE

      ORA-19504 failed to create file "string"

      Cause: Call to create file returned an error.

      Action: Check additional messages and check access permissions.

      ORA-27040 skgfrcre: create error, unable to create file

      Cause: Create system call returned an error, unable to create file.
        • 1. RMAN - fails to create file error

          The error is a OS error, it means it cannot create a file (no free space, no permissions, no tape...) anyway this means the problem is not located on Oracle (sys or system) is the user of operative system.

          Check the permissions where you want to write, a quick way to test this is to use the chmos 777 ;) Anyway BECAREFULL 777 means everybody can do anything, after checking if this is the problem turn the chmod 700 or 770 again ;)

          • 2. RMAN - fails to create file error
            When you have given a backup format , you have given a directory name as part of it.
            RMAN can not create a directory at all.Keep everything ready for RMAN to create a backup file.
            • 3. RMAN - fails to create file error
              Thanks for the replies.
              The directory /rcat/backups/train does exist and an ls command gives that everyone can write to the directory.

              (listing of ls)
              drwxr-xr-x 2 oracle dba 96 Aug 29 15:28 train