cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle RAC backups failing with Error code 6

doofooscious
Level 3

Oracle rac backups have been failing with error , however, user directed backups are completing successfully.

 

Can anyone please help me out with this?

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

"user directed backups are completing successfully"

Please double-check the backup script - ensure that root can run the script and that it contains 'su - oracle-user'.  (See the sample scripts for example.)

The difference between server- and user-initiated backups:

user-initiated: script is run as oracle user with all the correct permissions and environment variables.

server-initiated: master connects to client-name in policy (which should be a virtual hostname) with instruction to run the script. The script is executed as root. So, 'su - ...' in the script is a must.

View solution in original post

5 REPLIES 5

Will_Restore
Level 6

check the RMAN output for the real problem; also review dbclient log on the client

Will_Restore
Level 6

In a clustered environment, failure to connect to the database can mean a problem with the network configuration. The browser must connect locally. However, in some environments, all connections are considered to be remote connections, even a connection to a local database. This behavior is true for example in an Oracle Real Application Clusters (RAC) environment. In such cases, you must make the connection using a TNS alias.

http://www.symantec.com/docs/HOWTO44799
 

Marianne
Level 6
Partner    VIP    Accredited Certified

"user directed backups are completing successfully"

Please double-check the backup script - ensure that root can run the script and that it contains 'su - oracle-user'.  (See the sample scripts for example.)

The difference between server- and user-initiated backups:

user-initiated: script is run as oracle user with all the correct permissions and environment variables.

server-initiated: master connects to client-name in policy (which should be a virtual hostname) with instruction to run the script. The script is executed as root. So, 'su - ...' in the script is a must.

Michael_G_Ander
Level 6
Certified

We had a case on oracle backup where we need to make a special connect string for RMAN because there was implemented a connection server. Think RAC also uses this function

Just checked our tnsnames.ora file, we have a service with server shared for logons and a service with server dedicated for rman

Regards

Michael

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

Will_Restore
Level 6

did any of this help?