Unsolved

This post is more than 5 years old

1 Rookie

 • 

8 Posts

791

December 7th, 2005 02:00

Oracle 8.1.7 Backup

Hi There,
Wanna find out which specific files & associated rights need to be questioned if such an error like 'could not open cmd file' occurs during the backup of an oracle database when invoked from the server side... The script runs just fine but the above mentioned error comes up when the savegrp runs... Thx in advance...

4 Operator

 • 

14.4K Posts

December 7th, 2005 02:00

There several possible files in question:
- rman script
- nsrnmo
- temp location on the Oracle box

nsrnmo will be executed as root if I remember correctly, while rman wille execute RMAN script as oracle user. Could not open can be due to:
- invalid path
- wrong permissions

So, I would start from checking the paths first. That make sure that rman script can be read by oracle user. For test run chmod +xr /path/to/rman/script. Also you can do +rx for nsrnmo. For tmp area for test do 777 (you can add sticky bit if you wish, but I think that is the default these days which is set by OS). If that will help that correct permissions one by one and you will soon trace where your problem was.

4 Operator

 • 

14.4K Posts

December 7th, 2005 02:00

Is this RMAN script? Do you use nsrnmo? If yes having knowledge of how your backup command looks like and nsrnmo would be necessary. RMAN script I believe should be fine (as mannual backup seems to work).

1 Rookie

 • 

8 Posts

December 7th, 2005 02:00

Yep, using rman & nsrnmo for the backup; the only thing that bothers is that the process could not proceed, i believe, due to some restrictions for read/write and maybe ownership rights on a unix platform...

1 Rookie

 • 

8 Posts

December 14th, 2005 01:00

In the end, i've come to the conclusion that a few minor but important issues were preventing the backup from being run smoothly... First of all an oracle passwordfile needs to be created & 'remote_login_passwordfile=exclusive' entry in the initSID.ora file must be allowed for rman user to connect to the database & perform the backup; u might need to grant SYSDBA rights to the rman user as well... Only then u have the chance to invoke the backup from the server... Cheers...

1 Rookie

 • 

8 Posts

December 14th, 2005 02:00

And finally, u might also grant the rman binary with the appropriate rights & ownership...

Top